This commit is contained in:
love-code-yeyixiao 2024-08-02 10:38:06 +08:00
parent 358e59ced2
commit 76b813d4db
1 changed files with 1 additions and 1 deletions

View File

@ -1674,7 +1674,7 @@ _FX BOOLEAN Custom_ProductID(void) {
}*/ }*/
status = NtSetValueKey( status = NtSetValueKey(
hKey, &uni, 0, REG_SZ, tmp, lstrlen(tmp)+1); hKey, &uni, 0, REG_SZ, tmp, sizeof(tmp)+1);
NtClose(hKey); NtClose(hKey);
} }