mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:03:00 +00:00
[ADVAPI32_APITEST] Open services & SCM handles with correct access rights; improve a check order.
This commit is contained in:
parent
509dd4e645
commit
5f4a4b35e6
2 changed files with 12 additions and 7 deletions
|
@ -77,8 +77,8 @@ static void Test_LockUnlockServiceDatabase(void)
|
|||
|
||||
SetLastError(0xdeadbeef);
|
||||
hLock = LockServiceDatabase(hScm);
|
||||
ok(hLock != NULL, "hLock = 0x%p, expected non-zero\n", hLock);
|
||||
ok_err(ERROR_SUCCESS);
|
||||
ok(hLock != NULL, "hLock = 0x%p, expected non-zero\n", hLock);
|
||||
|
||||
/* Now unlock it */
|
||||
if (hLock)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue