MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / CreateDashboardOverlay

Method CreateDashboardOverlay

headers/openvr_api.cs:3750–3760  ·  view source on GitHub ↗
(string pchOverlayKey,string pchOverlayFriendlyName,ref ulong pMainHandle,ref ulong pThumbnailHandle)

Source from the content-addressed store, hash-verified

3748 return result;
3749 }
3750 public EVROverlayError CreateDashboardOverlay(string pchOverlayKey,string pchOverlayFriendlyName,ref ulong pMainHandle,ref ulong pThumbnailHandle)
3751 {
3752 IntPtr pchOverlayKeyUtf8 = Utils.ToUtf8(pchOverlayKey);
3753 IntPtr pchOverlayFriendlyNameUtf8 = Utils.ToUtf8(pchOverlayFriendlyName);
3754 pMainHandle = 0;
3755 pThumbnailHandle = 0;
3756 EVROverlayError result = FnTable.CreateDashboardOverlay(pchOverlayKeyUtf8,pchOverlayFriendlyNameUtf8,ref pMainHandle,ref pThumbnailHandle);
3757 Marshal.FreeHGlobal(pchOverlayKeyUtf8);
3758 Marshal.FreeHGlobal(pchOverlayFriendlyNameUtf8);
3759 return result;
3760 }
3761 public bool IsDashboardVisible()
3762 {
3763 bool result = FnTable.IsDashboardVisible();

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected