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

Method GetApplicationPropertyString

headers/openvr_api.cs:2804–2810  ·  view source on GitHub ↗
(string pchAppKey,EVRApplicationProperty eProperty,System.Text.StringBuilder pchPropertyValueBuffer,uint unPropertyValueBufferLen,ref EVRApplicationError peError)

Source from the content-addressed store, hash-verified

2802 return Marshal.PtrToStringAnsi(result);
2803 }
2804 public uint GetApplicationPropertyString(string pchAppKey,EVRApplicationProperty eProperty,System.Text.StringBuilder pchPropertyValueBuffer,uint unPropertyValueBufferLen,ref EVRApplicationError peError)
2805 {
2806 IntPtr pchAppKeyUtf8 = Utils.ToUtf8(pchAppKey);
2807 uint result = FnTable.GetApplicationPropertyString(pchAppKeyUtf8,eProperty,pchPropertyValueBuffer,unPropertyValueBufferLen,ref peError);
2808 Marshal.FreeHGlobal(pchAppKeyUtf8);
2809 return result;
2810 }
2811 public bool GetApplicationPropertyBool(string pchAppKey,EVRApplicationProperty eProperty,ref EVRApplicationError peError)
2812 {
2813 IntPtr pchAppKeyUtf8 = Utils.ToUtf8(pchAppKey);

Callers

nothing calls this directly

Calls 1

ToUtf8Method · 0.80

Tested by

no test coverage detected