mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-11 17:57:19 +10:00
Updated manager and added appx manifest reader.
This commit is contained in:
@@ -915,4 +915,10 @@ BOOL IsMsResourceUri (LPCWSTR pResUri)
|
||||
try { Uri ^uri = gcnew Uri (gcnew String (pResUri ? pResUri : L"")); delete uri; }
|
||||
catch (Exception ^e) { return false; }
|
||||
return true;
|
||||
}
|
||||
|
||||
void PriFormatFreeString (LPWSTR lpStrFromThisDll)
|
||||
{
|
||||
if (!lpStrFromThisDll) return;
|
||||
free (lpStrFromThisDll);
|
||||
}
|
||||
@@ -73,6 +73,8 @@ extern "C" {
|
||||
PRIFORMATCLI_API BOOL IsMsResourceUriFull (LPCWSTR pResUri);
|
||||
// 工具函数,用于判断是否为 MS-Resource URI
|
||||
PRIFORMATCLI_API BOOL IsMsResourceUri (LPCWSTR pResUri);
|
||||
// 工具函数,用于释放本地 DLL 返回的字符串
|
||||
PRIFORMATCLI_API void PriFormatFreeString (LPWSTR lpStrFromThisDll);
|
||||
#ifdef _DEFAULT_VALUE_SET
|
||||
#undef _DEFAULT_VALUE_SET
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user