dsound/tests: Don't test function directly when reporting GetLastError().
This commit is contained in:
parent
c7cb92f1f2
commit
046bcb7c7e
|
@ -1077,7 +1077,8 @@ START_TEST(dsound)
|
|||
{
|
||||
BOOL ret;
|
||||
|
||||
ok( FreeLibrary(hDsound), "FreeLibrary(1) returned %d\n", GetLastError());
|
||||
ret = FreeLibrary(hDsound);
|
||||
ok( ret, "FreeLibrary(1) returned %d\n", GetLastError());
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = FreeLibrary(hDsound);
|
||||
ok( ret ||
|
||||
|
|
Loading…
Reference in New Issue