diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c index 5bacb1bde43..e86208fdd09 100644 --- a/dlls/advapi32/tests/service.c +++ b/dlls/advapi32/tests/service.c @@ -1561,6 +1561,7 @@ static void test_enum_svc(void) neededW = 0xdeadbeef; ret = pEnumServicesStatusExW(scm_handle, 0, SERVICE_WIN32, SERVICE_STATE_ALL, NULL, 0, &neededW, &returnedW, NULL, NULL); + ok(!ret, "Expected failure\n"); ok(neededW == needed, "Expected needed buffersize to be the same for A- and W-calls\n"); /* Store the needed bytes */