diff options
author | Luke Dunstan <infidel@users.sourceforge.net> | 2003-10-02 02:39:43 +0000 |
---|---|---|
committer | Luke Dunstan <infidel@users.sourceforge.net> | 2003-10-02 02:39:43 +0000 |
commit | db0d31d13e9628f11bf0306e7709eec5860f9efa (patch) | |
tree | 8e879ef6e8c633a53c5752d51b582da660871396 /winsup/w32api/include/winspool.h | |
parent | 334117a940812f19bdaf2150af3f6bd070e5d517 (diff) | |
download | cygnal-db0d31d13e9628f11bf0306e7709eec5860f9efa.tar.gz cygnal-db0d31d13e9628f11bf0306e7709eec5860f9efa.tar.bz2 cygnal-db0d31d13e9628f11bf0306e7709eec5860f9efa.zip |
2003-10-02 Luke Dunstan <infidel@users.sourceforge.net>
* include/winspool.h (GetDefaultPrinter[AW]): Add functions.
* lib/winspool.def (GetDefaultPrinter[AW]): Add stubs.
Diffstat (limited to 'winsup/w32api/include/winspool.h')
-rw-r--r-- | winsup/w32api/include/winspool.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/w32api/include/winspool.h b/winsup/w32api/include/winspool.h index 83137c6f6..cc803ca27 100644 --- a/winsup/w32api/include/winspool.h +++ b/winsup/w32api/include/winspool.h @@ -612,6 +612,10 @@ BOOL WINAPI FindClosePrinterChangeNotification(HANDLE); HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE,DWORD,DWORD,PVOID); HANDLE WINAPI FindNextPrinterChangeNotification(HANDLE,PDWORD,PVOID,PVOID*); BOOL WINAPI FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO); +#if _WIN32_WINNT >= 0x0500 +BOOL WINAPI GetDefaultPrinterA(LPSTR,LPDWORD); +BOOL WINAPI GetDefaultPrinterW(LPWSTR,LPDWORD); +#endif BOOL WINAPI GetFormA(HANDLE,LPSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL WINAPI GetFormW(HANDLE,LPWSTR,DWORD,PBYTE,DWORD,PDWORD); BOOL WINAPI GetJobA(HANDLE,DWORD,DWORD,PBYTE,DWORD,PDWORD); @@ -698,6 +702,7 @@ typedef PRINTER_DEFAULTSW PRINTER_DEFAULTS,*PPRINTER_DEFAULTS,*LPPRINTER_DEFAULT #define EnumPrinters EnumPrintersW #define EnumPrintProcessorDatatypes EnumPrintProcessorDatatypesW #define EnumPrintProcessors EnumPrintProcessorsW +#define GetDefaultPrinter GetDefaultPrinterW #define GetForm GetFormW #define GetJob GetJobW #define GetPrinter GetPrinterW @@ -762,6 +767,7 @@ typedef PRINTER_DEFAULTSA PRINTER_DEFAULTS,*PPRINTER_DEFAULTS,*LPPRINTER_DEFAULT #define EnumPrinters EnumPrintersA #define EnumPrintProcessorDatatypes EnumPrintProcessorDatatypesA #define EnumPrintProcessors EnumPrintProcessorsA +#define GetDefaultPrinter GetDefaultPrinterA #define GetForm GetFormA #define GetJob GetJobA #define GetPrinter GetPrinterA |