Commit 85cd0a1f authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool/tests: Fix tests for EnumPrinters when the spooler is off.

parent b86a7644
......@@ -1654,6 +1654,7 @@ static void test_EnumPrinters(void)
SetLastError(0xdeadbeef);
neededA = -1;
ret = EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 2, NULL, 0, &neededA, &num);
RETURN_ON_DEACTIVATED_SPOOLER(ret)
if (!ret)
{
/* We have 1 or more printers */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment