Damjan Jovanovic dj015@yahoo.com writes:
classKey = SetupDiOpenClassRegKeyExW(&guid, KEY_ALL_ACCESS,
DIOCR_INSTALLER, NULL, NULL);
/* wine does incorrectly return FALSE, so ... */
ok(classKey != FALSE && classKey != INVALID_HANDLE_VALUE,
"failed opening class key, error %ld\n", GetLastError());
Tests are not supposed to cope with Wine bugs, that defeats the whole purpose of the test. If returning FALSE is wrong then the test should fail in that case.