10#define WIN32_NO_STATUS
18#include "../localspl_apitest.h"
25#define MAX_PRINTER_NAME 220
37 ok(!pp.fpSetJob(
NULL, 0, 0,
NULL, 0),
"fpSetJob returns TRUE\n");
42 if (!pwszDefaultPrinter)
44 skip(
"Could not determine the default printer!\n");
48 if (!pp.fpOpenPrinter(pwszDefaultPrinter, &hPrinter,
NULL))
50 skip(
"Could not open a handle to the default printer, last error is %lu!\n",
GetLastError());
55 ok(!pp.fpSetJob(hPrinter, 0, 0,
NULL, 0),
"fpSetJob returns TRUE\n");
59 if (pwszDefaultPrinter)
63 pp.fpClosePrinter(hPrinter);
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
static const WCHAR Cleanup[]
PWSTR GetDefaultPrinterFromRegistry(VOID)
BOOL GetLocalsplFuncs(LPPRINTPROVIDOR pp)
DWORD WINAPI GetLastError(void)