mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +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 */
|
/* invalid pdwNegotiatedVersion */
|
||||||
ret = WlanOpenHandle(1, NULL, NULL, &hClientHandle);
|
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 */
|
/* invalid hClientHandle */
|
||||||
ret = WlanOpenHandle(1, NULL, &dwNegotiatedVersion, NULL);
|
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 */
|
/* invalid pReserved */
|
||||||
ret = WlanOpenHandle(1, (PVOID) 1, &dwNegotiatedVersion, &hClientHandle);
|
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)
|
static void WlanCloseHandle_test(void)
|
||||||
|
|
Loading…
Reference in a new issue