Module: wine Branch: master Commit: 1833dc0b2daf89bdf21adf1f943771f01b4c43ec URL: https://gitlab.winehq.org/wine/wine/-/commit/1833dc0b2daf89bdf21adf1f943771f...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Feb 22 04:26:13 2023 +0100
mmdevapi/tests: WoW64 processes can read the properties from the registry.
Since Windows 10 2004 so consider the old limitation to be broken.
---
dlls/mmdevapi/tests/propstore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/mmdevapi/tests/propstore.c b/dlls/mmdevapi/tests/propstore.c index 89eaada5fd7..bbefd5a9ead 100644 --- a/dlls/mmdevapi/tests/propstore.c +++ b/dlls/mmdevapi/tests/propstore.c @@ -183,7 +183,9 @@ static void test_setvalue_on_wow64(IPropertyStore *store)
/* should NOT find the key in 32-bit view */ ret = RegOpenKeyExW(HKEY_LOCAL_MACHINE, software_renderW, 0, KEY_READ, &root); - ok(ret == ERROR_FILE_NOT_FOUND, "Wrong error when opening mmdevices Render key: %lu\n", ret); + todo_wine + ok(ret == 0 || broken(ret == ERROR_FILE_NOT_FOUND /* win10 < 2004 */), + "Wrong error when opening mmdevices Render key: %lu\n", ret); }
START_TEST(propstore)