mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-20 02:34:42 +10:00
Coding for Package Manager.
This commit is contained in:
@@ -218,6 +218,12 @@ namespace NativeWrappers
|
||||
}
|
||||
return s;
|
||||
}
|
||||
public static string GetStringFromPkgRead (IntPtr nativePtr)
|
||||
{
|
||||
if (nativePtr == IntPtr.Zero) return null;
|
||||
string s = Marshal.PtrToStringUni (nativePtr);
|
||||
return s;
|
||||
}
|
||||
|
||||
public static string PtrToStringNoFree (IntPtr nativePtr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user