12 Jun
2012
12 Jun
'12
3:17 a.m.
Detlef Riekenberg <wine.dev(a)web.de> writes:
@@ -88,22 +92,25 @@ static void test_PSetupDestroyMonitorInfo(VOID) { HANDLE mi;
- SetLastError(0xdeadbeef); pPSetupDestroyMonitorInfo(NULL); - /* lasterror is returned */ - trace("returned with %u\n", GetLastError()); + /* lasterror is untouched */ + ok(GetLastError() == 0xdeadbeef, "returned with 0x%x\n", GetLastError());
Testing last error on success is not useful. -- Alexandre Julliard julliard(a)winehq.org