mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:05:42 +00:00
sync netapi32_winetest with wine 1.1.13
svn path=/trunk/; revision=38981
This commit is contained in:
parent
e6d7f59aa5
commit
f2e519c99a
2 changed files with 14 additions and 15 deletions
|
@ -74,13 +74,13 @@ static void run_apibuf_tests(void)
|
|||
/* NULL-Pointer */
|
||||
/* NT: ERROR_INVALID_PARAMETER, lasterror is untouched) */
|
||||
SetLastError(0xdeadbeef);
|
||||
res = pNetApiBufferAllocate(0, (LPVOID *)NULL);
|
||||
res = pNetApiBufferAllocate(0, NULL);
|
||||
ok( (res == ERROR_INVALID_PARAMETER) && (GetLastError() == 0xdeadbeef),
|
||||
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
|
||||
"0xdeadbeef)\n", res, GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
res = pNetApiBufferAllocate(1024, (LPVOID *)NULL);
|
||||
res = pNetApiBufferAllocate(1024, NULL);
|
||||
ok( (res == ERROR_INVALID_PARAMETER) && (GetLastError() == 0xdeadbeef),
|
||||
"returned %d with 0x%x (expected ERROR_INVALID_PARAMETER with "
|
||||
"0xdeadbeef)\n", res, GetLastError());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue