| 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); |