ReactOS 0.4.15-dev-5667-ged97270
winspool.h
Go to the documentation of this file.
1
6#ifndef _WINSPOOL_
7#define _WINSPOOL_
8
9#include <_mingw_unicode.h>
10
11#ifdef _WINUSER_
12#include <prsht.h>
13#endif
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19 typedef struct _PRINTER_INFO_1A {
25
26 typedef struct _PRINTER_INFO_1W {
32
33 __MINGW_TYPEDEF_AW(PRINTER_INFO_1)
34 __MINGW_TYPEDEF_AW(PPRINTER_INFO_1)
35 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_1)
36
60
61 typedef struct _PRINTER_INFO_2W {
84
85 __MINGW_TYPEDEF_AW(PRINTER_INFO_2)
86 __MINGW_TYPEDEF_AW(PPRINTER_INFO_2)
87 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_2)
88
92
93 typedef struct _PRINTER_INFO_4A {
98
99 typedef struct _PRINTER_INFO_4W {
104
105 __MINGW_TYPEDEF_AW(PRINTER_INFO_4)
106 __MINGW_TYPEDEF_AW(PPRINTER_INFO_4)
107 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_4)
108
116
117 typedef struct _PRINTER_INFO_5W {
124
125 __MINGW_TYPEDEF_AW(PRINTER_INFO_5)
126 __MINGW_TYPEDEF_AW(PPRINTER_INFO_5)
127 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_5)
128
132
133 typedef struct _PRINTER_INFO_7A {
137
138 typedef struct _PRINTER_INFO_7W {
142
143 __MINGW_TYPEDEF_AW(PRINTER_INFO_7)
144 __MINGW_TYPEDEF_AW(PPRINTER_INFO_7)
145 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_7)
146
147#define DSPRINT_PUBLISH 0x00000001
148#define DSPRINT_UPDATE 0x00000002
149#define DSPRINT_UNPUBLISH 0x00000004
150#define DSPRINT_REPUBLISH 0x00000008
151#define DSPRINT_PENDING 0x80000000
152
153 typedef struct _PRINTER_INFO_8A {
156
157 typedef struct _PRINTER_INFO_8W {
160
161 __MINGW_TYPEDEF_AW(PRINTER_INFO_8)
162 __MINGW_TYPEDEF_AW(PPRINTER_INFO_8)
163 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_8)
164
168
169 typedef struct _PRINTER_INFO_9W {
172
173 __MINGW_TYPEDEF_AW(PRINTER_INFO_9)
174 __MINGW_TYPEDEF_AW(PPRINTER_INFO_9)
175 __MINGW_TYPEDEF_AW(LPPRINTER_INFO_9)
176
177#define PRINTER_CONTROL_PAUSE 1
178#define PRINTER_CONTROL_RESUME 2
179#define PRINTER_CONTROL_PURGE 3
180#define PRINTER_CONTROL_SET_STATUS 4
181
182#define PRINTER_STATUS_PAUSED 0x00000001
183#define PRINTER_STATUS_ERROR 0x00000002
184#define PRINTER_STATUS_PENDING_DELETION 0x00000004
185#define PRINTER_STATUS_PAPER_JAM 0x00000008
186#define PRINTER_STATUS_PAPER_OUT 0x00000010
187#define PRINTER_STATUS_MANUAL_FEED 0x00000020
188#define PRINTER_STATUS_PAPER_PROBLEM 0x00000040
189#define PRINTER_STATUS_OFFLINE 0x00000080
190#define PRINTER_STATUS_IO_ACTIVE 0x00000100
191#define PRINTER_STATUS_BUSY 0x00000200
192#define PRINTER_STATUS_PRINTING 0x00000400
193#define PRINTER_STATUS_OUTPUT_BIN_FULL 0x00000800
194#define PRINTER_STATUS_NOT_AVAILABLE 0x00001000
195#define PRINTER_STATUS_WAITING 0x00002000
196#define PRINTER_STATUS_PROCESSING 0x00004000
197#define PRINTER_STATUS_INITIALIZING 0x00008000
198#define PRINTER_STATUS_WARMING_UP 0x00010000
199#define PRINTER_STATUS_TONER_LOW 0x00020000
200#define PRINTER_STATUS_NO_TONER 0x00040000
201#define PRINTER_STATUS_PAGE_PUNT 0x00080000
202#define PRINTER_STATUS_USER_INTERVENTION 0x00100000
203#define PRINTER_STATUS_OUT_OF_MEMORY 0x00200000
204#define PRINTER_STATUS_DOOR_OPEN 0x00400000
205#define PRINTER_STATUS_SERVER_UNKNOWN 0x00800000
206#define PRINTER_STATUS_POWER_SAVE 0x01000000
207
208#define PRINTER_ATTRIBUTE_QUEUED 0x00000001
209#define PRINTER_ATTRIBUTE_DIRECT 0x00000002
210#define PRINTER_ATTRIBUTE_DEFAULT 0x00000004
211#define PRINTER_ATTRIBUTE_SHARED 0x00000008
212#define PRINTER_ATTRIBUTE_NETWORK 0x00000010
213#define PRINTER_ATTRIBUTE_HIDDEN 0x00000020
214#define PRINTER_ATTRIBUTE_LOCAL 0x00000040
215
216#define PRINTER_ATTRIBUTE_ENABLE_DEVQ 0x00000080
217#define PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS 0x00000100
218#define PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST 0x00000200
219
220#define PRINTER_ATTRIBUTE_WORK_OFFLINE 0x00000400
221#define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x00000800
222#define PRINTER_ATTRIBUTE_RAW_ONLY 0x00001000
223#define PRINTER_ATTRIBUTE_PUBLISHED 0x00002000
224#define PRINTER_ATTRIBUTE_FAX 0x00004000
225#define PRINTER_ATTRIBUTE_TS 0x00008000
226
227#define NO_PRIORITY 0
228#define MAX_PRIORITY 99
229#define MIN_PRIORITY 1
230#define DEF_PRIORITY 1
231
232 typedef struct _JOB_INFO_1A {
247
248 typedef struct _JOB_INFO_1W {
263
264 __MINGW_TYPEDEF_AW(JOB_INFO_1)
265 __MINGW_TYPEDEF_AW(PJOB_INFO_1)
266 __MINGW_TYPEDEF_AW(LPJOB_INFO_1)
267
293
294 typedef struct _JOB_INFO_2W {
319
320 __MINGW_TYPEDEF_AW(JOB_INFO_2)
321 __MINGW_TYPEDEF_AW(PJOB_INFO_2)
322 __MINGW_TYPEDEF_AW(LPJOB_INFO_2)
323
329
330#define JOB_CONTROL_PAUSE 1
331#define JOB_CONTROL_RESUME 2
332#define JOB_CONTROL_CANCEL 3
333#define JOB_CONTROL_RESTART 4
334#define JOB_CONTROL_DELETE 5
335#define JOB_CONTROL_SENT_TO_PRINTER 6
336#define JOB_CONTROL_LAST_PAGE_EJECTED 7
337
338#define JOB_STATUS_PAUSED 0x00000001
339#define JOB_STATUS_ERROR 0x00000002
340#define JOB_STATUS_DELETING 0x00000004
341#define JOB_STATUS_SPOOLING 0x00000008
342#define JOB_STATUS_PRINTING 0x00000010
343#define JOB_STATUS_OFFLINE 0x00000020
344#define JOB_STATUS_PAPEROUT 0x00000040
345#define JOB_STATUS_PRINTED 0x00000080
346#define JOB_STATUS_DELETED 0x00000100
347#define JOB_STATUS_BLOCKED_DEVQ 0x00000200
348#define JOB_STATUS_USER_INTERVENTION 0x00000400
349#define JOB_STATUS_RESTART 0x00000800
350#define JOB_STATUS_COMPLETE 0x00001000
351
352#define JOB_POSITION_UNSPECIFIED 0
353
354typedef struct _ADDJOB_INFO_1A {
358
359typedef struct _ADDJOB_INFO_1W {
363
364__MINGW_TYPEDEF_AW(ADDJOB_INFO_1)
365__MINGW_TYPEDEF_AW(PADDJOB_INFO_1)
366__MINGW_TYPEDEF_AW(LPADDJOB_INFO_1)
367
371
372typedef struct _DRIVER_INFO_1W {
375
376__MINGW_TYPEDEF_AW(DRIVER_INFO_1)
377__MINGW_TYPEDEF_AW(PDRIVER_INFO_1)
378__MINGW_TYPEDEF_AW(LPDRIVER_INFO_1)
379
388
389typedef struct _DRIVER_INFO_2W {
397
398__MINGW_TYPEDEF_AW(DRIVER_INFO_2)
399__MINGW_TYPEDEF_AW(PDRIVER_INFO_2)
400__MINGW_TYPEDEF_AW(LPDRIVER_INFO_2)
401
414
415typedef struct _DRIVER_INFO_3W {
427
428__MINGW_TYPEDEF_AW(DRIVER_INFO_3)
429__MINGW_TYPEDEF_AW(PDRIVER_INFO_3)
430__MINGW_TYPEDEF_AW(LPDRIVER_INFO_3)
431
445
446typedef struct _DRIVER_INFO_4W {
459
460__MINGW_TYPEDEF_AW(DRIVER_INFO_4)
461__MINGW_TYPEDEF_AW(PDRIVER_INFO_4)
462__MINGW_TYPEDEF_AW(LPDRIVER_INFO_4)
463
475
476typedef struct _DRIVER_INFO_5W {
487
488__MINGW_TYPEDEF_AW(DRIVER_INFO_5)
489__MINGW_TYPEDEF_AW(PDRIVER_INFO_5)
490__MINGW_TYPEDEF_AW(LPDRIVER_INFO_5)
491
511
512typedef struct _DRIVER_INFO_6W {
531
532__MINGW_TYPEDEF_AW(DRIVER_INFO_6)
533__MINGW_TYPEDEF_AW(PDRIVER_INFO_6)
534__MINGW_TYPEDEF_AW(LPDRIVER_INFO_6)
535
563
564typedef struct _DRIVER_INFO_8A {
591
592__MINGW_TYPEDEF_AW(DRIVER_INFO_8)
593__MINGW_TYPEDEF_AW(PDRIVER_INFO_8)
594__MINGW_TYPEDEF_AW(LPDRIVER_INFO_8)
595
596#define DRIVER_KERNELMODE 0x00000001
597#define DRIVER_USERMODE 0x00000002
598
599#define DPD_DELETE_UNUSED_FILES 0x00000001
600#define DPD_DELETE_SPECIFIC_VERSION 0x00000002
601#define DPD_DELETE_ALL_FILES 0x00000004
602
603#define APD_STRICT_UPGRADE 0x00000001
604#define APD_STRICT_DOWNGRADE 0x00000002
605#define APD_COPY_ALL_FILES 0x00000004
606#define APD_COPY_NEW_FILES 0x00000008
607#define APD_COPY_FROM_DIRECTORY 0x00000010
608
609typedef struct _DOC_INFO_1A {
614
615typedef struct _DOC_INFO_1W {
620
621__MINGW_TYPEDEF_AW(DOC_INFO_1)
622__MINGW_TYPEDEF_AW(PDOC_INFO_1)
623__MINGW_TYPEDEF_AW(LPDOC_INFO_1)
624
631
632typedef struct _FORM_INFO_1W {
638
639__MINGW_TYPEDEF_AW(FORM_INFO_1)
640__MINGW_TYPEDEF_AW(PFORM_INFO_1)
641__MINGW_TYPEDEF_AW(LPFORM_INFO_1)
642
655
656typedef struct _FORM_INFO_2W {
668
669__MINGW_TYPEDEF_AW(FORM_INFO_2)
670__MINGW_TYPEDEF_AW(PFORM_INFO_2)
671
672#define STRING_NONE 0x00000001
673#define STRING_MUIDLL 0x00000002
674#define STRING_LANGPAIR 0x00000004
675
676typedef struct _DOC_INFO_2A {
683
684typedef struct _DOC_INFO_2W {
691
692__MINGW_TYPEDEF_AW(DOC_INFO_2)
693__MINGW_TYPEDEF_AW(PDOC_INFO_2)
694__MINGW_TYPEDEF_AW(LPDOC_INFO_2)
695
696#define DI_CHANNEL 1
697#define DI_READ_SPOOL_JOB 3
698
699typedef struct _DOC_INFO_3A {
705
706typedef struct _DOC_INFO_3W {
712
713__MINGW_TYPEDEF_AW(DOC_INFO_3)
714__MINGW_TYPEDEF_AW(PDOC_INFO_3)
715__MINGW_TYPEDEF_AW(LPDOC_INFO_3)
716
717#define DI_MEMORYMAP_WRITE 0x00000001
718
719#define FORM_USER 0x00000000
720#define FORM_BUILTIN 0x00000001
721#define FORM_PRINTER 0x00000002
722
726
730
731__MINGW_TYPEDEF_AW(PRINTPROCESSOR_INFO_1)
732__MINGW_TYPEDEF_AW(PPRINTPROCESSOR_INFO_1)
733__MINGW_TYPEDEF_AW(LPPRINTPROCESSOR_INFO_1)
734
741
742#define NORMAL_PRINT 0x00000000
743#define REVERSE_PRINT 0x00000001
744
745typedef struct _PORT_INFO_1A {
748typedef struct _PORT_INFO_1W {
751
752__MINGW_TYPEDEF_AW(PORT_INFO_1)
753__MINGW_TYPEDEF_AW(PPORT_INFO_1)
754__MINGW_TYPEDEF_AW(LPPORT_INFO_1)
755
763
764typedef struct _PORT_INFO_2W {
771
772__MINGW_TYPEDEF_AW(PORT_INFO_2)
773__MINGW_TYPEDEF_AW(PPORT_INFO_2)
774__MINGW_TYPEDEF_AW(LPPORT_INFO_2)
775
776#define PORT_TYPE_WRITE 0x0001
777#define PORT_TYPE_READ 0x0002
778#define PORT_TYPE_REDIRECTED 0x0004
779#define PORT_TYPE_NET_ATTACHED 0x0008
780
781typedef struct _PORT_INFO_3A {
786
787typedef struct _PORT_INFO_3W {
792
793__MINGW_TYPEDEF_AW(PORT_INFO_3)
794__MINGW_TYPEDEF_AW(PPORT_INFO_3)
795__MINGW_TYPEDEF_AW(LPPORT_INFO_3)
796
797#define PORT_STATUS_TYPE_ERROR 1
798#define PORT_STATUS_TYPE_WARNING 2
799#define PORT_STATUS_TYPE_INFO 3
800
801#define PORT_STATUS_OFFLINE 1
802#define PORT_STATUS_PAPER_JAM 2
803#define PORT_STATUS_PAPER_OUT 3
804#define PORT_STATUS_OUTPUT_BIN_FULL 4
805#define PORT_STATUS_PAPER_PROBLEM 5
806#define PORT_STATUS_NO_TONER 6
807#define PORT_STATUS_DOOR_OPEN 7
808#define PORT_STATUS_USER_INTERVENTION 8
809#define PORT_STATUS_OUT_OF_MEMORY 9
810#define PORT_STATUS_TONER_LOW 10
811#define PORT_STATUS_WARMING_UP 11
812#define PORT_STATUS_POWER_SAVE 12
813
814typedef struct _MONITOR_INFO_1A{
817
818typedef struct _MONITOR_INFO_1W{
821
822__MINGW_TYPEDEF_AW(MONITOR_INFO_1)
823__MINGW_TYPEDEF_AW(PMONITOR_INFO_1)
824__MINGW_TYPEDEF_AW(LPMONITOR_INFO_1)
825
831
832typedef struct _MONITOR_INFO_2W {
837
838__MINGW_TYPEDEF_AW(MONITOR_INFO_2)
839__MINGW_TYPEDEF_AW(PMONITOR_INFO_2)
840__MINGW_TYPEDEF_AW(LPMONITOR_INFO_2)
841
845
846typedef struct _DATATYPES_INFO_1W {
849
850__MINGW_TYPEDEF_AW(DATATYPES_INFO_1)
851__MINGW_TYPEDEF_AW(PDATATYPES_INFO_1)
852__MINGW_TYPEDEF_AW(LPDATATYPES_INFO_1)
853
859
860typedef struct _PRINTER_DEFAULTSW {
865
866__MINGW_TYPEDEF_AW(PRINTER_DEFAULTS)
867__MINGW_TYPEDEF_AW(PPRINTER_DEFAULTS)
868__MINGW_TYPEDEF_AW(LPPRINTER_DEFAULTS)
869
877
878typedef struct _PRINTER_ENUM_VALUESW {
885
886__MINGW_TYPEDEF_AW(PRINTER_ENUM_VALUES)
887__MINGW_TYPEDEF_AW(PPRINTER_ENUM_VALUES)
888__MINGW_TYPEDEF_AW(LPPRINTER_ENUM_VALUES)
889
890#define EnumPrinters __MINGW_NAME_AW(EnumPrinters)
891
894
895#define PRINTER_ENUM_DEFAULT 0x00000001
896#define PRINTER_ENUM_LOCAL 0x00000002
897#define PRINTER_ENUM_CONNECTIONS 0x00000004
898#define PRINTER_ENUM_FAVORITE 0x00000004
899#define PRINTER_ENUM_NAME 0x00000008
900#define PRINTER_ENUM_REMOTE 0x00000010
901#define PRINTER_ENUM_SHARED 0x00000020
902#define PRINTER_ENUM_NETWORK 0x00000040
903
904#define PRINTER_ENUM_EXPAND 0x00004000
905#define PRINTER_ENUM_CONTAINER 0x00008000
906
907#define PRINTER_ENUM_ICONMASK 0x00ff0000
908#define PRINTER_ENUM_ICON1 0x00010000
909#define PRINTER_ENUM_ICON2 0x00020000
910#define PRINTER_ENUM_ICON3 0x00040000
911#define PRINTER_ENUM_ICON4 0x00080000
912#define PRINTER_ENUM_ICON5 0x00100000
913#define PRINTER_ENUM_ICON6 0x00200000
914#define PRINTER_ENUM_ICON7 0x00400000
915#define PRINTER_ENUM_ICON8 0x00800000
916#define PRINTER_ENUM_HIDE 0x01000000
917
918#define SPOOL_FILE_PERSISTENT 0x00000001
919#define SPOOL_FILE_TEMPORARY 0x00000002
920
921#define OpenPrinter __MINGW_NAME_AW(OpenPrinter)
922#define ResetPrinter __MINGW_NAME_AW(ResetPrinter)
923#define SetJob __MINGW_NAME_AW(SetJob)
924#define GetJob __MINGW_NAME_AW(GetJob)
925#define EnumJobs __MINGW_NAME_AW(EnumJobs)
926#define AddPrinter __MINGW_NAME_AW(AddPrinter)
927#define SetPrinter __MINGW_NAME_AW(SetPrinter)
928#define GetPrinter __MINGW_NAME_AW(GetPrinter)
929#define AddPrinterDriver __MINGW_NAME_AW(AddPrinterDriver)
930#define AddPrinterDriverEx __MINGW_NAME_AW(AddPrinterDriverEx)
931#define EnumPrinterDrivers __MINGW_NAME_AW(EnumPrinterDrivers)
932#define GetPrinterDriver __MINGW_NAME_AW(GetPrinterDriver)
933#define GetPrinterDriverDirectory __MINGW_NAME_AW(GetPrinterDriverDirectory)
934#define DeletePrinterDriver __MINGW_NAME_AW(DeletePrinterDriver)
935#define DeletePrinterDriverEx __MINGW_NAME_AW(DeletePrinterDriverEx)
936#define AddPrintProcessor __MINGW_NAME_AW(AddPrintProcessor)
937#define EnumPrintProcessors __MINGW_NAME_AW(EnumPrintProcessors)
938#define GetPrintProcessorDirectory __MINGW_NAME_AW(GetPrintProcessorDirectory)
939#define EnumPrintProcessorDatatypes __MINGW_NAME_AW(EnumPrintProcessorDatatypes)
940#define DeletePrintProcessor __MINGW_NAME_AW(DeletePrintProcessor)
941#define StartDocPrinter __MINGW_NAME_AW(StartDocPrinter)
942#define AddJob __MINGW_NAME_AW(AddJob)
943#define DocumentProperties __MINGW_NAME_AW(DocumentProperties)
944#define AdvancedDocumentProperties __MINGW_NAME_AW(AdvancedDocumentProperties)
945#define GetPrinterData __MINGW_NAME_AW(GetPrinterData)
946#define GetPrinterDataEx __MINGW_NAME_AW(GetPrinterDataEx)
947#define EnumPrinterData __MINGW_NAME_AW(EnumPrinterData)
948#define EnumPrinterDataEx __MINGW_NAME_AW(EnumPrinterDataEx)
949#define EnumPrinterKey __MINGW_NAME_AW(EnumPrinterKey)
950#define SetPrinterData __MINGW_NAME_AW(SetPrinterData)
951#define SetPrinterDataEx __MINGW_NAME_AW(SetPrinterDataEx)
952#define DeletePrinterData __MINGW_NAME_AW(DeletePrinterData)
953#define DeletePrinterDataEx __MINGW_NAME_AW(DeletePrinterDataEx)
954#define DeletePrinterKey __MINGW_NAME_AW(DeletePrinterKey)
955
956 WINBOOL WINAPI OpenPrinterA(LPSTR pPrinterName,LPHANDLE phPrinter,LPPRINTER_DEFAULTSA pDefault);
957 WINBOOL WINAPI OpenPrinterW(LPWSTR pPrinterName,LPHANDLE phPrinter,LPPRINTER_DEFAULTSW pDefault);
964 WINBOOL WINAPI EnumJobsA(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
965 WINBOOL WINAPI EnumJobsW(HANDLE hPrinter,DWORD FirstJob,DWORD NoJobs,DWORD Level,LPBYTE pJob,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
979 WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter,LPSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
980 WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter,LPWSTR pEnvironment,DWORD Level,LPBYTE pDriverInfo,DWORD cbBuf,LPDWORD pcbNeeded);
983 WINBOOL WINAPI DeletePrinterDriverA(LPSTR pName,LPSTR pEnvironment,LPSTR pDriverName);
985 WINBOOL WINAPI DeletePrinterDriverExA(LPSTR pName,LPSTR pEnvironment,LPSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
986 WINBOOL WINAPI DeletePrinterDriverExW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pDriverName,DWORD dwDeleteFlag,DWORD dwVersionFlag);
987 WINBOOL WINAPI AddPrintProcessorA(LPSTR pName,LPSTR pEnvironment,LPSTR pPathName,LPSTR pPrintProcessorName);
988 WINBOOL WINAPI AddPrintProcessorW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pPathName,LPWSTR pPrintProcessorName);
989 WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName,LPSTR pEnvironment,DWORD Level,LPBYTE pPrintProcessorInfo,DWORD cbBuf,LPDWORD pcbNeeded,LPDWORD pcReturned);
995 WINBOOL WINAPI DeletePrintProcessorA(LPSTR pName,LPSTR pEnvironment,LPSTR pPrintProcessorName);
996 WINBOOL WINAPI DeletePrintProcessorW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pPrintProcessorName);
1000 WINBOOL WINAPI WritePrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten);
1001 WINBOOL WINAPI FlushPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pcWritten,DWORD cSleep);
1004 WINBOOL WINAPI ReadPrinter(HANDLE hPrinter,LPVOID pBuf,DWORD cbBuf,LPDWORD pNoBytesRead);
1008 WINBOOL WINAPI ScheduleJob(HANDLE hPrinter,DWORD JobId);
1010 LONG WINAPI DocumentPropertiesA(HWND hWnd,HANDLE hPrinter,LPSTR pDeviceName,PDEVMODEA pDevModeOutput,PDEVMODEA pDevModeInput,DWORD fMode);
1011 LONG WINAPI DocumentPropertiesW(HWND hWnd,HANDLE hPrinter,LPWSTR pDeviceName,PDEVMODEW pDevModeOutput,PDEVMODEW pDevModeInput,DWORD fMode);
1012 LONG WINAPI AdvancedDocumentPropertiesA(HWND hWnd,HANDLE hPrinter,LPSTR pDeviceName,PDEVMODEA pDevModeOutput,PDEVMODEA pDevModeInput);
1013 LONG WINAPI AdvancedDocumentPropertiesW(HWND hWnd,HANDLE hPrinter,LPWSTR pDeviceName,PDEVMODEW pDevModeOutput,PDEVMODEW pDevModeInput);
1014 LONG ExtDeviceMode(HWND hWnd,HANDLE hInst,LPDEVMODEA pDevModeOutput,LPSTR pDeviceName,LPSTR pPort,LPDEVMODEA pDevModeInput,LPSTR pProfile,DWORD fMode);
1019 DWORD WINAPI EnumPrinterDataA(HANDLE hPrinter,DWORD dwIndex,LPSTR pValueName,DWORD cbValueName,LPDWORD pcbValueName,LPDWORD pType,LPBYTE pData,DWORD cbData,LPDWORD pcbData);
1020 DWORD WINAPI EnumPrinterDataW(HANDLE hPrinter,DWORD dwIndex,LPWSTR pValueName,DWORD cbValueName,LPDWORD pcbValueName,LPDWORD pType,LPBYTE pData,DWORD cbData,LPDWORD pcbData);
1021 DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPBYTE pEnumValues,DWORD cbEnumValues,LPDWORD pcbEnumValues,LPDWORD pnEnumValues);
1022 DWORD WINAPI EnumPrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPBYTE pEnumValues,DWORD cbEnumValues,LPDWORD pcbEnumValues,LPDWORD pnEnumValues);
1023 DWORD WINAPI EnumPrinterKeyA(HANDLE hPrinter,LPCSTR pKeyName,LPSTR pSubkey,DWORD cbSubkey,LPDWORD pcbSubkey);
1024 DWORD WINAPI EnumPrinterKeyW(HANDLE hPrinter,LPCWSTR pKeyName,LPWSTR pSubkey,DWORD cbSubkey,LPDWORD pcbSubkey);
1027 DWORD WINAPI SetPrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPCSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
1028 DWORD WINAPI SetPrinterDataExW(HANDLE hPrinter,LPCWSTR pKeyName,LPCWSTR pValueName,DWORD Type,LPBYTE pData,DWORD cbData);
1029 DWORD WINAPI DeletePrinterDataA(HANDLE hPrinter,LPSTR pValueName);
1031 DWORD WINAPI DeletePrinterDataExA(HANDLE hPrinter,LPCSTR pKeyName,LPCSTR pValueName);
1033 DWORD WINAPI DeletePrinterKeyA(HANDLE hPrinter,LPCSTR pKeyName);
1035
1036#define PRINTER_NOTIFY_TYPE 0x00
1037#define JOB_NOTIFY_TYPE 0x01
1038
1039#define PRINTER_NOTIFY_FIELD_SERVER_NAME 0x00
1040#define PRINTER_NOTIFY_FIELD_PRINTER_NAME 0x01
1041#define PRINTER_NOTIFY_FIELD_SHARE_NAME 0x02
1042#define PRINTER_NOTIFY_FIELD_PORT_NAME 0x03
1043#define PRINTER_NOTIFY_FIELD_DRIVER_NAME 0x04
1044#define PRINTER_NOTIFY_FIELD_COMMENT 0x05
1045#define PRINTER_NOTIFY_FIELD_LOCATION 0x06
1046#define PRINTER_NOTIFY_FIELD_DEVMODE 0x07
1047#define PRINTER_NOTIFY_FIELD_SEPFILE 0x08
1048#define PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR 0x09
1049#define PRINTER_NOTIFY_FIELD_PARAMETERS 0x0A
1050#define PRINTER_NOTIFY_FIELD_DATATYPE 0x0B
1051#define PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0C
1052#define PRINTER_NOTIFY_FIELD_ATTRIBUTES 0x0D
1053#define PRINTER_NOTIFY_FIELD_PRIORITY 0x0E
1054#define PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY 0x0F
1055#define PRINTER_NOTIFY_FIELD_START_TIME 0x10
1056#define PRINTER_NOTIFY_FIELD_UNTIL_TIME 0x11
1057#define PRINTER_NOTIFY_FIELD_STATUS 0x12
1058#define PRINTER_NOTIFY_FIELD_STATUS_STRING 0x13
1059#define PRINTER_NOTIFY_FIELD_CJOBS 0x14
1060#define PRINTER_NOTIFY_FIELD_AVERAGE_PPM 0x15
1061#define PRINTER_NOTIFY_FIELD_TOTAL_PAGES 0x16
1062#define PRINTER_NOTIFY_FIELD_PAGES_PRINTED 0x17
1063#define PRINTER_NOTIFY_FIELD_TOTAL_BYTES 0x18
1064#define PRINTER_NOTIFY_FIELD_BYTES_PRINTED 0x19
1065#define PRINTER_NOTIFY_FIELD_OBJECT_GUID 0x1A
1066
1067#define JOB_NOTIFY_FIELD_PRINTER_NAME 0x00
1068#define JOB_NOTIFY_FIELD_MACHINE_NAME 0x01
1069#define JOB_NOTIFY_FIELD_PORT_NAME 0x02
1070#define JOB_NOTIFY_FIELD_USER_NAME 0x03
1071#define JOB_NOTIFY_FIELD_NOTIFY_NAME 0x04
1072#define JOB_NOTIFY_FIELD_DATATYPE 0x05
1073#define JOB_NOTIFY_FIELD_PRINT_PROCESSOR 0x06
1074#define JOB_NOTIFY_FIELD_PARAMETERS 0x07
1075#define JOB_NOTIFY_FIELD_DRIVER_NAME 0x08
1076#define JOB_NOTIFY_FIELD_DEVMODE 0x09
1077#define JOB_NOTIFY_FIELD_STATUS 0x0A
1078#define JOB_NOTIFY_FIELD_STATUS_STRING 0x0B
1079#define JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0C
1080#define JOB_NOTIFY_FIELD_DOCUMENT 0x0D
1081#define JOB_NOTIFY_FIELD_PRIORITY 0x0E
1082#define JOB_NOTIFY_FIELD_POSITION 0x0F
1083#define JOB_NOTIFY_FIELD_SUBMITTED 0x10
1084#define JOB_NOTIFY_FIELD_START_TIME 0x11
1085#define JOB_NOTIFY_FIELD_UNTIL_TIME 0x12
1086#define JOB_NOTIFY_FIELD_TIME 0x13
1087#define JOB_NOTIFY_FIELD_TOTAL_PAGES 0x14
1088#define JOB_NOTIFY_FIELD_PAGES_PRINTED 0x15
1089#define JOB_NOTIFY_FIELD_TOTAL_BYTES 0x16
1090#define JOB_NOTIFY_FIELD_BYTES_PRINTED 0x17
1091
1100
1101#define PRINTER_NOTIFY_OPTIONS_REFRESH 0x01
1102
1109
1110#define PRINTER_NOTIFY_INFO_DISCARDED 0x01
1111
1117 union {
1119 struct {
1125
1126 typedef struct _PRINTER_NOTIFY_INFO {
1132
1133 typedef struct _BINARY_CONTAINER{
1137
1138 typedef struct _BIDI_DATA{
1140 union {
1146 } u;
1148
1149 typedef struct _BIDI_REQUEST_DATA{
1154
1161
1162 typedef struct _BIDI_RESPONSE_DATA{
1168
1175
1176#define BIDI_ACTION_ENUM_SCHEMA L"EnumSchema"
1177#define BIDI_ACTION_GET L"Get"
1178#define BIDI_ACTION_SET L"Set"
1179#define BIDI_ACTION_GET_ALL L"GetAll"
1180
1181 typedef enum {
1184
1185#define BIDI_ACCESS_ADMINISTRATOR 0x1
1186#define BIDI_ACCESS_USER 0x2
1187
1188#define ERROR_BIDI_STATUS_OK 0
1189#define ERROR_BIDI_NOT_SUPPORTED ERROR_NOT_SUPPORTED
1190
1191#define ERROR_BIDI_ERROR_BASE 13000
1192#define ERROR_BIDI_STATUS_WARNING (ERROR_BIDI_ERROR_BASE + 1)
1193#define ERROR_BIDI_SCHEMA_READ_ONLY (ERROR_BIDI_ERROR_BASE + 2)
1194#define ERROR_BIDI_SERVER_OFFLINE (ERROR_BIDI_ERROR_BASE + 3)
1195#define ERROR_BIDI_DEVICE_OFFLINE (ERROR_BIDI_ERROR_BASE + 4)
1196#define ERROR_BIDI_SCHEMA_NOT_SUPPORTED (ERROR_BIDI_ERROR_BASE + 5)
1197
1199 HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE hPrinter,DWORD fdwFlags,DWORD fdwOptions,LPVOID pPrinterNotifyOptions);
1200 WINBOOL WINAPI FindNextPrinterChangeNotification(HANDLE hChange,PDWORD pdwChange,LPVOID pPrinterNotifyOptions,LPVOID *ppPrinterNotifyInfo);
1203
1204#define PRINTER_CHANGE_ADD_PRINTER 0x00000001
1205#define PRINTER_CHANGE_SET_PRINTER 0x00000002
1206#define PRINTER_CHANGE_DELETE_PRINTER 0x00000004
1207#define PRINTER_CHANGE_FAILED_CONNECTION_PRINTER 0x00000008
1208#define PRINTER_CHANGE_PRINTER 0x000000FF
1209#define PRINTER_CHANGE_ADD_JOB 0x00000100
1210#define PRINTER_CHANGE_SET_JOB 0x00000200
1211#define PRINTER_CHANGE_DELETE_JOB 0x00000400
1212#define PRINTER_CHANGE_WRITE_JOB 0x00000800
1213#define PRINTER_CHANGE_JOB 0x0000FF00
1214#define PRINTER_CHANGE_ADD_FORM 0x00010000
1215#define PRINTER_CHANGE_SET_FORM 0x00020000
1216#define PRINTER_CHANGE_DELETE_FORM 0x00040000
1217#define PRINTER_CHANGE_FORM 0x00070000
1218#define PRINTER_CHANGE_ADD_PORT 0x00100000
1219#define PRINTER_CHANGE_CONFIGURE_PORT 0x00200000
1220#define PRINTER_CHANGE_DELETE_PORT 0x00400000
1221#define PRINTER_CHANGE_PORT 0x00700000
1222#define PRINTER_CHANGE_ADD_PRINT_PROCESSOR 0x01000000
1223#define PRINTER_CHANGE_DELETE_PRINT_PROCESSOR 0x04000000
1224#define PRINTER_CHANGE_PRINT_PROCESSOR 0x07000000
1225#define PRINTER_CHANGE_ADD_PRINTER_DRIVER 0x10000000
1226#define PRINTER_CHANGE_SET_PRINTER_DRIVER 0x20000000
1227#define PRINTER_CHANGE_DELETE_PRINTER_DRIVER 0x40000000
1228#define PRINTER_CHANGE_PRINTER_DRIVER 0x70000000
1229#define PRINTER_CHANGE_TIMEOUT 0x80000000
1230#define PRINTER_CHANGE_ALL 0x7777FFFF
1231
1232#define PrinterMessageBox __MINGW_NAME_AW(PrinterMessageBox)
1233#define AddForm __MINGW_NAME_AW(AddForm)
1234#define DeleteForm __MINGW_NAME_AW(DeleteForm)
1235#define GetForm __MINGW_NAME_AW(GetForm)
1236#define SetForm __MINGW_NAME_AW(SetForm)
1237#define EnumForms __MINGW_NAME_AW(EnumForms)
1238#define EnumMonitors __MINGW_NAME_AW(EnumMonitors)
1239#define AddMonitor __MINGW_NAME_AW(AddMonitor)
1240#define DeleteMonitor __MINGW_NAME_AW(DeleteMonitor)
1241#define EnumPorts __MINGW_NAME_AW(EnumPorts)
1242#define AddPort __MINGW_NAME_AW(AddPort)
1243#define ConfigurePort __MINGW_NAME_AW(ConfigurePort)
1244#define DeletePort __MINGW_NAME_AW(DeletePort)
1245#define GetDefaultPrinter __MINGW_NAME_AW(GetDefaultPrinter)
1246#define SetDefaultPrinter __MINGW_NAME_AW(SetDefaultPrinter)
1247#define SetPort __MINGW_NAME_AW(SetPort)
1248#define AddPrinterConnection __MINGW_NAME_AW(AddPrinterConnection)
1249#define DeletePrinterConnection __MINGW_NAME_AW(DeletePrinterConnection)
1250
1253
1254#define PRINTER_ERROR_INFORMATION 0x80000000
1255#define PRINTER_ERROR_WARNING 0x40000000
1256#define PRINTER_ERROR_SEVERE 0x20000000
1257
1258#define PRINTER_ERROR_OUTOFPAPER 0x00000001
1259#define PRINTER_ERROR_JAM 0x00000002
1260#define PRINTER_ERROR_OUTOFTONER 0x00000004
1261
1265 WINBOOL WINAPI DeleteFormA(HANDLE hPrinter,LPSTR pFormName);
1277 WINBOOL WINAPI DeleteMonitorA(LPSTR pName,LPSTR pEnvironment,LPSTR pMonitorName);
1287 WINBOOL WINAPI XcvDataW(HANDLE hXcv,PCWSTR pszDataName,PBYTE pInputData,DWORD cbInputData,PBYTE pOutputData,DWORD cbOutputData,PDWORD pcbOutputNeeded,PDWORD pdwStatus);
1288
1289#define XcvData XcvDataW
1290
1291 WINBOOL WINAPI GetDefaultPrinterA(LPSTR pszBuffer,LPDWORD pcchBuffer);
1292 WINBOOL WINAPI GetDefaultPrinterW(LPWSTR pszBuffer,LPDWORD pcchBuffer);
1295 WINBOOL WINAPI SetPortA(LPSTR pName,LPSTR pPortName,DWORD dwLevel,LPBYTE pPortInfo);
1296 WINBOOL WINAPI SetPortW(LPWSTR pName,LPWSTR pPortName,DWORD dwLevel,LPBYTE pPortInfo);
1302
1303 typedef struct _PROVIDOR_INFO_1A{
1308
1309 typedef struct _PROVIDOR_INFO_1W{
1314
1315 __MINGW_TYPEDEF_AW(PROVIDOR_INFO_1)
1316 __MINGW_TYPEDEF_AW(PPROVIDOR_INFO_1)
1317 __MINGW_TYPEDEF_AW(LPPROVIDOR_INFO_1)
1318
1322
1323 typedef struct _PROVIDOR_INFO_2W{
1326
1327 __MINGW_TYPEDEF_AW(PROVIDOR_INFO_2)
1328 __MINGW_TYPEDEF_AW(PPROVIDOR_INFO_2)
1329 __MINGW_TYPEDEF_AW(LPPROVIDOR_INFO_2)
1330
1331#define AddPrintProvidor __MINGW_NAME_AW(AddPrintProvidor)
1332#define DeletePrintProvidor __MINGW_NAME_AW(DeletePrintProvidor)
1333#define IsValidDevmode __MINGW_NAME_AW(IsValidDevmode)
1334
1337 WINBOOL WINAPI DeletePrintProvidorA(LPSTR pName,LPSTR pEnvironment,LPSTR pPrintProvidorName);
1338 WINBOOL WINAPI DeletePrintProvidorW(LPWSTR pName,LPWSTR pEnvironment,LPWSTR pPrintProvidorName);
1339 WINBOOL WINAPI IsValidDevmodeA (PDEVMODEA pDevmode,size_t DevmodeSize);
1340 WINBOOL WINAPI IsValidDevmodeW (PDEVMODEW pDevmode,size_t DevmodeSize);
1341
1342#define SPLREG_DEFAULT_SPOOL_DIRECTORY TEXT("DefaultSpoolDirectory")
1343#define SPLREG_PORT_THREAD_PRIORITY_DEFAULT TEXT("PortThreadPriorityDefault")
1344#define SPLREG_PORT_THREAD_PRIORITY TEXT("PortThreadPriority")
1345#define SPLREG_SCHEDULER_THREAD_PRIORITY_DEFAULT TEXT("SchedulerThreadPriorityDefault")
1346#define SPLREG_SCHEDULER_THREAD_PRIORITY TEXT("SchedulerThreadPriority")
1347#define SPLREG_BEEP_ENABLED TEXT("BeepEnabled")
1348#define SPLREG_NET_POPUP TEXT("NetPopup")
1349#define SPLREG_RETRY_POPUP TEXT("RetryPopup")
1350#define SPLREG_NET_POPUP_TO_COMPUTER TEXT("NetPopupToComputer")
1351#define SPLREG_EVENT_LOG TEXT("EventLog")
1352#define SPLREG_MAJOR_VERSION TEXT("MajorVersion")
1353#define SPLREG_MINOR_VERSION TEXT("MinorVersion")
1354#define SPLREG_ARCHITECTURE TEXT("Architecture")
1355#define SPLREG_OS_VERSION TEXT("OSVersion")
1356#define SPLREG_OS_VERSIONEX TEXT("OSVersionEx")
1357#define SPLREG_DS_PRESENT TEXT("DsPresent")
1358#define SPLREG_DS_PRESENT_FOR_USER TEXT("DsPresentForUser")
1359#define SPLREG_REMOTE_FAX TEXT("RemoteFax")
1360#define SPLREG_RESTART_JOB_ON_POOL_ERROR TEXT("RestartJobOnPoolError")
1361#define SPLREG_RESTART_JOB_ON_POOL_ENABLED TEXT("RestartJobOnPoolEnabled")
1362#define SPLREG_DNS_MACHINE_NAME TEXT("DNSMachineName")
1363#define SPLREG_ALLOW_USER_MANAGEFORMS TEXT("AllowUserManageForms")
1364#define SPLREG_WEBSHAREMGMT TEXT("WebShareMgmt")
1365
1366#define SERVER_ACCESS_ADMINISTER 0x00000001
1367#define SERVER_ACCESS_ENUMERATE 0x00000002
1368
1369#define PRINTER_ACCESS_ADMINISTER 0x00000004
1370#define PRINTER_ACCESS_USE 0x00000008
1371
1372#define JOB_ACCESS_ADMINISTER 0x00000010
1373#define JOB_ACCESS_READ 0x00000020
1374
1375#define SERVER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | SERVER_ACCESS_ADMINISTER | SERVER_ACCESS_ENUMERATE)
1376#define SERVER_READ (STANDARD_RIGHTS_READ | SERVER_ACCESS_ENUMERATE)
1377#define SERVER_WRITE (STANDARD_RIGHTS_WRITE | SERVER_ACCESS_ADMINISTER | SERVER_ACCESS_ENUMERATE)
1378#define SERVER_EXECUTE (STANDARD_RIGHTS_EXECUTE | SERVER_ACCESS_ENUMERATE)
1379#define PRINTER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | PRINTER_ACCESS_ADMINISTER | PRINTER_ACCESS_USE)
1380#define PRINTER_READ (STANDARD_RIGHTS_READ | PRINTER_ACCESS_USE)
1381#define PRINTER_WRITE (STANDARD_RIGHTS_WRITE | PRINTER_ACCESS_USE)
1382#define PRINTER_EXECUTE (STANDARD_RIGHTS_EXECUTE | PRINTER_ACCESS_USE)
1383#define JOB_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | JOB_ACCESS_ADMINISTER | JOB_ACCESS_READ)
1384#define JOB_READ (STANDARD_RIGHTS_READ | JOB_ACCESS_READ)
1385#define JOB_WRITE (STANDARD_RIGHTS_WRITE | JOB_ACCESS_ADMINISTER)
1386#define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE | JOB_ACCESS_ADMINISTER)
1387
1388#define SPLDS_SPOOLER_KEY TEXT("DsSpooler")
1389#define SPLDS_DRIVER_KEY TEXT("DsDriver")
1390#define SPLDS_USER_KEY TEXT("DsUser")
1391
1392#define SPLDS_ASSET_NUMBER TEXT("assetNumber")
1393#define SPLDS_BYTES_PER_MINUTE TEXT("bytesPerMinute")
1394#define SPLDS_DESCRIPTION TEXT("description")
1395#define SPLDS_DRIVER_NAME TEXT("driverName")
1396#define SPLDS_DRIVER_VERSION TEXT("driverVersion")
1397#define SPLDS_LOCATION TEXT("location")
1398#define SPLDS_PORT_NAME TEXT("portName")
1399#define SPLDS_PRINT_ATTRIBUTES TEXT("printAttributes")
1400#define SPLDS_PRINT_BIN_NAMES TEXT("printBinNames")
1401#define SPLDS_PRINT_COLLATE TEXT("printCollate")
1402#define SPLDS_PRINT_COLOR TEXT("printColor")
1403#define SPLDS_PRINT_DUPLEX_SUPPORTED TEXT("printDuplexSupported")
1404#define SPLDS_PRINT_END_TIME TEXT("printEndTime")
1405#define SPLDS_PRINTER_CLASS TEXT("printQueue")
1406#define SPLDS_PRINTER_NAME TEXT("printerName")
1407#define SPLDS_PRINT_KEEP_PRINTED_JOBS TEXT("printKeepPrintedJobs")
1408#define SPLDS_PRINT_LANGUAGE TEXT("printLanguage")
1409#define SPLDS_PRINT_MAC_ADDRESS TEXT("printMACAddress")
1410#define SPLDS_PRINT_MAX_X_EXTENT TEXT("printMaxXExtent")
1411#define SPLDS_PRINT_MAX_Y_EXTENT TEXT("printMaxYExtent")
1412#define SPLDS_PRINT_MAX_RESOLUTION_SUPPORTED TEXT("printMaxResolutionSupported")
1413#define SPLDS_PRINT_MEDIA_READY TEXT("printMediaReady")
1414#define SPLDS_PRINT_MEDIA_SUPPORTED TEXT("printMediaSupported")
1415#define SPLDS_PRINT_MEMORY TEXT("printMemory")
1416#define SPLDS_PRINT_MIN_X_EXTENT TEXT("printMinXExtent")
1417#define SPLDS_PRINT_MIN_Y_EXTENT TEXT("printMinYExtent")
1418#define SPLDS_PRINT_NETWORK_ADDRESS TEXT("printNetworkAddress")
1419#define SPLDS_PRINT_NOTIFY TEXT("printNotify")
1420#define SPLDS_PRINT_NUMBER_UP TEXT("printNumberUp")
1421#define SPLDS_PRINT_ORIENTATIONS_SUPPORTED TEXT("printOrientationsSupported")
1422#define SPLDS_PRINT_OWNER TEXT("printOwner")
1423#define SPLDS_PRINT_PAGES_PER_MINUTE TEXT("printPagesPerMinute")
1424#define SPLDS_PRINT_RATE TEXT("printRate")
1425#define SPLDS_PRINT_RATE_UNIT TEXT("printRateUnit")
1426#define SPLDS_PRINT_SEPARATOR_FILE TEXT("printSeparatorFile")
1427#define SPLDS_PRINT_SHARE_NAME TEXT("printShareName")
1428#define SPLDS_PRINT_SPOOLING TEXT("printSpooling")
1429#define SPLDS_PRINT_STAPLING_SUPPORTED TEXT("printStaplingSupported")
1430#define SPLDS_PRINT_START_TIME TEXT("printStartTime")
1431#define SPLDS_PRINT_STATUS TEXT("printStatus")
1432#define SPLDS_PRIORITY TEXT("priority")
1433#define SPLDS_SERVER_NAME TEXT("serverName")
1434#define SPLDS_SHORT_SERVER_NAME TEXT("shortServerName")
1435#define SPLDS_UNC_NAME TEXT("uNCName")
1436#define SPLDS_URL TEXT("url")
1437#define SPLDS_FLAGS TEXT("flags")
1438#define SPLDS_VERSION_NUMBER TEXT("versionNumber")
1439
1440#define SPLDS_PRINTER_NAME_ALIASES TEXT("printerNameAliases")
1441#define SPLDS_PRINTER_LOCATIONS TEXT("printerLocations")
1442#define SPLDS_PRINTER_MODEL TEXT("printerModel")
1443
1444#if (_WIN32_WINNT >= 0x0600)
1445#define AddPrinterConnection2 __MINGW_NAME_AW(AddPrinterConnection2)
1446#define DeletePrinterDriverPackage __MINGW_NAME_AW(DeletePrinterDriverPackage)
1447#define DocumentEvent __MINGW_NAME_AW(DocumentEvent)
1448
1449#define PRINTER_CONNECTION_MISMATCH 0x00000020
1450#define PRINTER_CONNECTION_NO_UI 0x00000040
1451
1452typedef enum tagPRINTER_OPTION_FLAGS {
1453 PRINTER_OPTION_NO_CACHE,
1454 PRINTER_OPTION_CACHE,
1455 PRINTER_OPTION_CLIENT_CHANGE
1456} PRINTER_OPTION_FLAGS;
1457
1458typedef enum tagEPrintXPSJobOperation {
1459 kJobProduction,
1460 kJobConsumption
1461} EPrintXPSJobOperation;
1462
1463typedef enum tagEPrintXPSJobProgress {
1464 kAddingDocumentSequence,
1465 kDocumentSequenceAdded,
1466 kAddingFixedDocument,
1467 kFixedDocumentAdded,
1468 kAddingFixedPage,
1469 kFixedPageAdded,
1470 kResourceAdded,
1471 kFontAdded,
1472 kImageAdded,
1473 kXpsDocumentCommitted
1474} EPrintXPSJobProgress;
1475
1476typedef struct _PRINTER_CONNECTION_INFO_1 {
1477 DWORD dwFlags;
1478 LPTSTR pszDriverName;
1479} PRINTER_CONNECTION_INFO_1, *PPRINTER_CONNECTION_INFO_1;
1480
1481 WINBOOL AddPrinterConnection2W(HWND hWnd,LPCWSTR pszName,DWORD dwLevel,PVOID pConnectionInfo);
1482 WINBOOL AddPrinterConnection2A(HWND hWnd,LPCSTR pszName,DWORD dwLevel,PVOID pConnectionInfo); /*Not supported and returns ERROR_NOT_SUPPORTED.*/
1483
1484HRESULT WINAPI DeletePrinterDriverPackageA(
1485 LPCSTR pszServer,
1486 LPCSTR pszInfPath,
1488);
1489
1490HRESULT WINAPI DeletePrinterDriverPackageW(
1491 LPCWSTR pszServer,
1492 LPCWSTR pszInfPath,
1494);
1495
1496HRESULT DocumentEventA(
1497 HANDLE hPrinter,
1498 HDC hdc,
1499 INT iEsc,
1500 ULONG cbIn,
1501 PVOID pvIn,
1502 ULONG cbOut,
1503 PVOID pvOut
1504);
1505
1506HRESULT DocumentEventW(
1507 HANDLE hPrinter,
1508 HDC hdc,
1509 INT iEsc,
1510 ULONG cbIn,
1511 PVOID pvIn,
1512 ULONG cbOut,
1513 PVOID pvOut
1514);
1515
1516typedef struct _PRINTPROCESSOR_CAPS_2 {
1517 DWORD dwLevel;
1518 DWORD dwNupOptions;
1519 DWORD dwPageOrderFlags;
1520 DWORD dwNumberOfCopies;
1521 DWORD dwNupDirectionCaps;
1522 DWORD dwNupBorderCaps;
1523 DWORD dwBookletHandlingCaps;
1524 DWORD dwDuplexHandlingCaps;
1525 DWORD dwScalingCaps;
1526} PRINTPROCESSOR_CAPS_2, *PPRINTPROCESSOR_CAPS_2;
1527
1528HRESULT ReportJobProcessingProgress(
1529 HANDLE printerHandle,
1530 ULONG jobId,
1531 EPrintXPSJobOperation jobOperation,
1532 EPrintXPSJobProgress jobProgress
1533);
1534
1535typedef struct _CORE_PRINTER_DRIVERA {
1536 GUID CoreDriverGUID;
1537 FILETIME ftDriverDate;
1538 DWORDLONG dwlDriverVersion;
1539 CHAR szPackageID[MAX_PATH];
1540} CORE_PRINTER_DRIVERA, *PCORE_PRINTER_DRIVERA;
1541
1542typedef struct _CORE_PRINTER_DRIVERW {
1543 GUID CoreDriverGUID;
1544 FILETIME ftDriverDate;
1545 DWORDLONG dwlDriverVersion;
1546 WCHAR szPackageID[MAX_PATH];
1547} CORE_PRINTER_DRIVERW, *PCORE_PRINTER_DRIVERW;
1548
1549typedef struct _PRINTER_OPTIONS {
1550 UINT cbSize;
1551 DWORD dwFlags;
1552} PRINTER_OPTIONS, *PPRINTER_OPTIONS;
1553
1554__MINGW_TYPEDEF_AW(CORE_PRINTER_DRIVER)
1555__MINGW_TYPEDEF_AW(PCORE_PRINTER_DRIVER)
1556#define GetCorePrinterDrivers __MINGW_NAME_AW(GetCorePrinterDrivers)
1557#define GetPrinterDriver2 __MINGW_NAME_AW(GetPrinterDriver2)
1558#define GetPrinterDriverPackagePath __MINGW_NAME_AW(GetPrinterDriverPackagePath)
1559#define GetSpoolFileHandle __MINGW_NAME_AW(GetSpoolFileHandle)
1560
1561HRESULT WINAPI GetCorePrinterDriversA(
1562 LPCSTR pszServer,
1564 LPCSTR pszzCoreDriverDependencies,
1565 DWORD cCorePrinterDrivers,
1566 PCORE_PRINTER_DRIVERA pCorePrinterDrivers
1567);
1568
1569HRESULT WINAPI GetCorePrinterDriversW(
1570 LPCWSTR pszServer,
1572 LPCWSTR pszzCoreDriverDependencies,
1573 DWORD cCorePrinterDrivers,
1574 PCORE_PRINTER_DRIVERW pCorePrinterDrivers
1575);
1576
1577/*Unsupported*/
1578WINBOOL WINAPI GetPrinterDriver2A(
1579 HWND hWnd,
1580 HANDLE hPrinter,
1581 LPSTR pEnvironment,
1582 DWORD Level,
1583 LPBYTE pDriverInfo,
1584 DWORD cbBuf,
1586);
1587
1588WINBOOL WINAPI GetPrinterDriver2W(
1589 HWND hWnd,
1590 HANDLE hPrinter,
1591 LPWSTR pEnvironment,
1592 DWORD Level,
1593 LPBYTE pDriverInfo,
1594 DWORD cbBuf,
1596);
1597
1598HRESULT WINAPI GetPrinterDriverPackagePathA(
1599 LPCSTR pszServer,
1601 LPCSTR pszLanguage,
1602 LPCSTR pszPackageID,
1603 LPSTR pszDriverPackageCab,
1604 DWORD cchDriverPackageCab,
1605 LPDWORD pcchRequiredSize
1606);
1607
1608HRESULT WINAPI GetPrinterDriverPackagePathW(
1609 LPCWSTR pszServer,
1611 LPCWSTR pszLanguage,
1612 LPCWSTR pszPackageID,
1613 LPWSTR pszDriverPackageCab,
1614 DWORD cchDriverPackageCab,
1615 LPDWORD pcchRequiredSize
1616);
1617
1618HANDLE WINAPI GetSpoolFileHandleA(
1619 HANDLE hPrinter
1620);
1621
1622HANDLE WINAPI GetSpoolFileHandleW(
1623 HANDLE hPrinter
1624);
1625
1627 HANDLE hPrinter,
1628 HANDLE hSpoolFile,
1629 DWORD cbCommit
1630);
1631
1633 HANDLE hPrinter,
1634 HANDLE hSpoolFile
1635);
1636
1637WINBOOL WINAPI OpenPrinter2A(
1638 LPCSTR pPrinterName,
1639 LPHANDLE phPrinter,
1640 LPPRINTER_DEFAULTS pDefault,
1641 PPRINTER_OPTIONS pOptions
1642);
1643
1644WINBOOL WINAPI OpenPrinter2W(
1645 LPCWSTR pPrinterName,
1646 LPHANDLE phPrinter,
1647 LPPRINTER_DEFAULTS pDefault,
1648 PPRINTER_OPTIONS pOptions
1649);
1650
1651#define OpenPrinter2 __MINGW_NAME_AW(OpenPrinter2)
1652
1653HRESULT WINAPI UploadPrinterDriverPackageA(
1654 LPCSTR pszServer,
1655 LPCSTR pszInfPath,
1657 DWORD dwFlags,
1658 HWND hwnd,
1659 LPSTR pszDestInfPath,
1660 PULONG pcchDestInfPath
1661);
1662
1663HRESULT WINAPI UploadPrinterDriverPackageW(
1664 LPCWSTR pszServer,
1665 LPCWSTR pszInfPath,
1667 DWORD dwFlags,
1668 HWND hwnd,
1669 LPWSTR pszDestInfPath,
1670 PULONG pcchDestInfPath
1671);
1672
1673#define UploadPrinterDriverPackage __MINGW_NAME_AW(UploadPrinterDriverPackage)
1674
1675#endif /*(_WIN32_WINNT >= 0x0600)*/
1676
1677#ifdef __cplusplus
1678}
1679#endif
1680#endif
Type
Definition: Type.h:7
#define __MINGW_TYPEDEF_AW(type)
HWND hWnd
Definition: settings.c:17
BOOL Error
Definition: chkdsk.c:66
HANDLE WINAPI CommitSpoolData(HANDLE hPrinter, HANDLE hSpoolFile, DWORD cbCommit)
Definition: spoolfile.c:65
BOOL WINAPI CloseSpoolFileHandle(HANDLE hPrinter, HANDLE hSpoolFile)
Definition: spoolfile.c:119
#define MAX_PATH
Definition: compat.h:34
HINSTANCE hInst
Definition: dxdiag.c:13
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
GLint level
Definition: gl.h:1546
unsigned long long DWORDLONG
Definition: intsafe.h:93
static HANDLE hXcv
Definition: localmon.c:73
LPCWSTR LPCWSTR LPCWSTR pszEnvironment
Definition: env.c:37
HDC hdc
Definition: main.c:9
static LPSTR pName
Definition: security.c:75
static HDC
Definition: imagelist.c:92
unsigned int UINT
Definition: ndis.h:50
ULONG ACCESS_MASK
Definition: nt_native.h:40
WORD * PWORD
Definition: pedump.c:67
BYTE * PBYTE
Definition: pedump.c:66
DWORD * PDWORD
Definition: pedump.c:68
long LONG
Definition: pedump.c:60
Definition: shell.h:41
union _BIDI_DATA::@3309 u
LPWSTR sData
Definition: winspool.h:1143
WINBOOL bData
Definition: winspool.h:1141
BINARY_CONTAINER biData
Definition: winspool.h:1145
LONG iData
Definition: winspool.h:1142
DWORD dwBidiType
Definition: winspool.h:1139
FLOAT fData
Definition: winspool.h:1144
BIDI_REQUEST_DATA aData[1]
Definition: winspool.h:1159
BIDI_DATA data
Definition: winspool.h:1152
BIDI_RESPONSE_DATA aData[1]
Definition: winspool.h:1173
LPSTR pOutputFile
Definition: winspool.h:611
LPSTR pDocName
Definition: winspool.h:610
LPSTR pDatatype
Definition: winspool.h:612
LPWSTR pOutputFile
Definition: winspool.h:617
LPWSTR pDatatype
Definition: winspool.h:618
LPWSTR pDocName
Definition: winspool.h:616
LPSTR pOutputFile
Definition: winspool.h:678
LPSTR pDocName
Definition: winspool.h:677
DWORD dwMode
Definition: winspool.h:680
LPSTR pDatatype
Definition: winspool.h:679
DWORD JobId
Definition: winspool.h:681
DWORD JobId
Definition: winspool.h:689
LPWSTR pOutputFile
Definition: winspool.h:686
DWORD dwMode
Definition: winspool.h:688
LPWSTR pDocName
Definition: winspool.h:685
LPWSTR pDatatype
Definition: winspool.h:687
LPSTR pDocName
Definition: winspool.h:700
LPSTR pOutputFile
Definition: winspool.h:701
DWORD dwFlags
Definition: winspool.h:703
LPSTR pDatatype
Definition: winspool.h:702
LPWSTR pDatatype
Definition: winspool.h:709
DWORD dwFlags
Definition: winspool.h:710
LPWSTR pOutputFile
Definition: winspool.h:708
LPWSTR pDocName
Definition: winspool.h:707
LPWSTR pName
Definition: winspool.h:373
LPSTR pConfigFile
Definition: winspool.h:386
LPSTR pDriverPath
Definition: winspool.h:384
DWORD cVersion
Definition: winspool.h:381
LPSTR pDataFile
Definition: winspool.h:385
LPSTR pEnvironment
Definition: winspool.h:383
DWORD cVersion
Definition: winspool.h:390
LPWSTR pDriverPath
Definition: winspool.h:393
LPWSTR pDataFile
Definition: winspool.h:394
LPWSTR pEnvironment
Definition: winspool.h:392
LPWSTR pName
Definition: winspool.h:391
LPWSTR pConfigFile
Definition: winspool.h:395
LPSTR pDriverPath
Definition: winspool.h:406
LPSTR pConfigFile
Definition: winspool.h:408
DWORD cVersion
Definition: winspool.h:403
LPSTR pMonitorName
Definition: winspool.h:411
LPSTR pDataFile
Definition: winspool.h:407
LPSTR pEnvironment
Definition: winspool.h:405
LPSTR pDependentFiles
Definition: winspool.h:410
LPSTR pDefaultDataType
Definition: winspool.h:412
LPSTR pHelpFile
Definition: winspool.h:409
LPWSTR pDataFile
Definition: winspool.h:420
LPWSTR pEnvironment
Definition: winspool.h:418
LPWSTR pMonitorName
Definition: winspool.h:424
LPWSTR pHelpFile
Definition: winspool.h:422
DWORD cVersion
Definition: winspool.h:416
LPWSTR pName
Definition: winspool.h:417
LPWSTR pDriverPath
Definition: winspool.h:419
LPWSTR pDependentFiles
Definition: winspool.h:423
LPWSTR pConfigFile
Definition: winspool.h:421
LPWSTR pDefaultDataType
Definition: winspool.h:425
DWORD cVersion
Definition: winspool.h:433
LPSTR pMonitorName
Definition: winspool.h:441
LPSTR pDataFile
Definition: winspool.h:437
LPSTR pEnvironment
Definition: winspool.h:435
LPSTR pDependentFiles
Definition: winspool.h:440
LPSTR pDefaultDataType
Definition: winspool.h:442
LPSTR pHelpFile
Definition: winspool.h:439
LPSTR pConfigFile
Definition: winspool.h:438
LPSTR pszzPreviousNames
Definition: winspool.h:443
LPSTR pDriverPath
Definition: winspool.h:436
LPWSTR pEnvironment
Definition: winspool.h:449
LPWSTR pDefaultDataType
Definition: winspool.h:456
LPWSTR pDependentFiles
Definition: winspool.h:454
LPWSTR pszzPreviousNames
Definition: winspool.h:457
LPWSTR pDriverPath
Definition: winspool.h:450
LPWSTR pMonitorName
Definition: winspool.h:455
LPWSTR pDataFile
Definition: winspool.h:451
LPWSTR pConfigFile
Definition: winspool.h:452
LPWSTR pName
Definition: winspool.h:448
DWORD cVersion
Definition: winspool.h:447
LPWSTR pHelpFile
Definition: winspool.h:453
LPSTR pEnvironment
Definition: winspool.h:467
LPSTR pDataFile
Definition: winspool.h:469
DWORD cVersion
Definition: winspool.h:465
DWORD dwDriverVersion
Definition: winspool.h:473
LPSTR pConfigFile
Definition: winspool.h:470
LPSTR pDriverPath
Definition: winspool.h:468
DWORD dwConfigVersion
Definition: winspool.h:472
DWORD dwDriverAttributes
Definition: winspool.h:471
DWORD dwConfigVersion
Definition: winspool.h:484
LPWSTR pConfigFile
Definition: winspool.h:482
LPWSTR pName
Definition: winspool.h:478
DWORD cVersion
Definition: winspool.h:477
DWORD dwDriverAttributes
Definition: winspool.h:483
LPWSTR pDriverPath
Definition: winspool.h:480
LPWSTR pDataFile
Definition: winspool.h:481
LPWSTR pEnvironment
Definition: winspool.h:479
DWORD dwDriverVersion
Definition: winspool.h:485
LPSTR pszzPreviousNames
Definition: winspool.h:503
LPSTR pszOEMUrl
Definition: winspool.h:507
LPSTR pHelpFile
Definition: winspool.h:499
LPSTR pszMfgName
Definition: winspool.h:506
LPSTR pszHardwareID
Definition: winspool.h:508
FILETIME ftDriverDate
Definition: winspool.h:504
DWORDLONG dwlDriverVersion
Definition: winspool.h:505
LPSTR pConfigFile
Definition: winspool.h:498
DWORD cVersion
Definition: winspool.h:493
LPSTR pDependentFiles
Definition: winspool.h:500
LPSTR pDataFile
Definition: winspool.h:497
LPSTR pDefaultDataType
Definition: winspool.h:502
LPSTR pMonitorName
Definition: winspool.h:501
LPSTR pEnvironment
Definition: winspool.h:495
LPSTR pDriverPath
Definition: winspool.h:496
LPSTR pszProvider
Definition: winspool.h:509
LPWSTR pEnvironment
Definition: winspool.h:515
LPWSTR pConfigFile
Definition: winspool.h:518
LPWSTR pMonitorName
Definition: winspool.h:521
LPWSTR pDataFile
Definition: winspool.h:517
LPWSTR pszOEMUrl
Definition: winspool.h:527
FILETIME ftDriverDate
Definition: winspool.h:524
DWORDLONG dwlDriverVersion
Definition: winspool.h:525
LPWSTR pszzPreviousNames
Definition: winspool.h:523
LPWSTR pszMfgName
Definition: winspool.h:526
DWORD cVersion
Definition: winspool.h:513
LPWSTR pDefaultDataType
Definition: winspool.h:522
LPWSTR pDriverPath
Definition: winspool.h:516
LPWSTR pDependentFiles
Definition: winspool.h:520
LPWSTR pName
Definition: winspool.h:514
LPWSTR pHelpFile
Definition: winspool.h:519
LPWSTR pszHardwareID
Definition: winspool.h:528
LPWSTR pszProvider
Definition: winspool.h:529
LPSTR pszzPreviousNames
Definition: winspool.h:575
FILETIME ftMinInboxDriverVerDate
Definition: winspool.h:588
DWORD dwPrinterDriverAttributes
Definition: winspool.h:586
DWORDLONG dwlDriverVersion
Definition: winspool.h:577
LPSTR pDefaultDataType
Definition: winspool.h:574
LPSTR pszPrintProcessor
Definition: winspool.h:582
LPSTR pszzColorProfiles
Definition: winspool.h:584
LPSTR pszzCoreDriverDependencies
Definition: winspool.h:587
LPSTR pMonitorName
Definition: winspool.h:573
LPSTR pszHardwareID
Definition: winspool.h:580
LPSTR pDataFile
Definition: winspool.h:569
LPSTR pszProvider
Definition: winspool.h:581
LPSTR pDriverPath
Definition: winspool.h:568
LPSTR pszMfgName
Definition: winspool.h:578
DWORDLONG dwlMinInboxDriverVerVersion
Definition: winspool.h:589
LPSTR pDependentFiles
Definition: winspool.h:572
LPSTR pszVendorSetup
Definition: winspool.h:583
LPSTR pszInfPath
Definition: winspool.h:585
FILETIME ftDriverDate
Definition: winspool.h:576
LPSTR pszOEMUrl
Definition: winspool.h:579
DWORD cVersion
Definition: winspool.h:565
LPSTR pEnvironment
Definition: winspool.h:567
LPSTR pConfigFile
Definition: winspool.h:570
LPSTR pHelpFile
Definition: winspool.h:571
DWORD cVersion
Definition: winspool.h:537
LPWSTR pszVendorSetup
Definition: winspool.h:555
LPWSTR pDependentFiles
Definition: winspool.h:544
LPWSTR pDataFile
Definition: winspool.h:541
LPWSTR pszPrintProcessor
Definition: winspool.h:554
LPWSTR pEnvironment
Definition: winspool.h:539
LPWSTR pszMfgName
Definition: winspool.h:550
DWORDLONG dwlMinInboxDriverVerVersion
Definition: winspool.h:561
LPWSTR pszzCoreDriverDependencies
Definition: winspool.h:559
LPWSTR pDriverPath
Definition: winspool.h:540
DWORDLONG dwlDriverVersion
Definition: winspool.h:549
FILETIME ftMinInboxDriverVerDate
Definition: winspool.h:560
LPWSTR pszzColorProfiles
Definition: winspool.h:556
LPWSTR pDefaultDataType
Definition: winspool.h:546
DWORD dwPrinterDriverAttributes
Definition: winspool.h:558
LPWSTR pMonitorName
Definition: winspool.h:545
LPWSTR pszInfPath
Definition: winspool.h:557
LPWSTR pszProvider
Definition: winspool.h:553
LPWSTR pszOEMUrl
Definition: winspool.h:551
LPWSTR pConfigFile
Definition: winspool.h:542
LPWSTR pszzPreviousNames
Definition: winspool.h:547
LPWSTR pszHardwareID
Definition: winspool.h:552
LPWSTR pHelpFile
Definition: winspool.h:543
FILETIME ftDriverDate
Definition: winspool.h:548
LPWSTR pName
Definition: winspool.h:538
DWORD Flags
Definition: winspool.h:626
LPSTR pName
Definition: winspool.h:627
RECTL ImageableArea
Definition: winspool.h:629
SIZEL Size
Definition: winspool.h:628
DWORD Flags
Definition: winspool.h:633
LPWSTR pName
Definition: winspool.h:634
RECTL ImageableArea
Definition: winspool.h:636
SIZEL Size
Definition: winspool.h:635
DWORD dwResourceId
Definition: winspool.h:651
SIZEL Size
Definition: winspool.h:646
RECTL ImageableArea
Definition: winspool.h:647
LPCSTR pKeyword
Definition: winspool.h:648
LPCSTR pDisplayName
Definition: winspool.h:652
DWORD StringType
Definition: winspool.h:649
DWORD Flags
Definition: winspool.h:644
LPSTR pName
Definition: winspool.h:645
LANGID wLangId
Definition: winspool.h:653
LPCSTR pMuiDll
Definition: winspool.h:650
LPCWSTR pMuiDll
Definition: winspool.h:663
DWORD dwResourceId
Definition: winspool.h:664
LPWSTR pName
Definition: winspool.h:658
LPCWSTR pDisplayName
Definition: winspool.h:665
SIZEL Size
Definition: winspool.h:659
LANGID wLangId
Definition: winspool.h:666
LPCSTR pKeyword
Definition: winspool.h:661
DWORD Flags
Definition: winspool.h:657
DWORD StringType
Definition: winspool.h:662
RECTL ImageableArea
Definition: winspool.h:660
SYSTEMTIME Submitted
Definition: winspool.h:245
LPSTR pPrinterName
Definition: winspool.h:234
LPSTR pDatatype
Definition: winspool.h:238
DWORD JobId
Definition: winspool.h:233
DWORD PagesPrinted
Definition: winspool.h:244
LPSTR pMachineName
Definition: winspool.h:235
LPSTR pDocument
Definition: winspool.h:237
DWORD Status
Definition: winspool.h:240
DWORD Priority
Definition: winspool.h:241
DWORD Position
Definition: winspool.h:242
LPSTR pUserName
Definition: winspool.h:236
DWORD TotalPages
Definition: winspool.h:243
LPSTR pStatus
Definition: winspool.h:239
LPWSTR pMachineName
Definition: winspool.h:251
DWORD JobId
Definition: winspool.h:249
DWORD Priority
Definition: winspool.h:257
DWORD TotalPages
Definition: winspool.h:259
LPWSTR pPrinterName
Definition: winspool.h:250
LPWSTR pStatus
Definition: winspool.h:255
LPWSTR pDocument
Definition: winspool.h:253
DWORD Position
Definition: winspool.h:258
LPWSTR pUserName
Definition: winspool.h:252
DWORD Status
Definition: winspool.h:256
DWORD PagesPrinted
Definition: winspool.h:260
SYSTEMTIME Submitted
Definition: winspool.h:261
LPWSTR pDatatype
Definition: winspool.h:254
DWORD JobId
Definition: winspool.h:269
LPSTR pDocument
Definition: winspool.h:273
LPSTR pPrinterName
Definition: winspool.h:270
LPSTR pNotifyName
Definition: winspool.h:274
DWORD PagesPrinted
Definition: winspool.h:291
DWORD Priority
Definition: winspool.h:283
DWORD StartTime
Definition: winspool.h:285
LPSTR pPrintProcessor
Definition: winspool.h:276
SYSTEMTIME Submitted
Definition: winspool.h:289
DWORD Position
Definition: winspool.h:284
LPSTR pDriverName
Definition: winspool.h:278
DWORD Status
Definition: winspool.h:282
DWORD UntilTime
Definition: winspool.h:286
LPSTR pParameters
Definition: winspool.h:277
LPSTR pUserName
Definition: winspool.h:272
DWORD TotalPages
Definition: winspool.h:287
LPSTR pDatatype
Definition: winspool.h:275
PSECURITY_DESCRIPTOR pSecurityDescriptor
Definition: winspool.h:281
LPDEVMODEA pDevMode
Definition: winspool.h:279
DWORD Time
Definition: winspool.h:290
DWORD Size
Definition: winspool.h:288
LPSTR pStatus
Definition: winspool.h:280
LPSTR pMachineName
Definition: winspool.h:271
LPWSTR pParameters
Definition: winspool.h:303
DWORD StartTime
Definition: winspool.h:311
DWORD UntilTime
Definition: winspool.h:312
PSECURITY_DESCRIPTOR pSecurityDescriptor
Definition: winspool.h:307
DWORD Time
Definition: winspool.h:316
DWORD Position
Definition: winspool.h:310
LPDEVMODEW pDevMode
Definition: winspool.h:305
DWORD JobId
Definition: winspool.h:295
LPWSTR pPrintProcessor
Definition: winspool.h:302
LPWSTR pDocument
Definition: winspool.h:299
LPWSTR pDatatype
Definition: winspool.h:301
LPWSTR pMachineName
Definition: winspool.h:297
DWORD Status
Definition: winspool.h:308
LPWSTR pUserName
Definition: winspool.h:298
DWORD PagesPrinted
Definition: winspool.h:317
LPWSTR pDriverName
Definition: winspool.h:304
LPWSTR pPrinterName
Definition: winspool.h:296
SYSTEMTIME Submitted
Definition: winspool.h:315
DWORD Size
Definition: winspool.h:314
LPWSTR pNotifyName
Definition: winspool.h:300
DWORD TotalPages
Definition: winspool.h:313
DWORD Priority
Definition: winspool.h:309
LPWSTR pStatus
Definition: winspool.h:306
DWORD JobId
Definition: winspool.h:325
DWORD NextJobId
Definition: winspool.h:326
DWORD Reserved
Definition: winspool.h:327
LPSTR pEnvironment
Definition: winspool.h:828
LPWSTR pEnvironment
Definition: winspool.h:834
LPWSTR pDLLName
Definition: winspool.h:835
LPSTR pName
Definition: winspool.h:746
LPWSTR pName
Definition: winspool.h:749
DWORD fPortType
Definition: winspool.h:760
LPSTR pMonitorName
Definition: winspool.h:758
DWORD Reserved
Definition: winspool.h:761
LPSTR pDescription
Definition: winspool.h:759
LPSTR pPortName
Definition: winspool.h:757
LPWSTR pDescription
Definition: winspool.h:767
LPWSTR pPortName
Definition: winspool.h:765
LPWSTR pMonitorName
Definition: winspool.h:766
DWORD fPortType
Definition: winspool.h:768
DWORD Reserved
Definition: winspool.h:769
DWORD dwSeverity
Definition: winspool.h:784
DWORD dwStatus
Definition: winspool.h:782
LPSTR pszStatus
Definition: winspool.h:783
DWORD dwStatus
Definition: winspool.h:788
LPWSTR pszStatus
Definition: winspool.h:789
DWORD dwSeverity
Definition: winspool.h:790
LPDEVMODEA pDevMode
Definition: winspool.h:856
ACCESS_MASK DesiredAccess
Definition: winspool.h:857
LPDEVMODEW pDevMode
Definition: winspool.h:862
ACCESS_MASK DesiredAccess
Definition: winspool.h:863
LPSTR pComment
Definition: winspool.h:23
LPSTR pDescription
Definition: winspool.h:21
LPWSTR pName
Definition: winspool.h:29
LPWSTR pComment
Definition: winspool.h:30
LPWSTR pDescription
Definition: winspool.h:28
DWORD Priority
Definition: winspool.h:52
LPDEVMODEA pDevMode
Definition: winspool.h:45
LPSTR pDriverName
Definition: winspool.h:42
LPSTR pParameters
Definition: winspool.h:49
LPSTR pPrinterName
Definition: winspool.h:39
LPSTR pDatatype
Definition: winspool.h:48
DWORD DefaultPriority
Definition: winspool.h:53
LPSTR pPortName
Definition: winspool.h:41
PSECURITY_DESCRIPTOR pSecurityDescriptor
Definition: winspool.h:50
DWORD StartTime
Definition: winspool.h:54
LPSTR pSepFile
Definition: winspool.h:46
DWORD UntilTime
Definition: winspool.h:55
LPSTR pServerName
Definition: winspool.h:38
DWORD Attributes
Definition: winspool.h:51
LPSTR pComment
Definition: winspool.h:43
DWORD AveragePPM
Definition: winspool.h:58
LPSTR pLocation
Definition: winspool.h:44
LPSTR pShareName
Definition: winspool.h:40
LPSTR pPrintProcessor
Definition: winspool.h:47
DWORD DefaultPriority
Definition: winspool.h:77
DWORD AveragePPM
Definition: winspool.h:82
DWORD StartTime
Definition: winspool.h:78
LPWSTR pPrintProcessor
Definition: winspool.h:71
LPWSTR pSepFile
Definition: winspool.h:70
DWORD UntilTime
Definition: winspool.h:79
LPWSTR pDatatype
Definition: winspool.h:72
LPWSTR pServerName
Definition: winspool.h:62
LPWSTR pLocation
Definition: winspool.h:68
LPWSTR pPrinterName
Definition: winspool.h:63
DWORD Priority
Definition: winspool.h:76
LPWSTR pComment
Definition: winspool.h:67
LPWSTR pPortName
Definition: winspool.h:65
DWORD Attributes
Definition: winspool.h:75
LPWSTR pDriverName
Definition: winspool.h:66
LPWSTR pShareName
Definition: winspool.h:64
LPDEVMODEW pDevMode
Definition: winspool.h:69
PSECURITY_DESCRIPTOR pSecurityDescriptor
Definition: winspool.h:74
LPWSTR pParameters
Definition: winspool.h:73
PSECURITY_DESCRIPTOR pSecurityDescriptor
Definition: winspool.h:90
DWORD Attributes
Definition: winspool.h:96
LPSTR pPrinterName
Definition: winspool.h:94
LPSTR pServerName
Definition: winspool.h:95
DWORD Attributes
Definition: winspool.h:102
LPWSTR pServerName
Definition: winspool.h:101
LPWSTR pPrinterName
Definition: winspool.h:100
DWORD Attributes
Definition: winspool.h:112
DWORD DeviceNotSelectedTimeout
Definition: winspool.h:113
LPSTR pPrinterName
Definition: winspool.h:110
DWORD TransmissionRetryTimeout
Definition: winspool.h:114
DWORD TransmissionRetryTimeout
Definition: winspool.h:122
LPWSTR pPrinterName
Definition: winspool.h:118
DWORD DeviceNotSelectedTimeout
Definition: winspool.h:121
LPWSTR pPortName
Definition: winspool.h:119
DWORD Attributes
Definition: winspool.h:120
DWORD dwStatus
Definition: winspool.h:130
LPSTR pszObjectGUID
Definition: winspool.h:134
LPWSTR pszObjectGUID
Definition: winspool.h:139
LPDEVMODEA pDevMode
Definition: winspool.h:154
LPDEVMODEW pDevMode
Definition: winspool.h:158
LPDEVMODEA pDevMode
Definition: winspool.h:166
LPDEVMODEW pDevMode
Definition: winspool.h:170
union _PRINTER_NOTIFY_INFO_DATA::@3307 NotifyData
struct _PRINTER_NOTIFY_INFO_DATA::@3307::@3308 Data
PRINTER_NOTIFY_INFO_DATA aData[1]
Definition: winspool.h:1130
PPRINTER_NOTIFY_OPTIONS_TYPE pTypes
Definition: winspool.h:1107
LPWSTR pEnvironment
Definition: winspool.h:1311
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1830
LPCSTR pText
Definition: txtscale.cpp:79
uint32_t * PULONG
Definition: typedefs.h:59
WORD LANGID
Definition: typedefs.h:81
const uint16_t * PCWSTR
Definition: typedefs.h:57
int32_t WINBOOL
Definition: typedefs.h:58
unsigned char * LPBYTE
Definition: typedefs.h:53
float FLOAT
Definition: typedefs.h:69
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
*nSize LPSTR _Inout_ LPDWORD nSize
Definition: winbase.h:2062
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1176
_In_ DWORD _Out_writes_bytes_to_opt_ pcbData void _Inout_ DWORD * pcbData
Definition: wincrypt.h:4950
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
_In_ DWORD _Out_ PDWORD pcbNeeded
Definition: winddi.h:3828
_In_ ULONG iEsc
Definition: winddi.h:3529
#define WINAPI
Definition: msvc.h:6
struct _PRINTER_INFO_9A PRINTER_INFO_9A
DWORD WINAPI StartDocPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo)
LONG ExtDeviceMode(HWND hWnd, HANDLE hInst, LPDEVMODEA pDevModeOutput, LPSTR pDeviceName, LPSTR pPort, LPDEVMODEA pDevModeInput, LPSTR pProfile, DWORD fMode)
struct _PRINTER_NOTIFY_OPTIONS_TYPE * PPRINTER_NOTIFY_OPTIONS_TYPE
struct _PRINTER_INFO_2W * PPRINTER_INFO_2W
struct _PORT_INFO_2A * LPPORT_INFO_2A
struct _PRINTER_INFO_8W PRINTER_INFO_8W
struct _ADDJOB_INFO_1A * PADDJOB_INFO_1A
WINBOOL WINAPI OpenPrinterA(LPSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSA pDefault)
Definition: printers.c:2553
WINBOOL WINAPI AddPortA(LPSTR pName, HWND hWnd, LPSTR pMonitorName)
Definition: ports.c:420
WINBOOL WINAPI EnumFormsW(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _DOC_INFO_3A * PDOC_INFO_3A
struct _MONITOR_INFO_2A MONITOR_INFO_2A
struct _BIDI_RESPONSE_CONTAINER * LPBIDI_RESPONSE_CONTAINER
struct _MONITOR_INFO_1W * LPMONITOR_INFO_1W
struct _PRINTER_DEFAULTSA PRINTER_DEFAULTSA
struct _DOC_INFO_1W * LPDOC_INFO_1W
struct _PRINTER_INFO_2A * PPRINTER_INFO_2A
struct _PRINTER_NOTIFY_OPTIONS PRINTER_NOTIFY_OPTIONS
WINBOOL WINAPI EnumPrintProcessorsW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PORT_INFO_1A PORT_INFO_1A
struct _PRINTER_INFO_2A * LPPRINTER_INFO_2A
struct _PRINTER_ENUM_VALUESA * PPRINTER_ENUM_VALUESA
WINBOOL WINAPI DeletePrinterDriverW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pDriverName)
DWORD WINAPI DeletePrinterKeyA(HANDLE hPrinter, LPCSTR pKeyName)
Definition: printerdata.c:115
struct _PRINTER_INFO_5W PRINTER_INFO_5W
WINBOOL WINAPI DeleteFormW(HANDLE hPrinter, LPWSTR pFormName)
struct _DRIVER_INFO_2W DRIVER_INFO_2W
struct _PRINTER_ENUM_VALUESW * LPPRINTER_ENUM_VALUESW
struct _FORM_INFO_2W * PFORM_INFO_2W
WINBOOL WINAPI AddPrinterConnectionA(LPSTR pName)
struct _JOB_INFO_1A * LPJOB_INFO_1A
DWORD WINAPI PrinterMessageBoxW(HANDLE hPrinter, DWORD Error, HWND hWnd, LPWSTR pText, LPWSTR pCaption, DWORD dwType)
Definition: printers.c:330
WINBOOL WINAPI DeleteFormA(HANDLE hPrinter, LPSTR pFormName)
Definition: forms.c:129
struct _PROVIDOR_INFO_1W * LPPROVIDOR_INFO_1W
WINBOOL WINAPI SetPortA(LPSTR pName, LPSTR pPortName, DWORD dwLevel, LPBYTE pPortInfo)
WINBOOL WINAPI DeletePrinterDriverA(LPSTR pName, LPSTR pEnvironment, LPSTR pDriverName)
struct _DOC_INFO_1A * LPDOC_INFO_1A
WINBOOL WINAPI ReadPrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pNoBytesRead)
DWORD WINAPI SetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, DWORD Type, LPBYTE pData, DWORD cbData)
HANDLE WINAPI AddPrinterW(LPWSTR pName, DWORD Level, LPBYTE pPrinter)
DWORD WINAPI EnumPrinterDataW(HANDLE hPrinter, DWORD dwIndex, LPWSTR pValueName, DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, DWORD cbData, LPDWORD pcbData)
struct _FORM_INFO_1A * PFORM_INFO_1A
WINBOOL WINAPI DeletePrintProvidorW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pPrintProvidorName)
struct _BIDI_REQUEST_CONTAINER * LPBIDI_REQUEST_CONTAINER
struct _DRIVER_INFO_4A * LPDRIVER_INFO_4A
WINBOOL WINAPI DeleteMonitorW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pMonitorName)
struct _PROVIDOR_INFO_2W * PPROVIDOR_INFO_2W
DWORD WINAPI GetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, LPCSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded)
Definition: printerdata.c:333
WINBOOL WINAPI SetPortW(LPWSTR pName, LPWSTR pPortName, DWORD dwLevel, LPBYTE pPortInfo)
struct _BIDI_REQUEST_CONTAINER * PBIDI_REQUEST_CONTAINER
WINBOOL WINAPI GetDefaultPrinterW(LPWSTR pszBuffer, LPDWORD pcchBuffer)
Definition: printers.c:1942
struct _MONITOR_INFO_2W * PMONITOR_INFO_2W
struct _DRIVER_INFO_5A DRIVER_INFO_5A
WINBOOL WINAPI EnumPortsW(LPWSTR pName, DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PRINTER_INFO_4W * LPPRINTER_INFO_4W
struct _DRIVER_INFO_2A * LPDRIVER_INFO_2A
HANDLE WINAPI FindFirstPrinterChangeNotification(HANDLE hPrinter, DWORD fdwFlags, DWORD fdwOptions, LPVOID pPrinterNotifyOptions)
struct _PRINTER_DEFAULTSW * LPPRINTER_DEFAULTSW
struct _JOB_INFO_3 * PJOB_INFO_3
struct _FORM_INFO_1A * LPFORM_INFO_1A
WINBOOL WINAPI SetDefaultPrinterA(LPCSTR pszPrinter)
Definition: printers.c:2971
WINBOOL WINAPI GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded)
Definition: printers.c:2504
struct _BIDI_REQUEST_CONTAINER BIDI_REQUEST_CONTAINER
struct _DRIVER_INFO_6W DRIVER_INFO_6W
WINBOOL WINAPI DeletePrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pPrintProcessorName)
struct _PRINTER_INFO_1A * PPRINTER_INFO_1A
WINBOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded)
DWORD WINAPI PrinterMessageBoxA(HANDLE hPrinter, DWORD Error, HWND hWnd, LPSTR pText, LPSTR pCaption, DWORD dwType)
Definition: printers.c:2692
struct _DRIVER_INFO_1A DRIVER_INFO_1A
struct _PRINTER_NOTIFY_OPTIONS_TYPE PRINTER_NOTIFY_OPTIONS_TYPE
DWORD WINAPI SetPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, LPCSTR pValueName, DWORD Type, LPBYTE pData, DWORD cbData)
Definition: printerdata.c:551
struct _PRINTER_INFO_3 PRINTER_INFO_3
struct _PRINTER_INFO_1W PRINTER_INFO_1W
struct _JOB_INFO_3 JOB_INFO_3
struct _DRIVER_INFO_3W * LPDRIVER_INFO_3W
WINBOOL WINAPI EndPagePrinter(HANDLE hPrinter)
Definition: printers.c:232
struct _DRIVER_INFO_6W * PDRIVER_INFO_6W
WINBOOL WINAPI EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PRINTER_INFO_5A * LPPRINTER_INFO_5A
struct _FORM_INFO_2W FORM_INFO_2W
struct _MONITOR_INFO_1A MONITOR_INFO_1A
struct _PRINTER_INFO_2W PRINTER_INFO_2W
struct _DRIVER_INFO_1W DRIVER_INFO_1W
HANDLE WINAPI ConnectToPrinterDlg(HWND hwnd, DWORD Flags)
WINBOOL WINAPI EnumPrintProcessorDatatypesW(LPWSTR pName, LPWSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PROVIDOR_INFO_2W * LPPROVIDOR_INFO_2W
WINBOOL WINAPI GetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded)
struct _MONITOR_INFO_2A * PMONITOR_INFO_2A
struct _PRINTER_INFO_4W * PPRINTER_INFO_4W
WINBOOL WINAPI DeletePortA(LPSTR pName, HWND hWnd, LPSTR pPortName)
Definition: ports.c:705
WINBOOL WINAPI SetFormW(HANDLE hPrinter, LPWSTR pFormName, DWORD Level, LPBYTE pForm)
WINBOOL WINAPI AddPrinterDriverExW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo, DWORD dwFileCopyFlags)
struct _PROVIDOR_INFO_2W PROVIDOR_INFO_2W
struct _PORT_INFO_3W * PPORT_INFO_3W
struct _PRINTER_INFO_5W * LPPRINTER_INFO_5W
struct _PRINTER_INFO_2A PRINTER_INFO_2A
struct _PRINTER_INFO_1W * PPRINTER_INFO_1W
struct _JOB_INFO_1W JOB_INFO_1W
struct _DRIVER_INFO_1A * PDRIVER_INFO_1A
struct _MONITOR_INFO_1W * PMONITOR_INFO_1W
struct _JOB_INFO_2W * PJOB_INFO_2W
struct _DRIVER_INFO_6A * PDRIVER_INFO_6A
struct _PRINTER_INFO_6 * PPRINTER_INFO_6
struct _PORT_INFO_2W * PPORT_INFO_2W
WINBOOL WINAPI GetDefaultPrinterA(LPSTR pszBuffer, LPDWORD pcchBuffer)
Definition: printers.c:1896
struct _BINARY_CONTAINER * PBINARY_CONTAINER
struct _PRINTER_INFO_1A * LPPRINTER_INFO_1A
struct _BIDI_REQUEST_DATA BIDI_REQUEST_DATA
WINBOOL WINAPI EnumPrintProcessorDatatypesA(LPSTR pName, LPSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
WINBOOL WINAPI DeletePrinterConnectionW(LPWSTR pName)
WINBOOL WINAPI GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded)
struct _PRINTER_INFO_7W * LPPRINTER_INFO_7W
struct _DRIVER_INFO_8W * LPDRIVER_INFO_8W
struct _DOC_INFO_2A * LPDOC_INFO_2A
struct _DRIVER_INFO_3W * PDRIVER_INFO_3W
struct _DRIVER_INFO_1A * LPDRIVER_INFO_1A
WINBOOL WINAPI AddMonitorA(LPSTR pName, DWORD Level, LPBYTE pMonitorInfo)
struct _PORT_INFO_2W * LPPORT_INFO_2W
struct _DRIVER_INFO_6A DRIVER_INFO_6A
struct _PRINTER_INFO_8A * LPPRINTER_INFO_8A
DWORD WINAPI StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo)
WINBOOL WINAPI SetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD Command)
struct _PORT_INFO_3W PORT_INFO_3W
struct _PRINTPROCESSOR_INFO_1W * PPRINTPROCESSOR_INFO_1W
struct _PRINTER_INFO_9A * PPRINTER_INFO_9A
struct _PRINTER_INFO_9A * LPPRINTER_INFO_9A
DWORD WINAPI SetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, DWORD Type, LPBYTE pData, DWORD cbData)
WINBOOL WINAPI FindNextPrinterChangeNotification(HANDLE hChange, PDWORD pdwChange, LPVOID pPrinterNotifyOptions, LPVOID *ppPrinterNotifyInfo)
struct _FORM_INFO_1W * PFORM_INFO_1W
WINBOOL WINAPI SetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD Command)
struct _PRINTER_DEFAULTSA * LPPRINTER_DEFAULTSA
WINBOOL WINAPI SetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD Command)
struct _DRIVER_INFO_5A * LPDRIVER_INFO_5A
struct _DRIVER_INFO_1W * LPDRIVER_INFO_1W
struct _PRINTER_ENUM_VALUESW PRINTER_ENUM_VALUESW
LONG WINAPI DocumentPropertiesW(HWND hWnd, HANDLE hPrinter, LPWSTR pDeviceName, PDEVMODEW pDevModeOutput, PDEVMODEW pDevModeInput, DWORD fMode)
Definition: printers.c:1153
struct _DOC_INFO_3A * LPDOC_INFO_3A
struct _PORT_INFO_1A * PPORT_INFO_1A
struct _PRINTER_INFO_9W PRINTER_INFO_9W
struct _BIDI_RESPONSE_CONTAINER BIDI_RESPONSE_CONTAINER
struct _BIDI_DATA * PBIDI_DATA
WINBOOL WINAPI DeleteMonitorA(LPSTR pName, LPSTR pEnvironment, LPSTR pMonitorName)
Definition: monitors.c:111
WINBOOL WINAPI GetPrinterDriverDirectoryA(LPSTR pName, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverDirectory, DWORD cbBuf, LPDWORD pcbNeeded)
struct _DATATYPES_INFO_1A * PDATATYPES_INFO_1A
struct _PRINTER_INFO_4A * LPPRINTER_INFO_4A
DWORD WINAPI GetPrinterDataA(HANDLE hPrinter, LPSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded)
Definition: printerdata.c:326
struct _PRINTER_NOTIFY_INFO * LPPRINTER_NOTIFY_INFO
struct _DRIVER_INFO_5W DRIVER_INFO_5W
WINBOOL WINAPI EnumJobsA(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _DRIVER_INFO_4W * PDRIVER_INFO_4W
struct _PORT_INFO_3A PORT_INFO_3A
struct _DOC_INFO_3W DOC_INFO_3W
struct _JOB_INFO_1W * LPJOB_INFO_1W
struct _ADDJOB_INFO_1W * PADDJOB_INFO_1W
WINBOOL WINAPI AddPortW(LPWSTR pName, HWND hWnd, LPWSTR pMonitorName)
LONG WINAPI DocumentPropertiesA(HWND hWnd, HANDLE hPrinter, LPSTR pDeviceName, PDEVMODEA pDevModeOutput, PDEVMODEA pDevModeInput, DWORD fMode)
Definition: printers.c:666
WINBOOL WINAPI StartPagePrinter(HANDLE hPrinter)
Definition: printers.c:457
struct _DRIVER_INFO_3A * PDRIVER_INFO_3A
WINBOOL WINAPI ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault)
Definition: printers.c:2931
struct _PRINTER_INFO_4A * PPRINTER_INFO_4A
struct _FORM_INFO_1W * LPFORM_INFO_1W
DWORD WINAPI DeletePrinterKeyW(HANDLE hPrinter, LPCWSTR pKeyName)
WINBOOL WINAPI EnumPortsA(LPSTR pName, DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PRINTER_INFO_5A * PPRINTER_INFO_5A
WINBOOL WINAPI AddJobW(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, LPDWORD pcbNeeded)
struct _FORM_INFO_2A * PFORM_INFO_2A
WINBOOL WINAPI AddPrinterDriverW(LPWSTR pName, DWORD Level, LPBYTE pDriverInfo)
DWORD WINAPI DeletePrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, LPCWSTR pValueName)
WINBOOL WINAPI SetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD Command)
struct _DRIVER_INFO_8A * PDRIVER_INFO_8A
WINBOOL WINAPI DeletePrinterConnectionA(LPSTR pName)
struct _DRIVER_INFO_4A * PDRIVER_INFO_4A
WINBOOL WINAPI GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded)
WINBOOL WINAPI AddPrinterDriverA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo)
struct _JOB_INFO_2W JOB_INFO_2W
WINBOOL WINAPI DeletePrinterDriverExW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
struct _PRINTER_INFO_4W PRINTER_INFO_4W
struct _PROVIDOR_INFO_1W PROVIDOR_INFO_1W
struct _DRIVER_INFO_2A * PDRIVER_INFO_2A
struct _PRINTPROCESSOR_INFO_1W PRINTPROCESSOR_INFO_1W
struct _PRINTER_DEFAULTSW PRINTER_DEFAULTSW
DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, LPBYTE pEnumValues, DWORD cbEnumValues, LPDWORD pcbEnumValues, LPDWORD pnEnumValues)
struct _BIDI_RESPONSE_CONTAINER * PBIDI_RESPONSE_CONTAINER
DWORD WINAPI SetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, LPCWSTR pValueName, DWORD Type, LPBYTE pData, DWORD cbData)
Definition: printerdata.c:128
struct _DRIVER_INFO_5W * PDRIVER_INFO_5W
WINBOOL WINAPI FlushPrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten, DWORD cSleep)
struct _JOB_INFO_1A JOB_INFO_1A
struct _DATATYPES_INFO_1A * LPDATATYPES_INFO_1A
struct _PROVIDOR_INFO_1A * LPPROVIDOR_INFO_1A
struct _JOB_INFO_1A * PJOB_INFO_1A
struct _PRINTER_INFO_6 PRINTER_INFO_6
WINBOOL WINAPI EnumMonitorsW(LPWSTR pName, DWORD Level, LPBYTE pMonitor, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _ADDJOB_INFO_1A * LPADDJOB_INFO_1A
struct _PORT_INFO_3W * LPPORT_INFO_3W
struct _JOB_INFO_2A * LPJOB_INFO_2A
struct _DOC_INFO_2A DOC_INFO_2A
struct _PORT_INFO_2A * PPORT_INFO_2A
WINBOOL WINAPI AddFormA(HANDLE hPrinter, DWORD Level, LPBYTE pForm)
struct _MONITOR_INFO_1W MONITOR_INFO_1W
struct _PRINTER_INFO_9W * LPPRINTER_INFO_9W
WINBOOL WINAPI AddPrintProvidorW(LPWSTR pName, DWORD level, LPBYTE pProvidorInfo)
struct _PRINTER_ENUM_VALUESW * PPRINTER_ENUM_VALUESW
struct _PORT_INFO_2A PORT_INFO_2A
struct _DATATYPES_INFO_1W * PDATATYPES_INFO_1W
struct _ADDJOB_INFO_1W ADDJOB_INFO_1W
struct _PROVIDOR_INFO_1W * PPROVIDOR_INFO_1W
struct _PRINTER_NOTIFY_INFO * PPRINTER_NOTIFY_INFO
struct _DOC_INFO_3A DOC_INFO_3A
WINBOOL WINAPI OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault)
Definition: printers.c:2624
struct _PRINTER_INFO_7A PRINTER_INFO_7A
struct _BINARY_CONTAINER BINARY_CONTAINER
struct _PRINTPROCESSOR_INFO_1A * PPRINTPROCESSOR_INFO_1A
WINBOOL WINAPI EnumPrintProcessorsA(LPSTR pName, LPSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
WINBOOL WINAPI AbortPrinter(HANDLE hPrinter)
Definition: printers.c:11
WINBOOL WINAPI AddPrinterDriverExA(LPSTR pName, DWORD Level, LPBYTE pDriverInfo, DWORD dwFileCopyFlags)
WINBOOL WINAPI EndDocPrinter(HANDLE hPrinter)
Definition: printers.c:217
struct _DOC_INFO_2W * LPDOC_INFO_2W
WINBOOL WINAPI GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded)
Definition: printers.c:2033
struct _DOC_INFO_2W * PDOC_INFO_2W
struct _PRINTPROCESSOR_INFO_1A * LPPRINTPROCESSOR_INFO_1A
struct _PROVIDOR_INFO_2A * LPPROVIDOR_INFO_2A
struct _JOB_INFO_2A * PJOB_INFO_2A
struct _BIDI_RESPONSE_DATA * PBIDI_RESPONSE_DATA
struct _MONITOR_INFO_2W MONITOR_INFO_2W
WINBOOL WINAPI DeletePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName)
WINBOOL WINAPI DeletePrintProcessorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPrintProcessorName)
struct _PRINTER_INFO_7W * PPRINTER_INFO_7W
struct _PORT_INFO_1A * LPPORT_INFO_1A
struct _PRINTER_NOTIFY_INFO PRINTER_NOTIFY_INFO
WINBOOL WINAPI SetDefaultPrinterW(LPCWSTR pszPrinter)
Definition: printers.c:3005
struct _PROVIDOR_INFO_1A * PPROVIDOR_INFO_1A
struct _PRINTER_INFO_4A PRINTER_INFO_4A
DWORD WINAPI GetPrinterDataW(HANDLE hPrinter, LPWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded)
Definition: printerdata.c:119
WINBOOL WINAPI EnumFormsA(HANDLE hPrinter, DWORD Level, LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _DRIVER_INFO_8A DRIVER_INFO_8A
WINBOOL WINAPI EnumPrinterDriversA(LPSTR pName, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PRINTER_NOTIFY_OPTIONS_TYPE * LPPRINTER_NOTIFY_OPTIONS_TYPE
WINBOOL WINAPI ClosePrinter(HANDLE hPrinter)
Definition: printers.c:176
WINBOOL WINAPI GetPrinterDriverDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverDirectory, DWORD cbBuf, LPDWORD pcbNeeded)
DWORD WINAPI EnumPrinterKeyW(HANDLE hPrinter, LPCWSTR pKeyName, LPWSTR pSubkey, DWORD cbSubkey, LPDWORD pcbSubkey)
WINBOOL WINAPI XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus)
Definition: printers.c:487
struct _PRINTER_INFO_1A PRINTER_INFO_1A
struct _PROVIDOR_INFO_1A PROVIDOR_INFO_1A
struct _JOB_INFO_2W * LPJOB_INFO_2W
struct _BIDI_RESPONSE_DATA * LPBIDI_RESPONSE_DATA
struct _DRIVER_INFO_6W * LPDRIVER_INFO_6W
WINBOOL WINAPI ConfigurePortA(LPSTR pName, HWND hWnd, LPSTR pPortName)
Definition: ports.c:629
struct _JOB_INFO_1W * PJOB_INFO_1W
struct _PRINTER_INFO_3 * PPRINTER_INFO_3
struct _PRINTER_NOTIFY_INFO_DATA PRINTER_NOTIFY_INFO_DATA
WINBOOL WINAPI GetJobW(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded)
struct _PRINTER_INFO_5W * PPRINTER_INFO_5W
WINBOOL WINAPI ConfigurePortW(LPWSTR pName, HWND hWnd, LPWSTR pPortName)
LONG WINAPI AdvancedDocumentPropertiesW(HWND hWnd, HANDLE hPrinter, LPWSTR pDeviceName, PDEVMODEW pDevModeOutput, PDEVMODEW pDevModeInput)
struct _DRIVER_INFO_6A * LPDRIVER_INFO_6A
struct _DRIVER_INFO_8W * PDRIVER_INFO_8W
struct _DRIVER_INFO_4W * LPDRIVER_INFO_4W
struct _DRIVER_INFO_4A DRIVER_INFO_4A
struct _MONITOR_INFO_1A * PMONITOR_INFO_1A
WINBOOL WINAPI EnumPrinterDriversW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _DRIVER_INFO_4W DRIVER_INFO_4W
struct _DATATYPES_INFO_1A DATATYPES_INFO_1A
DWORD WINAPI EnumPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, LPBYTE pEnumValues, DWORD cbEnumValues, LPDWORD pcbEnumValues, LPDWORD pnEnumValues)
struct _MONITOR_INFO_1A * LPMONITOR_INFO_1A
struct _BIDI_DATA BIDI_DATA
WINBOOL WINAPI ScheduleJob(HANDLE hPrinter, DWORD JobId)
Definition: jobs.c:56
WINBOOL WINAPI FindClosePrinterChangeNotification(HANDLE hChange)
struct _PRINTER_INFO_8W * LPPRINTER_INFO_8W
struct _DOC_INFO_2A * PDOC_INFO_2A
struct _PRINTER_INFO_8A PRINTER_INFO_8A
DWORD WINAPI WaitForPrinterChange(HANDLE hPrinter, DWORD Flags)
struct _PORT_INFO_1W PORT_INFO_1W
WINBOOL WINAPI ResetPrinterA(HANDLE hPrinter, LPPRINTER_DEFAULTSA pDefault)
Definition: printers.c:2891
WINBOOL WINAPI GetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, LPBYTE pForm, DWORD cbBuf, LPDWORD pcbNeeded)
struct _DATATYPES_INFO_1W DATATYPES_INFO_1W
struct _DRIVER_INFO_2W * PDRIVER_INFO_2W
WINBOOL WINAPI AddJobA(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, LPDWORD pcbNeeded)
struct _PRINTER_INFO_1W * LPPRINTER_INFO_1W
struct _PRINTPROCESSOR_INFO_1W * LPPRINTPROCESSOR_INFO_1W
WINBOOL WINAPI AddPrinterConnectionW(LPWSTR pName)
DWORD WINAPI DeletePrinterDataA(HANDLE hPrinter, LPSTR pValueName)
Definition: printerdata.c:43
DWORD WINAPI DeletePrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName, LPCSTR pValueName)
Definition: printerdata.c:67
WINBOOL WINAPI AddFormW(HANDLE hPrinter, DWORD Level, LPBYTE pForm)
struct _DOC_INFO_3W * LPDOC_INFO_3W
struct _DRIVER_INFO_1W * PDRIVER_INFO_1W
struct _PRINTER_NOTIFY_INFO_DATA * PPRINTER_NOTIFY_INFO_DATA
struct _PRINTER_DEFAULTSA * PPRINTER_DEFAULTSA
struct _DOC_INFO_1W DOC_INFO_1W
struct _DRIVER_INFO_3A DRIVER_INFO_3A
DWORD WINAPI EnumPrinterKeyA(HANDLE hPrinter, LPCSTR pKeyName, LPSTR pSubkey, DWORD cbSubkey, LPDWORD pcbSubkey)
struct _BIDI_RESPONSE_DATA BIDI_RESPONSE_DATA
struct _PRINTER_INFO_3 * LPPRINTER_INFO_3
struct _PRINTER_NOTIFY_INFO_DATA * LPPRINTER_NOTIFY_INFO_DATA
struct _PRINTPROCESSOR_INFO_1A PRINTPROCESSOR_INFO_1A
struct _DRIVER_INFO_5W * LPDRIVER_INFO_5W
struct _BIDI_DATA * LPBIDI_DATA
WINBOOL WINAPI AddPrintProcessorW(LPWSTR pName, LPWSTR pEnvironment, LPWSTR pPathName, LPWSTR pPrintProcessorName)
struct _DRIVER_INFO_3W DRIVER_INFO_3W
struct _PRINTER_DEFAULTSW * PPRINTER_DEFAULTSW
struct _JOB_INFO_3 * LPJOB_INFO_3
HANDLE WINAPI AddPrinterA(LPSTR pName, DWORD Level, LPBYTE pPrinter)
struct _PRINTER_INFO_7A * PPRINTER_INFO_7A
struct _PRINTER_INFO_9W * PPRINTER_INFO_9W
WINBOOL WINAPI AddPrintProvidorA(LPSTR pName, DWORD level, LPBYTE pProvidorInfo)
struct _FORM_INFO_2A FORM_INFO_2A
struct _DATATYPES_INFO_1W * LPDATATYPES_INFO_1W
struct _PRINTER_INFO_5A PRINTER_INFO_5A
WINBOOL WINAPI AddMonitorW(LPWSTR pName, DWORD Level, LPBYTE pMonitorInfo)
WINBOOL WINAPI DeletePrintProvidorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPrintProvidorName)
struct _PRINTER_INFO_2W * LPPRINTER_INFO_2W
struct _DRIVER_INFO_2W * LPDRIVER_INFO_2W
struct _PORT_INFO_3A * PPORT_INFO_3A
BIDI_TYPE
Definition: winspool.h:1181
@ BIDI_BLOB
Definition: winspool.h:1182
@ BIDI_FLOAT
Definition: winspool.h:1182
@ BIDI_INT
Definition: winspool.h:1182
@ BIDI_STRING
Definition: winspool.h:1182
@ BIDI_BOOL
Definition: winspool.h:1182
@ BIDI_NULL
Definition: winspool.h:1182
@ BIDI_TEXT
Definition: winspool.h:1182
@ BIDI_ENUM
Definition: winspool.h:1182
struct _PORT_INFO_1W * PPORT_INFO_1W
struct _PRINTER_INFO_7A * LPPRINTER_INFO_7A
WINBOOL WINAPI AddPrintProcessorA(LPSTR pName, LPSTR pEnvironment, LPSTR pPathName, LPSTR pPrintProcessorName)
WINBOOL WINAPI GetPrintProcessorDirectoryA(LPSTR pName, LPSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded)
struct _PRINTER_ENUM_VALUESA * LPPRINTER_ENUM_VALUESA
struct _PRINTER_INFO_6 * LPPRINTER_INFO_6
struct _ADDJOB_INFO_1W * LPADDJOB_INFO_1W
struct _DOC_INFO_1W * PDOC_INFO_1W
struct _DOC_INFO_1A * PDOC_INFO_1A
WINBOOL WINAPI EnumMonitorsA(LPSTR pName, DWORD Level, LPBYTE pMonitor, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
WINBOOL WINAPI DeletePrinter(HANDLE hPrinter)
Definition: printers.c:202
struct _PROVIDOR_INFO_2A PROVIDOR_INFO_2A
struct _MONITOR_INFO_2A * LPMONITOR_INFO_2A
struct _DRIVER_INFO_8W DRIVER_INFO_8W
struct _PRINTER_INFO_8A * PPRINTER_INFO_8A
DWORD WINAPI DeletePrinterDataW(HANDLE hPrinter, LPWSTR pValueName)
struct _BIDI_REQUEST_DATA * LPBIDI_REQUEST_DATA
struct _PRINTER_NOTIFY_OPTIONS * PPRINTER_NOTIFY_OPTIONS
struct _DRIVER_INFO_5A * PDRIVER_INFO_5A
struct _PRINTER_INFO_8W * PPRINTER_INFO_8W
struct _PRINTPROCESSOR_CAPS_1 PRINTPROCESSOR_CAPS_1
struct _DOC_INFO_2W DOC_INFO_2W
WINBOOL WINAPI IsValidDevmodeW(PDEVMODEW pDevmode, size_t DevmodeSize)
Definition: devmode.c:186
struct _DRIVER_INFO_3A * LPDRIVER_INFO_3A
struct _MONITOR_INFO_2W * LPMONITOR_INFO_2W
struct _PORT_INFO_3A * LPPORT_INFO_3A
struct _DRIVER_INFO_2A DRIVER_INFO_2A
struct _JOB_INFO_2A JOB_INFO_2A
struct _FORM_INFO_1A FORM_INFO_1A
struct _BIDI_REQUEST_DATA * PBIDI_REQUEST_DATA
struct _PRINTPROCESSOR_CAPS_1 * PPRINTPROCESSOR_CAPS_1
struct _PROVIDOR_INFO_2A * PPROVIDOR_INFO_2A
struct _DRIVER_INFO_8A * LPDRIVER_INFO_8A
WINBOOL WINAPI EnumJobsW(HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _PORT_INFO_2W PORT_INFO_2W
WINBOOL WINAPI EnumPrintersA(DWORD Flags, LPSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned)
struct _FORM_INFO_1W FORM_INFO_1W
LONG WINAPI AdvancedDocumentPropertiesA(HWND hWnd, HANDLE hPrinter, LPSTR pDeviceName, PDEVMODEA pDevModeOutput, PDEVMODEA pDevModeInput)
Definition: printerdata.c:27
struct _PRINTER_ENUM_VALUESA PRINTER_ENUM_VALUESA
struct _DOC_INFO_3W * PDOC_INFO_3W
WINBOOL WINAPI IsValidDevmodeA(PDEVMODEA pDevmode, size_t DevmodeSize)
Definition: devmode.c:134
struct _PRINTER_INFO_7W PRINTER_INFO_7W
struct _PRINTER_NOTIFY_OPTIONS * LPPRINTER_NOTIFY_OPTIONS
WINBOOL WINAPI DeletePrinterDriverExA(LPSTR pName, LPSTR pEnvironment, LPSTR pDriverName, DWORD dwDeleteFlag, DWORD dwVersionFlag)
WINBOOL WINAPI FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO pPrinterNotifyInfo)
DWORD WINAPI EnumPrinterDataA(HANDLE hPrinter, DWORD dwIndex, LPSTR pValueName, DWORD cbValueName, LPDWORD pcbValueName, LPDWORD pType, LPBYTE pData, DWORD cbData, LPDWORD pcbData)
struct _DOC_INFO_1A DOC_INFO_1A
struct _PORT_INFO_1W * LPPORT_INFO_1W
WINBOOL WINAPI PrinterProperties(HWND hWnd, HANDLE hPrinter)
Definition: printers.c:1242
WINBOOL WINAPI GetJobA(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded)
struct _ADDJOB_INFO_1A ADDJOB_INFO_1A
WINBOOL WINAPI WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten)
WINBOOL WINAPI SetFormA(HANDLE hPrinter, LPSTR pFormName, DWORD Level, LPBYTE pForm)
DWORD WINAPI GetPrinterDataExW(HANDLE hPrinter, LPCWSTR pKeyName, LPCWSTR pValueName, LPDWORD pType, LPBYTE pData, DWORD nSize, LPDWORD pcbNeeded)
Definition: printerdata.c:101
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level
Definition: wmitypes.h:56
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
CHAR * LPTSTR
Definition: xmlstorage.h:192
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175