10#define WIN32_NO_STATUS
18 DWORD cchDefaultPrinter;
19 PSTR pszDefaultPrinter;
27 cchDefaultPrinter = 0;
35 ok(
GetDefaultPrinterA(pszDefaultPrinter, &cchDefaultPrinter),
"GetDefaultPrinterA returns FALSE!\n");
55 DWORD cchDefaultPrinter;
56 PWSTR pwszDefaultPrinter;
64 cchDefaultPrinter = 0;
72 ok(
GetDefaultPrinterW(pwszDefaultPrinter, &cchDefaultPrinter),
"GetDefaultPrinterW returns FALSE!\n");
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_INVALID_PARAMETER
#define HeapFree(x, y, z)
DWORD WINAPI GetLastError(void)
#define ERROR_INVALID_PRINTER_NAME
WINBOOL WINAPI GetDefaultPrinterW(LPWSTR pszBuffer, LPDWORD pcchBuffer)
WINBOOL WINAPI SetDefaultPrinterA(LPCSTR pszPrinter)
WINBOOL WINAPI GetDefaultPrinterA(LPSTR pszBuffer, LPDWORD pcchBuffer)
WINBOOL WINAPI SetDefaultPrinterW(LPCWSTR pszPrinter)