[PATCH] ntprint: Do not fail when the spooler service was stopped
Alexandre Julliard
julliard at winehq.org
Tue Jun 12 03:17:04 CDT 2012
Detlef Riekenberg <wine.dev at 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 at winehq.org
More information about the wine-devel
mailing list