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

Method GetApplicationProcessId

headers/openvr_api.cs:2792–2798  ·  view source on GitHub ↗
(string pchAppKey)

Source from the content-addressed store, hash-verified

2790 return result;
2791 }
2792 public uint GetApplicationProcessId(string pchAppKey)
2793 {
2794 IntPtr pchAppKeyUtf8 = Utils.ToUtf8(pchAppKey);
2795 uint result = FnTable.GetApplicationProcessId(pchAppKeyUtf8);
2796 Marshal.FreeHGlobal(pchAppKeyUtf8);
2797 return result;
2798 }
2799 public string GetApplicationsErrorNameFromEnum(EVRApplicationError error)
2800 {
2801 IntPtr result = FnTable.GetApplicationsErrorNameFromEnum(error);

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected