SetLastError(0xdeadbeef);
mi = pPSetupCreateMonitorInfo(NULL, NULL, NULL);
+ if (!mi && (GetLastError() == RPC_S_SERVER_UNAVAILABLE)) {
+ win_skip("The service 'Spooler' is required for many tests\n");
+ return;
+ }
ok( mi != NULL, "got %p with %u (expected '!= NULL')\n", mi, GetLastError());
if (mi) pPSetupDestroyMonitorInfo(mi);
SetLastError(0xdeadbeef);
mi = pPSetupCreateMonitorInfo(NULL, NULL, NULL);
+ if (!mi && (GetLastError() == RPC_S_SERVER_UNAVAILABLE)) {
+ win_skip("The service 'Spooler' is required for many tests\n");
+ return;
+ }
ok( mi != NULL, "got %p with %u (expected '!= NULL')\n", mi, GetLastError());
if (!mi) return;
/* lasterror is returned */
trace("returned with %u\n", GetLastError());
- /* Try to destroy the handle twice crash with native ntprint.dll */
+ /* Trying to destroy the handle twice crashes with native ntprint.dll */
if (0) {
SetLastError(0xdeadbeef);
pPSetupDestroyMonitorInfo(mi);