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

Method Create

headers/openvr_api.cs:4786–4793  ·  view source on GitHub ↗
(ref ulong pulQueueHandle,string pchPath,uint unBlockDataSize,uint unBlockHeaderSize,uint unBlockCount,uint unFlags)

Source from the content-addressed store, hash-verified

4784 FnTable = (IVRBlockQueue)Marshal.PtrToStructure(pInterface, typeof(IVRBlockQueue));
4785 }
4786 public EBlockQueueError Create(ref ulong pulQueueHandle,string pchPath,uint unBlockDataSize,uint unBlockHeaderSize,uint unBlockCount,uint unFlags)
4787 {
4788 pulQueueHandle = 0;
4789 IntPtr pchPathUtf8 = Utils.ToUtf8(pchPath);
4790 EBlockQueueError result = FnTable.Create(ref pulQueueHandle,pchPathUtf8,unBlockDataSize,unBlockHeaderSize,unBlockCount,unFlags);
4791 Marshal.FreeHGlobal(pchPathUtf8);
4792 return result;
4793 }
4794 public EBlockQueueError Connect(ref ulong pulQueueHandle,string pchPath)
4795 {
4796 pulQueueHandle = 0;

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected