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

Method GetDriverHandle

headers/openvr_api.cs:4315–4321  ·  view source on GitHub ↗
(string pchDriverName)

Source from the content-addressed store, hash-verified

4313 return result;
4314 }
4315 public ulong GetDriverHandle(string pchDriverName)
4316 {
4317 IntPtr pchDriverNameUtf8 = Utils.ToUtf8(pchDriverName);
4318 ulong result = FnTable.GetDriverHandle(pchDriverNameUtf8);
4319 Marshal.FreeHGlobal(pchDriverNameUtf8);
4320 return result;
4321 }
4322 public bool IsEnabled(uint nDriver)
4323 {
4324 bool result = FnTable.IsEnabled(nDriver);

Callers 1

VRDriverHandleMethod · 0.80

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected