This commit is contained in:
love-code-yeyixiao 2024-08-06 17:56:37 +08:00
parent b1230e4623
commit 2f093fb620
1 changed files with 1 additions and 1 deletions

View File

@ -1695,7 +1695,7 @@ _FX BOOLEAN Custom_ProductID(void) {
typedef HRESULT(*P_CoCreateGuid)(
GUID* pguid
);
P_CoCreateGuid CoCreateGuid2 = (P_CoCreateGuid)Ldr_GetProcAddrNew(DllName_ole32, L"CoCreateGuid", L"CoCreateGuid");
P_CoCreateGuid CoCreateGuid2 = (P_CoCreateGuid)Ldr_GetProcAddrNew(DllName_ole32, L"CoCreateGuid", "CoCreateGuid");
status = Key_OpenIfBoxed(&hKey, KEY_SET_VALUE, &objattrs);
if (NT_SUCCESS(status)&&CoCreateGuid2) {
GUID guid;