29 Oct
2025
29 Oct
'25
7:04 a.m.
Nikolay Sivov (@nsivov) commented about dlls/ntdll/tests/reg.c:
+ break; + } + + ok(!status, "NtEnumerateKey failed, status %#lx\n", status); + if (status) + break; + + info->Name[info->NameLength / sizeof(WCHAR)] = 0; + + if (i < expected_count) + { + match = !wcscmp(info->Name, expected_names[i]); + ok(match, "Expected subkey[%d] '%S', got '%S'\n", + i, expected_names[i], info->Name); + } + } This could be a helper, but probably not critical, since it's used only twice so far.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9303#note_119943