Commit d25af3c2 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

mmdevapi/tests: Use RegQueryValueExW() for compatibility with Windows XP.

RegGetValueW() was added later and should be avoided in the conformance tests. Signed-off-by: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAndrew Eikum <aeikum@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c79236b8
......@@ -173,7 +173,7 @@ static void test_setvalue_on_wow64(IPropertyStore *store)
/* Note: the registry key exists even without calling IPropStore::Commit */
size = sizeof(regval);
ret = RegGetValueW(props, NULL, bogusW, RRF_RT_DWORD, &type, &regval, &size);
ret = RegQueryValueExW(props, bogusW, NULL, &type, (LPBYTE)&regval, &size);
ok(ret == ERROR_SUCCESS, "Couldn't get bogus propertykey value: %u\n", ret);
ok(type == REG_DWORD, "Got wrong value type: %u\n", type);
ok(regval == 0xAB, "Got wrong value: 0x%x\n", regval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment