Re: [PATCH] ntprint: Do not fail when the spooler service was stopped
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
5021
Age (days ago)
5021
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard