Commit 81a95ff6 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

advapi32/tests: Add check to see if SetEntriesInAclW is implemented.

parent 33b8ec1c
...@@ -1709,7 +1709,12 @@ static void test_SetEntriesInAcl(void) ...@@ -1709,7 +1709,12 @@ static void test_SetEntriesInAcl(void)
DWORD res; DWORD res;
res = SetEntriesInAclW(0, NULL, NULL, &acl); res = SetEntriesInAclW(0, NULL, NULL, &acl);
ok(res == ERROR_SUCCESS, "SetEntriesInAcl failed: %u\n", res); if(res == ERROR_CALL_NOT_IMPLEMENTED)
{
skip("SetEntriesInAclW is not implemented\n");
return;
}
ok(res == ERROR_SUCCESS, "SetEntriesInAclW failed: %u\n", res);
ok(acl == NULL, "acl=%p, expected NULL\n", acl); ok(acl == NULL, "acl=%p, expected NULL\n", acl);
} }
......
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