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

This commit is contained in:
Paul Vriens 2007-03-29 21:33:11 +02:00 committed by Alexandre Julliard
parent 33b8ec1cb5
commit 81a95ff6ee
1 changed files with 6 additions and 1 deletions

View File

@ -1709,7 +1709,12 @@ static void test_SetEntriesInAcl(void)
DWORD res;
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);
}