Huw Davies (@huw) commented about dlls/advapi32/tests/registry.c:
DeleteFileA("saved_key.LOG");
}
-/* tests that show that RegConnectRegistry and +static void test_reg_load_app_key(void) +{
- DWORD ret;
- DWORD size1;
- DWORD size2;
- char hivefilepath[MAX_PATH];
- HANDLE hivefile;
- HKEY childkey;
- HKEY key1 = NULL;
- GetTempFileNameA(temppath, "saved_app_key", 0, hivefilepath);
Note, `GetTempFileName()` only uses the first three characters of the string.