Hugh McMaster (@hmc) commented about programs/reg/tests/add.c:
+static void test_reg_qword(void) +{
- DWORD r, type, size;
- UINT64 qword;
- HKEY hkey;
- LONG err;
- add_key(HKEY_CURRENT_USER, KEY_BASE, 0, &hkey);
- run_reg_exe("reg add HKCU\" KEY_BASE " /t REG_QWORD /f /d 0x123456789abcdef", &r);
- ok(r == REG_EXIT_SUCCESS, "Unexpected exit code %ld.\n", r);
- qword = 0x123456789abcdef;
- if (r == REG_EXIT_SUCCESS)
verify_reg(hkey, "", REG_QWORD, &qword, sizeof(qword), 0);
- else
win_skip("broken reg.exe detected\n");
Do you know which Windows systems still require this workaround? From memory, it was XP.