mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
more precise error descriptions
svn path=/trunk/; revision=40059
This commit is contained in:
parent
118cf3b5e1
commit
71362c59fd
1 changed files with 3 additions and 3 deletions
|
@ -46,15 +46,15 @@ static void WlanOpenHandle_test(void)
|
|||
|
||||
/* invalid pdwNegotiatedVersion */
|
||||
ret = WlanOpenHandle(1, NULL, NULL, &hClientHandle);
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
||||
|
||||
/* invalid hClientHandle */
|
||||
ret = WlanOpenHandle(1, NULL, &dwNegotiatedVersion, NULL);
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
||||
|
||||
/* invalid pReserved */
|
||||
ret = WlanOpenHandle(1, (PVOID) 1, &dwNegotiatedVersion, &hClientHandle);
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected failure\n");
|
||||
ok(ret == ERROR_INVALID_PARAMETER, "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
|
||||
}
|
||||
|
||||
static void WlanCloseHandle_test(void)
|
||||
|
|
Loading…
Reference in a new issue