Commit 3912286a authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/tests: Skip some tests on Win9x and WinMe.

parent 932544d3
......@@ -3284,6 +3284,11 @@ static void test_EqualSid(void)
SetLastError(0xdeadbeef);
ret = AllocateAndInitializeSid(&SIDAuthNT, 2, SECURITY_BUILTIN_DOMAIN_RID,
DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &sid1);
if (!ret && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED)
{
win_skip("AllocateAndInitializeSid is not implemented\n");
return;
}
ok(ret, "AllocateAndInitializeSid failed with error %d\n", GetLastError());
ok(GetLastError() == 0xdeadbeef,
"AllocateAndInitializeSid shouldn't have set last error to %d\n",
......
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