[PATCH 0/1] MR306: reg: Add REG_QWORD support to 'add'.
Hugh McMaster (@hmc)
wine at gitlab.winehq.org
Fri Jun 24 07:46:45 CDT 2022
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.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/306#note_2639
More information about the wine-devel
mailing list