4 #pragma GCC system_header
11 #define DI_CHANNEL_WRITE 2
12 #define DI_READ_SPOOL_JOB 3
13 #define DI_MEMORYMAP_WRITE 0x1
15 #define FORM_BUILTIN 0x1
16 #define FORM_PRINTER 0x2
17 #if (_WIN32_WINNT >= 0x0500)
18 #define DRIVER_KERNELMODE 0x00000001
19 #define DRIVER_USERMODE 0x00000002
20 #define DSPRINT_PUBLISH 0x00000001
21 #define DSPRINT_UPDATE 0x00000002
22 #define DSPRINT_UNPUBLISH 0x00000004
23 #define DSPRINT_REPUBLISH 0x00000008
24 #define DSPRINT_PENDING 0x80000000
26 #define JOB_CONTROL_PAUSE 1
27 #define JOB_CONTROL_RESUME 2
28 #define JOB_CONTROL_CANCEL 3
29 #define JOB_CONTROL_RESTART 4
30 #define JOB_CONTROL_DELETE 5
31 #define JOB_CONTROL_SENT_TO_PRINTER 6
32 #define JOB_CONTROL_LAST_PAGE_EJECTED 7
33 #define JOB_STATUS_PAUSED 0x1
34 #define JOB_STATUS_ERROR 0x2
35 #define JOB_STATUS_DELETING 0x4
36 #define JOB_STATUS_SPOOLING 0x8
37 #define JOB_STATUS_PRINTING 0x10
38 #define JOB_STATUS_OFFLINE 0x20
39 #define JOB_STATUS_PAPEROUT 0x40
40 #define JOB_STATUS_PRINTED 0x80
41 #define JOB_STATUS_DELETED 0x100
42 #define JOB_STATUS_BLOCKED_DEVQ 0x200
43 #define JOB_STATUS_USER_INTERVENTION 0x400
44 #define JOB_STATUS_RESTART 0x800
45 #define JOB_STATUS_COMPLETE 0x1000
46 #define JOB_POSITION_UNSPECIFIED 0
47 #define JOB_NOTIFY_TYPE 1
48 #define JOB_NOTIFY_FIELD_PRINTER_NAME 0
49 #define JOB_NOTIFY_FIELD_MACHINE_NAME 1
50 #define JOB_NOTIFY_FIELD_PORT_NAME 2
51 #define JOB_NOTIFY_FIELD_USER_NAME 3
52 #define JOB_NOTIFY_FIELD_NOTIFY_NAME 4
53 #define JOB_NOTIFY_FIELD_DATATYPE 5
54 #define JOB_NOTIFY_FIELD_PRINT_PROCESSOR 6
55 #define JOB_NOTIFY_FIELD_PARAMETERS 7
56 #define JOB_NOTIFY_FIELD_DRIVER_NAME 8
57 #define JOB_NOTIFY_FIELD_DEVMODE 9
58 #define JOB_NOTIFY_FIELD_STATUS 10
59 #define JOB_NOTIFY_FIELD_STATUS_STRING 11
60 #define JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR 12
61 #define JOB_NOTIFY_FIELD_DOCUMENT 13
62 #define JOB_NOTIFY_FIELD_PRIORITY 14
63 #define JOB_NOTIFY_FIELD_POSITION 15
64 #define JOB_NOTIFY_FIELD_SUBMITTED 16
65 #define JOB_NOTIFY_FIELD_START_TIME 17
66 #define JOB_NOTIFY_FIELD_UNTIL_TIME 18
67 #define JOB_NOTIFY_FIELD_TIME 19
68 #define JOB_NOTIFY_FIELD_TOTAL_PAGES 20
69 #define JOB_NOTIFY_FIELD_PAGES_PRINTED 21
70 #define JOB_NOTIFY_FIELD_TOTAL_BYTES 22
71 #define JOB_NOTIFY_FIELD_BYTES_PRINTED 23
72 #define JOB_ACCESS_ADMINISTER 16
73 #define JOB_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|JOB_ACCESS_ADMINISTER)
74 #define JOB_READ (STANDARD_RIGHTS_READ| JOB_ACCESS_ADMINISTER)
75 #define JOB_WRITE (STANDARD_RIGHTS_WRITE|JOB_ACCESS_ADMINISTER)
76 #define JOB_EXECUTE (STANDARD_RIGHTS_EXECUTE|JOB_ACCESS_ADMINISTER)
77 #define PRINTER_NOTIFY_OPTIONS_REFRESH 1
78 #define PRINTER_ACCESS_ADMINISTER 4
79 #define PRINTER_ACCESS_USE 8
80 #define PRINTER_ERROR_INFORMATION 0x80000000
81 #define PRINTER_ERROR_WARNING 0x40000000
82 #define PRINTER_ERROR_SEVERE 0x20000000
83 #define PRINTER_ERROR_OUTOFPAPER 1
84 #define PRINTER_ERROR_JAM 2
85 #define PRINTER_ERROR_OUTOFTONER 4
86 #define PRINTER_CONTROL_PAUSE 1
87 #define PRINTER_CONTROL_RESUME 2
88 #define PRINTER_CONTROL_PURGE 3
89 #define PRINTER_CONTROL_SET_STATUS 4
90 #define PRINTER_STATUS_PAUSED 1
91 #define PRINTER_STATUS_ERROR 2
92 #define PRINTER_STATUS_PENDING_DELETION 4
93 #define PRINTER_STATUS_PAPER_JAM 8
94 #define PRINTER_STATUS_PAPER_OUT 0x10
95 #define PRINTER_STATUS_MANUAL_FEED 0x20
96 #define PRINTER_STATUS_PAPER_PROBLEM 0x40
97 #define PRINTER_STATUS_OFFLINE 0x80
98 #define PRINTER_STATUS_IO_ACTIVE 0x100
99 #define PRINTER_STATUS_BUSY 0x200
100 #define PRINTER_STATUS_PRINTING 0x400
101 #define PRINTER_STATUS_OUTPUT_BIN_FULL 0x800
102 #define PRINTER_STATUS_NOT_AVAILABLE 0x1000
103 #define PRINTER_STATUS_WAITING 0x2000
104 #define PRINTER_STATUS_PROCESSING 0x4000
105 #define PRINTER_STATUS_INITIALIZING 0x8000
106 #define PRINTER_STATUS_WARMING_UP 0x10000
107 #define PRINTER_STATUS_TONER_LOW 0x20000
108 #define PRINTER_STATUS_NO_TONER 0x40000
109 #define PRINTER_STATUS_PAGE_PUNT 0x80000
110 #define PRINTER_STATUS_USER_INTERVENTION 0x100000
111 #define PRINTER_STATUS_OUT_OF_MEMORY 0x200000
112 #define PRINTER_STATUS_DOOR_OPEN 0x400000
113 #define PRINTER_STATUS_SERVER_UNKNOWN 0x800000
114 #define PRINTER_STATUS_POWER_SAVE 0x1000000
115 #define PRINTER_ATTRIBUTE_QUEUED 1
116 #define PRINTER_ATTRIBUTE_DIRECT 2
117 #define PRINTER_ATTRIBUTE_DEFAULT 4
118 #define PRINTER_ATTRIBUTE_SHARED 8
119 #define PRINTER_ATTRIBUTE_NETWORK 0x10
120 #define PRINTER_ATTRIBUTE_HIDDEN 0x20
121 #define PRINTER_ATTRIBUTE_LOCAL 0x40
122 #define PRINTER_ATTRIBUTE_ENABLE_DEVQ 0x80
123 #define PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS 0x100
124 #define PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST 0x200
125 #define PRINTER_ATTRIBUTE_WORK_OFFLINE 0x400
126 #define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x800
127 #define PRINTER_ATTRIBUTE_RAW_ONLY 0x1000
128 #define PRINTER_ATTRIBUTE_PUBLISHED 0x2000
129 #define PRINTER_ENUM_DEFAULT 1
130 #define PRINTER_ENUM_LOCAL 2
131 #define PRINTER_ENUM_CONNECTIONS 4
132 #define PRINTER_ENUM_FAVORITE 4
133 #define PRINTER_ENUM_NAME 8
134 #define PRINTER_ENUM_REMOTE 16
135 #define PRINTER_ENUM_SHARED 32
136 #define PRINTER_ENUM_NETWORK 0x40
137 #define PRINTER_ENUM_EXPAND 0x4000
138 #define PRINTER_ENUM_CONTAINER 0x8000
139 #define PRINTER_ENUM_ICONMASK 0xff0000
140 #define PRINTER_ENUM_ICON1 0x10000
141 #define PRINTER_ENUM_ICON2 0x20000
142 #define PRINTER_ENUM_ICON3 0x40000
143 #define PRINTER_ENUM_ICON4 0x80000
144 #define PRINTER_ENUM_ICON5 0x100000
145 #define PRINTER_ENUM_ICON6 0x200000
146 #define PRINTER_ENUM_ICON7 0x400000
147 #define PRINTER_ENUM_ICON8 0x800000
148 #define PRINTER_NOTIFY_TYPE 0
149 #define PRINTER_NOTIFY_FIELD_SERVER_NAME 0
150 #define PRINTER_NOTIFY_FIELD_PRINTER_NAME 1
151 #define PRINTER_NOTIFY_FIELD_SHARE_NAME 2
152 #define PRINTER_NOTIFY_FIELD_PORT_NAME 3
153 #define PRINTER_NOTIFY_FIELD_DRIVER_NAME 4
154 #define PRINTER_NOTIFY_FIELD_COMMENT 5
155 #define PRINTER_NOTIFY_FIELD_LOCATION 6
156 #define PRINTER_NOTIFY_FIELD_DEVMODE 7
157 #define PRINTER_NOTIFY_FIELD_SEPFILE 8
158 #define PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR 9
159 #define PRINTER_NOTIFY_FIELD_PARAMETERS 10
160 #define PRINTER_NOTIFY_FIELD_DATATYPE 11
161 #define PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR 12
162 #define PRINTER_NOTIFY_FIELD_ATTRIBUTES 13
163 #define PRINTER_NOTIFY_FIELD_PRIORITY 14
164 #define PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY 15
165 #define PRINTER_NOTIFY_FIELD_START_TIME 16
166 #define PRINTER_NOTIFY_FIELD_UNTIL_TIME 17
167 #define PRINTER_NOTIFY_FIELD_STATUS 18
168 #define PRINTER_NOTIFY_FIELD_STATUS_STRING 19
169 #define PRINTER_NOTIFY_FIELD_CJOBS 20
170 #define PRINTER_NOTIFY_FIELD_AVERAGE_PPM 21
171 #define PRINTER_NOTIFY_FIELD_TOTAL_PAGES 22
172 #define PRINTER_NOTIFY_FIELD_PAGES_PRINTED 23
173 #define PRINTER_NOTIFY_FIELD_TOTAL_BYTES 24
174 #define PRINTER_NOTIFY_FIELD_BYTES_PRINTED 25
175 #define PRINTER_CHANGE_ADD_PRINTER 1
176 #define PRINTER_CHANGE_SET_PRINTER 2
177 #define PRINTER_CHANGE_DELETE_PRINTER 4
178 #define PRINTER_CHANGE_FAILED_CONNECTION_PRINTER 8
179 #define PRINTER_CHANGE_PRINTER 0xFF
180 #define PRINTER_CHANGE_ADD_JOB 0x100
181 #define PRINTER_CHANGE_SET_JOB 0x200
182 #define PRINTER_CHANGE_DELETE_JOB 0x400
183 #define PRINTER_CHANGE_WRITE_JOB 0x800
184 #define PRINTER_CHANGE_JOB 0xFF00
185 #define PRINTER_CHANGE_ADD_FORM 0x10000
186 #define PRINTER_CHANGE_SET_FORM 0x20000
187 #define PRINTER_CHANGE_DELETE_FORM 0x40000
188 #define PRINTER_CHANGE_FORM 0x70000
189 #define PRINTER_CHANGE_ADD_PORT 0x100000
190 #define PRINTER_CHANGE_CONFIGURE_PORT 0x200000
191 #define PRINTER_CHANGE_DELETE_PORT 0x400000
192 #define PRINTER_CHANGE_PORT 0x700000
193 #define PRINTER_CHANGE_ADD_PRINT_PROCESSOR 0x1000000
194 #define PRINTER_CHANGE_DELETE_PRINT_PROCESSOR 0x4000000
195 #define PRINTER_CHANGE_PRINT_PROCESSOR 0x7000000
196 #define PRINTER_CHANGE_ADD_PRINTER_DRIVER 0x10000000
197 #define PRINTER_CHANGE_SET_PRINTER_DRIVER 0x20000000
198 #define PRINTER_CHANGE_DELETE_PRINTER_DRIVER 0x40000000
199 #define PRINTER_CHANGE_PRINTER_DRIVER 0x70000000
200 #define PRINTER_CHANGE_TIMEOUT 0x80000000
201 #define PRINTER_CHANGE_ALL 0x7777FFFF
202 #define PRINTER_NOTIFY_INFO_DISCARDED 1
203 #define PRINTER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|PRINTER_ACCESS_ADMINISTER|PRINTER_ACCESS_USE)
204 #define PRINTER_READ (STANDARD_RIGHTS_READ|PRINTER_ACCESS_USE)
205 #define PRINTER_WRITE (STANDARD_RIGHTS_WRITE|PRINTER_ACCESS_USE)
206 #define PRINTER_EXECUTE (STANDARD_RIGHTS_EXECUTE|PRINTER_ACCESS_USE)
207 #define NO_PRIORITY 0
208 #define MAX_PRIORITY 99
209 #define MIN_PRIORITY 1
210 #define DEF_PRIORITY 1
211 #define PORT_TYPE_WRITE 1
212 #define PORT_TYPE_READ 2
213 #define PORT_TYPE_REDIRECTED 4
214 #define PORT_TYPE_NET_ATTACHED 8
215 #define SERVER_ACCESS_ADMINISTER 1
216 #define SERVER_ACCESS_ENUMERATE 2
217 #define SERVER_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|SERVER_ACCESS_ADMINISTER|SERVER_ACCESS_ENUMERATE)
218 #define SERVER_READ (STANDARD_RIGHTS_READ|SERVER_ACCESS_ENUMERATE)
219 #define SERVER_WRITE (STANDARD_RIGHTS_WRITE|SERVER_ACCESS_ADMINISTER|SERVER_ACCESS_ENUMERATE)
220 #define SERVER_EXECUTE (STANDARD_RIGHTS_EXECUTE|SERVER_ACCESS_ENUMERATE)
221 #define PORT_STATUS_TYPE_ERROR 1
222 #define PORT_STATUS_TYPE_WARNING 2
223 #define PORT_STATUS_TYPE_INFO 3
224 #define PORT_STATUS_OFFLINE 1
225 #define PORT_STATUS_PAPER_JAM 2
226 #define PORT_STATUS_PAPER_OUT 3
227 #define PORT_STATUS_OUTPUT_BIN_FULL 4
228 #define PORT_STATUS_PAPER_PROBLEM 5
229 #define PORT_STATUS_NO_TONER 6
230 #define PORT_STATUS_DOOR_OPEN 7
231 #define PORT_STATUS_USER_INTERVENTION 8
232 #define PORT_STATUS_OUT_OF_MEMORY 9
233 #define PORT_STATUS_TONER_LOW 10
234 #define PORT_STATUS_WARMING_UP 11
235 #define PORT_STATUS_POWER_SAVE 12
237 typedef struct _ADDJOB_INFO_1A
{
240 } ADDJOB_INFO_1A
,*PADDJOB_INFO_1A
,*LPADDJOB_INFO_1A
;
241 typedef struct _ADDJOB_INFO_1W
{
244 } ADDJOB_INFO_1W
,*PADDJOB_INFO_1W
,*LPADDJOB_INFO_1W
;
245 typedef struct _DATATYPES_INFO_1A
{LPSTR pName
;} DATATYPES_INFO_1A
,*PDATATYPES_INFO_1A
,*LPDATATYPES_INFO_1A
;
246 typedef struct _DATATYPES_INFO_1W
{LPWSTR pName
;} DATATYPES_INFO_1W
,*PDATATYPES_INFO_1W
,*LPDATATYPES_INFO_1W
;
247 typedef struct _JOB_INFO_1A
{
260 SYSTEMTIME Submitted
;
261 } JOB_INFO_1A
,*PJOB_INFO_1A
,*LPJOB_INFO_1A
;
262 typedef struct _JOB_INFO_1W
{
275 SYSTEMTIME Submitted
;
276 } JOB_INFO_1W
,*PJOB_INFO_1W
,*LPJOB_INFO_1W
;
277 typedef struct _JOB_INFO_2A
{
285 LPSTR pPrintProcessor
;
290 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
298 SYSTEMTIME Submitted
;
301 } JOB_INFO_2A
,*PJOB_INFO_2A
,*LPJOB_INFO_2A
;
302 typedef struct _JOB_INFO_2W
{
310 LPWSTR pPrintProcessor
;
315 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
323 SYSTEMTIME Submitted
;
326 } JOB_INFO_2W
,*PJOB_INFO_2W
,*LPJOB_INFO_2W
;
327 typedef struct _JOB_INFO_3
{
331 } JOB_INFO_3
,*PJOB_INFO_3
,*LPJOB_INFO_3
;
332 typedef struct _DOC_INFO_1A
{
336 } DOC_INFO_1A
,*PDOC_INFO_1A
,*LPDOC_INFO_1A
;
337 typedef struct _DOC_INFO_1W
{
341 } DOC_INFO_1W
,*PDOC_INFO_1W
,*LPDOC_INFO_1W
;
342 typedef struct _DOC_INFO_2A
{
348 } DOC_INFO_2A
,*PDOC_INFO_2A
,*LPDOC_INFO_2A
;
349 typedef struct _DOC_INFO_2W
{
355 } DOC_INFO_2W
,*PDOC_INFO_2W
,*LPDOC_INFO_2W
;
356 typedef struct _DRIVER_INFO_1A
{LPSTR pName
;} DRIVER_INFO_1A
,*PDRIVER_INFO_1A
,*LPDRIVER_INFO_1A
;
357 typedef struct _DRIVER_INFO_1W
{LPWSTR pName
;} DRIVER_INFO_1W
,*PDRIVER_INFO_1W
,*LPDRIVER_INFO_1W
;
358 typedef struct _DRIVER_INFO_2A
{
365 } DRIVER_INFO_2A
,*PDRIVER_INFO_2A
,*LPDRIVER_INFO_2A
;
366 typedef struct _DRIVER_INFO_2W
{
373 } DRIVER_INFO_2W
,*PDRIVER_INFO_2W
,*LPDRIVER_INFO_2W
;
374 typedef struct _DRIVER_INFO_3A
{
382 LPSTR pDependentFiles
;
384 LPSTR pDefaultDataType
;
385 } DRIVER_INFO_3A
,*PDRIVER_INFO_3A
,*LPDRIVER_INFO_3A
;
386 typedef struct _DRIVER_INFO_3W
{
394 LPWSTR pDependentFiles
;
396 LPWSTR pDefaultDataType
;
397 } DRIVER_INFO_3W
,*PDRIVER_INFO_3W
,*LPDRIVER_INFO_3W
;
398 #if (_WIN32_WINNT >= 0x0500)
399 typedef struct _DRIVER_INFO_4A
{
407 LPSTR pDependentFiles
;
409 LPSTR pDefaultDataType
;
410 LPSTR pszzPreviousNames
;
411 } DRIVER_INFO_4A
,*PDRIVER_INFO_4A
,*LPDRIVER_INFO_4A
;
412 typedef struct _DRIVER_INFO_4W
{
420 LPWSTR pDependentFiles
;
422 LPWSTR pDefaultDataType
;
423 LPWSTR pszzPreviousNames
;
424 } DRIVER_INFO_4W
,*PDRIVER_INFO_4W
,*LPDRIVER_INFO_4W
;
425 typedef struct _DRIVER_INFO_5A
{
432 DWORD dwDriverAttributes
;
433 DWORD dwConfigVersion
;
434 DWORD dwDriverVersion
;
435 } DRIVER_INFO_5A
,*PDRIVER_INFO_5A
,*LPDRIVER_INFO_5A
;
436 typedef struct _DRIVER_INFO_5W
{
443 DWORD dwDriverAttributes
;
444 DWORD dwConfigVersion
;
445 DWORD dwDriverVersion
;
446 } DRIVER_INFO_5W
,*PDRIVER_INFO_5W
,*LPDRIVER_INFO_5W
;
447 typedef struct _DRIVER_INFO_6A
{
455 LPSTR pDependentFiles
;
457 LPSTR pDefaultDataType
;
458 LPSTR pszzPreviousNames
;
459 FILETIME ftDriverDate
;
460 DWORDLONG dwlDriverVersion
;
465 } DRIVER_INFO_6A
,*PDRIVER_INFO_6A
,*LPDRIVER_INFO_6A
;
466 typedef struct _DRIVER_INFO_6W
{
474 LPWSTR pDependentFiles
;
476 LPWSTR pDefaultDataType
;
477 LPWSTR pszzPreviousNames
;
478 FILETIME ftDriverDate
;
479 DWORDLONG dwlDriverVersion
;
482 LPWSTR pszHardwareID
;
484 } DRIVER_INFO_6W
,*PDRIVER_INFO_6W
,*LPDRIVER_INFO_6W
;
486 typedef struct _MONITOR_INFO_1A
{LPSTR pName
;} MONITOR_INFO_1A
,*PMONITOR_INFO_1A
,*LPMONITOR_INFO_1A
;
487 typedef struct _MONITOR_INFO_1W
{LPWSTR pName
;} MONITOR_INFO_1W
,*PMONITOR_INFO_1W
,*LPMONITOR_INFO_1W
;
488 typedef struct _PORT_INFO_1A
{LPSTR pName
;} PORT_INFO_1A
,*PPORT_INFO_1A
,*LPPORT_INFO_1A
;
489 typedef struct _PORT_INFO_1W
{LPWSTR pName
;} PORT_INFO_1W
,*PPORT_INFO_1W
,*LPPORT_INFO_1W
;
490 typedef struct _MONITOR_INFO_2A
{
494 } MONITOR_INFO_2A
,*PMONITOR_INFO_2A
,*LPMONITOR_INFO_2A
;
495 typedef struct _MONITOR_INFO_2W
{
499 } MONITOR_INFO_2W
,*PMONITOR_INFO_2W
,*LPMONITOR_INFO_2W
;
500 typedef struct _PORT_INFO_2A
{
506 } PORT_INFO_2A
,*PPORT_INFO_2A
,*LPPORT_INFO_2A
;
507 typedef struct _PORT_INFO_2W
{
513 } PORT_INFO_2W
,*PPORT_INFO_2W
,*LPPORT_INFO_2W
;
514 typedef struct _PORT_INFO_3A
{
518 } PORT_INFO_3A
,*PPORT_INFO_3A
,*LPPORT_INFO_3A
;
519 typedef struct _PORT_INFO_3W
{
523 } PORT_INFO_3W
,*PPORT_INFO_3W
,*LPPORT_INFO_3W
;
524 #if (_WIN32_WINNT >= 0x0500)
525 typedef struct _PRINTER_ENUM_VALUESA
{
531 } PRINTER_ENUM_VALUESA
,*PPRINTER_ENUM_VALUESA
,*LPRINTER_ENUM_VALUESA
;
532 typedef struct _PRINTER_ENUM_VALUESW
{
538 } PRINTER_ENUM_VALUESW
,*PPRINTER_ENUM_VALUESW
,*LPRINTER_ENUM_VALUESW
;
540 typedef struct _PRINTER_INFO_1A
{
545 } PRINTER_INFO_1A
,*PPRINTER_INFO_1A
,*LPPRINTER_INFO_1A
;
546 typedef struct _PRINTER_INFO_1W
{
551 } PRINTER_INFO_1W
,*PPRINTER_INFO_1W
,*LPPRINTER_INFO_1W
;
552 typedef struct _PRINTER_INFO_2A
{
562 LPSTR pPrintProcessor
;
565 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
568 DWORD DefaultPriority
;
574 } PRINTER_INFO_2A
,*PPRINTER_INFO_2A
,*LPPRINTER_INFO_2A
;
575 typedef struct _PRINTER_INFO_2W
{
585 LPWSTR pPrintProcessor
;
588 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
591 DWORD DefaultPriority
;
597 } PRINTER_INFO_2W
,*PPRINTER_INFO_2W
,*LPPRINTER_INFO_2W
;
598 typedef struct _PRINTER_INFO_3
{
599 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
600 } PRINTER_INFO_3
,*PPRINTER_INFO_3
,*LPPRINTER_INFO_3
;
601 typedef struct _PRINTER_INFO_4A
{
605 } PRINTER_INFO_4A
,*PPRINTER_INFO_4A
,*LPPRINTER_INFO_4A
;
606 typedef struct _PRINTER_INFO_4W
{
610 } PRINTER_INFO_4W
,*PPRINTER_INFO_4W
,*LPPRINTER_INFO_4W
;
611 typedef struct _PRINTER_INFO_5A
{
615 DWORD DeviceNotSelectedTimeout
;
616 DWORD TransmissionRetryTimeout
;
617 } PRINTER_INFO_5A
,*PPRINTER_INFO_5A
,*LPPRINTER_INFO_5A
;
618 typedef struct _PRINTER_INFO_5W
{
622 DWORD DeviceNotSelectedTimeout
;
623 DWORD TransmissionRetryTimeout
;
624 } PRINTER_INFO_5W
,*PPRINTER_INFO_5W
,*LPPRINTER_INFO_5W
;
625 typedef struct _PRINTER_INFO_6
{
627 } PRINTER_INFO_6
,*PPRINTER_INFO_6
,*LPPRINTER_INFO_6
;
628 #if (_WIN32_WINNT >= 0x0500)
629 typedef struct _PRINTER_INFO_7A
{
630 LPWSTR pszObjectGUID
;
632 } PRINTER_INFO_7A
,*PPRINTER_INFO_7A
,*LPPRINTER_INFO_7A
;
633 typedef struct _PRINTER_INFO_7W
{
634 LPWSTR pszObjectGUID
;
636 } PRINTER_INFO_7W
,*PPRINTER_INFO_7W
,*LPPRINTER_INFO_7W
;
637 typedef struct _PRINTER_INFO_8
{
639 } PRINTER_INFO_8
,*PPRINTER_INFO_8
,*LPPRINTER_INFO_8
;
640 typedef struct _PRINTER_INFO_9
{
642 } PRINTER_INFO_9
,*PPRINTER_INFO_9
,*LPPRINTER_INFO_9
;
644 typedef struct _PRINTPROCESSOR_INFO_1A
{LPSTR pName
;} PRINTPROCESSOR_INFO_1A
,*PPRINTPROCESSOR_INFO_1A
,*LPPRINTPROCESSOR_INFO_1A
;
645 typedef struct _PRINTPROCESSOR_INFO_1W
{LPWSTR pName
;} PRINTPROCESSOR_INFO_1W
,*PPRINTPROCESSOR_INFO_1W
,*LPPRINTPROCESSOR_INFO_1W
;
646 typedef struct _PRINTER_NOTIFY_INFO_DATA
{
658 } PRINTER_NOTIFY_INFO_DATA
,*PPRINTER_NOTIFY_INFO_DATA
,*LPPRINTER_NOTIFY_INFO_DATA
;
659 typedef struct _PRINTER_NOTIFY_INFO
{
663 PRINTER_NOTIFY_INFO_DATA aData
[1];
664 } PRINTER_NOTIFY_INFO
,*PPRINTER_NOTIFY_INFO
,*LPPRINTER_NOTIFY_INFO
;
665 typedef struct _FORM_INFO_1A
{
670 } FORM_INFO_1A
,*PFORM_INFO_1A
,*LPFORM_INFO_1A
;
671 typedef struct _FORM_INFO_1W
{
676 } FORM_INFO_1W
,*PFORM_INFO_1W
,*LPFORM_INFO_1W
;
677 typedef struct _PRINTER_DEFAULTSA
{
680 ACCESS_MASK DesiredAccess
;
681 } PRINTER_DEFAULTSA
,*PPRINTER_DEFAULTSA
,*LPPRINTER_DEFAULTSA
;
682 typedef struct _PRINTER_DEFAULTSW
{
685 ACCESS_MASK DesiredAccess
;
686 } PRINTER_DEFAULTSW
,*PPRINTER_DEFAULTSW
,*LPPRINTER_DEFAULTSW
;
687 #if (_WIN32_WINNT >= 0x0500)
688 typedef struct _PRINTPROCESSOR_CAPS_1
{
691 DWORD dwPageOrderFlags
;
692 DWORD dwNumberOfCopies
;
693 } PRINTPROCESSOR_CAPS_1
,*PPRINTPROCESSOR_CAPS_1
,*LPPRINTPROCESSOR_CAPS_1
;
695 typedef struct _PROVIDOR_INFO_1A
{
699 } PROVIDOR_INFO_1A
,*PPROVIDOR_INFO_1A
,*LPPROVIDOR_INFO_1A
;
700 typedef struct _PROVIDOR_INFO_1W
{
704 } PROVIDOR_INFO_1W
,*PPROVIDOR_INFO_1W
,*LPPROVIDOR_INFO_1W
;
705 typedef struct _PROVIDOR_INFO_2A
{
707 } PROVIDOR_INFO_2A
,*PPROVIDOR_INFO_2A
,*LPROVIDOR_INFO_2A
;
708 typedef struct _PROVIDOR_INFO_2W
{
710 } PROVIDOR_INFO_2W
,*PPROVIDOR_INFO_2W
,*LPROVIDOR_INFO_2W
;
712 BOOL WINAPI
AbortPrinter(HANDLE
);
713 BOOL WINAPI
AddFormA(HANDLE
,DWORD
,PBYTE
);
714 BOOL WINAPI
AddFormW(HANDLE
,DWORD
,PBYTE
);
715 BOOL WINAPI
AddJobA(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
);
716 BOOL WINAPI
AddJobW(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
);
717 BOOL WINAPI
AddMonitorA(LPSTR
,DWORD
,PBYTE
);
718 BOOL WINAPI
AddMonitorW(LPWSTR
,DWORD
,PBYTE
);
719 BOOL WINAPI
AddPortA(LPSTR
,HWND
,LPSTR
);
720 BOOL WINAPI
AddPortW(LPWSTR
,HWND
,LPWSTR
);
721 HANDLE WINAPI
AddPrinterA(LPSTR
,DWORD
,PBYTE
);
722 HANDLE WINAPI
AddPrinterW(LPWSTR
,DWORD
,PBYTE
);
723 BOOL WINAPI
AddPrinterConnectionA(LPSTR
);
724 BOOL WINAPI
AddPrinterConnectionW(LPWSTR
);
725 BOOL WINAPI
AddPrinterDriverA(LPSTR
,DWORD
,PBYTE
);
726 BOOL WINAPI
AddPrinterDriverW(LPWSTR
,DWORD
,PBYTE
);
727 BOOL WINAPI
AddPrintProcessorA(LPSTR
,LPSTR
,LPSTR
,LPSTR
);
728 BOOL WINAPI
AddPrintProcessorW(LPWSTR
,LPWSTR
,LPWSTR
,LPWSTR
);
729 BOOL WINAPI
AddPrintProvidorA(LPSTR
,DWORD
,PBYTE
);
730 BOOL WINAPI
AddPrintProvidorW(LPWSTR
,DWORD
,PBYTE
);
731 LONG WINAPI
AdvancedDocumentPropertiesA(HWND
,HANDLE
,LPSTR
,PDEVMODE
,PDEVMODEA
);
732 LONG WINAPI
AdvancedDocumentPropertiesW(HWND
,HANDLE
,LPWSTR
,PDEVMODE
,PDEVMODEW
);
733 BOOL WINAPI
ClosePrinter(HANDLE
);
734 BOOL WINAPI
ConfigurePortA(LPSTR
,HWND
,LPSTR
);
735 BOOL WINAPI
ConfigurePortW(LPWSTR
,HWND
,LPWSTR
);
736 HANDLE WINAPI
ConnectToPrinterDlg(HWND
,DWORD
);
737 BOOL WINAPI
DeleteFormA(HANDLE
,LPSTR
);
738 BOOL WINAPI
DeleteFormW(HANDLE
,LPWSTR
);
739 BOOL WINAPI
DeleteMonitorA(LPSTR
,LPSTR
,LPSTR
);
740 BOOL WINAPI
DeleteMonitorW(LPWSTR
,LPWSTR
,LPWSTR
);
741 BOOL WINAPI
DeletePortA(LPSTR
,HWND
,LPSTR
);
742 BOOL WINAPI
DeletePortW(LPWSTR
,HWND
,LPWSTR
);
743 BOOL WINAPI
DeletePrinter(HANDLE
);
744 BOOL WINAPI
DeletePrinterConnectionA(LPSTR
);
745 BOOL WINAPI
DeletePrinterConnectionW(LPWSTR
);
746 DWORD WINAPI
DeletePrinterDataA(HANDLE
,LPSTR
);
747 DWORD WINAPI
DeletePrinterDataW(HANDLE
,LPWSTR
);
748 BOOL WINAPI
DeletePrinterDriverA(LPSTR
,LPSTR
,LPSTR
);
749 BOOL WINAPI
DeletePrinterDriverW(LPWSTR
,LPWSTR
,LPWSTR
);
750 BOOL WINAPI
DeletePrintProcessorA(LPSTR
,LPSTR
,LPSTR
);
751 BOOL WINAPI
DeletePrintProcessorW(LPWSTR
,LPWSTR
,LPWSTR
);
752 BOOL WINAPI
DeletePrintProvidorA(LPSTR
,LPSTR
,LPSTR
);
753 BOOL WINAPI
DeletePrintProvidorW(LPWSTR
,LPWSTR
,LPWSTR
);
754 LONG WINAPI
DocumentPropertiesA(HWND
,HANDLE
,LPSTR
,PDEVMODEA
,PDEVMODEA
,DWORD
);
755 LONG WINAPI
DocumentPropertiesW(HWND
,HANDLE
,LPWSTR
,PDEVMODEW
,PDEVMODEW
,DWORD
);
756 BOOL WINAPI
EndDocPrinter(HANDLE
);
757 BOOL WINAPI
EndPagePrinter(HANDLE
);
758 BOOL WINAPI
EnumFormsA(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
759 BOOL WINAPI
EnumFormsW(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
760 BOOL WINAPI
EnumJobsA(HANDLE
,DWORD
,DWORD
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
761 BOOL WINAPI
EnumJobsW(HANDLE
,DWORD
,DWORD
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
762 BOOL WINAPI
EnumMonitorsA(LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
763 BOOL WINAPI
EnumMonitorsW(LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
764 BOOL WINAPI
EnumPortsA(LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
765 BOOL WINAPI
EnumPortsW(LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
766 DWORD WINAPI
EnumPrinterDataA(HANDLE
,DWORD
,LPSTR
,DWORD
,PDWORD
,PDWORD
,PBYTE
,DWORD
,PDWORD
);
767 DWORD WINAPI
EnumPrinterDataW(HANDLE
,DWORD
,LPWSTR
,DWORD
,PDWORD
,PDWORD
,PBYTE
,DWORD
,PDWORD
);
768 BOOL WINAPI
EnumPrinterDriversA(LPSTR
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
769 BOOL WINAPI
EnumPrinterDriversW(LPWSTR
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
770 BOOL WINAPI
EnumPrintersA(DWORD
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
771 BOOL WINAPI
EnumPrintersW(DWORD
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
772 BOOL WINAPI
EnumPrintProcessorDatatypesA(LPSTR
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
773 BOOL WINAPI
EnumPrintProcessorDatatypesW(LPWSTR
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
774 BOOL WINAPI
EnumPrintProcessorsA(LPSTR
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
775 BOOL WINAPI
EnumPrintProcessorsW(LPWSTR
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
,PDWORD
);
776 BOOL WINAPI
FindClosePrinterChangeNotification(HANDLE
);
777 HANDLE WINAPI
FindFirstPrinterChangeNotification(HANDLE
,DWORD
,DWORD
,PVOID
);
778 HANDLE WINAPI
FindNextPrinterChangeNotification(HANDLE
,PDWORD
,PVOID
,PVOID
*);
779 BOOL WINAPI
FreePrinterNotifyInfo(PPRINTER_NOTIFY_INFO
);
780 #if _WIN32_WINNT >= 0x0500
781 BOOL WINAPI
GetDefaultPrinterA(LPSTR
,LPDWORD
);
782 BOOL WINAPI
GetDefaultPrinterW(LPWSTR
,LPDWORD
);
784 BOOL WINAPI
GetFormA(HANDLE
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
785 BOOL WINAPI
GetFormW(HANDLE
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
786 BOOL WINAPI
GetJobA(HANDLE
,DWORD
,DWORD
,PBYTE
,DWORD
,PDWORD
);
787 BOOL WINAPI
GetJobW(HANDLE
,DWORD
,DWORD
,PBYTE
,DWORD
,PDWORD
);
788 BOOL WINAPI
GetPrinterA(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
);
789 BOOL WINAPI
GetPrinterW(HANDLE
,DWORD
,PBYTE
,DWORD
,PDWORD
);
790 DWORD WINAPI
GetPrinterDataA(HANDLE
,LPSTR
,PDWORD
,PBYTE
,DWORD
,PDWORD
);
791 DWORD WINAPI
GetPrinterDataW(HANDLE
,LPWSTR
,PDWORD
,PBYTE
,DWORD
,PDWORD
);
792 DWORD WINAPI
GetPrinterDriverA(HANDLE
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
793 DWORD WINAPI
GetPrinterDriverW(HANDLE
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
794 DWORD WINAPI
GetPrinterDriverDirectoryA(LPSTR
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
795 DWORD WINAPI
GetPrinterDriverDirectoryW(LPWSTR
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
796 DWORD WINAPI
GetPrintProcessorDirectoryA(LPSTR
,LPSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
797 DWORD WINAPI
GetPrintProcessorDirectoryW(LPWSTR
,LPWSTR
,DWORD
,PBYTE
,DWORD
,PDWORD
);
798 BOOL WINAPI
OpenPrinterA(LPSTR
,PHANDLE
,LPPRINTER_DEFAULTSA
);
799 BOOL WINAPI
OpenPrinterW(LPWSTR
,PHANDLE
,LPPRINTER_DEFAULTSW
);
800 DWORD WINAPI
PrinterMessageBoxA(HANDLE
,DWORD
,HWND
,LPSTR
,LPSTR
,DWORD
);
801 DWORD WINAPI
PrinterMessageBoxW(HANDLE
,DWORD
,HWND
,LPWSTR
,LPWSTR
,DWORD
);
802 BOOL WINAPI
PrinterProperties(HWND
,HANDLE
);
803 BOOL WINAPI
ReadPrinter(HANDLE
,PVOID
,DWORD
,PDWORD
);
804 BOOL WINAPI
ResetPrinterA(HANDLE
,LPPRINTER_DEFAULTSA
);
805 BOOL WINAPI
ResetPrinterW(HANDLE
,LPPRINTER_DEFAULTSW
);
806 BOOL WINAPI
ScheduleJob(HANDLE
,DWORD
);
807 BOOL WINAPI
SetFormA(HANDLE
,LPSTR
,DWORD
,PBYTE
);
808 BOOL WINAPI
SetFormW(HANDLE
,LPWSTR
,DWORD
,PBYTE
);
809 BOOL WINAPI
SetJobA(HANDLE
,DWORD
,DWORD
,PBYTE
,DWORD
);
810 BOOL WINAPI
SetJobW(HANDLE
,DWORD
,DWORD
,PBYTE
,DWORD
);
811 BOOL WINAPI
SetPrinterA(HANDLE
,DWORD
,PBYTE
,DWORD
);
812 BOOL WINAPI
SetPrinterW(HANDLE
,DWORD
,PBYTE
,DWORD
);
813 BOOL WINAPI
SetPrinterDataA(HANDLE
,LPSTR
,DWORD
,PBYTE
,DWORD
);
814 BOOL WINAPI
SetPrinterDataW(HANDLE
,LPWSTR
,DWORD
,PBYTE
,DWORD
);
815 DWORD WINAPI
StartDocPrinterA(HANDLE
,DWORD
,PBYTE
);
816 DWORD WINAPI
StartDocPrinterW(HANDLE
,DWORD
,PBYTE
);
817 BOOL WINAPI
StartPagePrinter(HANDLE
);
818 DWORD WINAPI
WaitForPrinterChange(HANDLE
,DWORD
);
819 BOOL WINAPI
WritePrinter(HANDLE
,PVOID
,DWORD
,PDWORD
);
822 typedef JOB_INFO_1W JOB_INFO_1
,*PJOB_INFO_1
,*LPJOB_INFO_1
;
823 typedef JOB_INFO_2W JOB_INFO_2
,*PJOB_INFO_2
,*LPJOB_INFO_2
;
824 typedef ADDJOB_INFO_1W ADDJOB_INFO_1
,*PADDJOB_INFO_1
,*LPADDJOB_INFO_1
;
825 typedef DATATYPES_INFO_1W DATATYPES_INFO_1
,*PDATATYPES_INFO_1
,*LPDATATYPES_INFO_1
;
826 typedef MONITOR_INFO_1W MONITOR_INFO_1
,*PMONITOR_INFO_1
,*LPMONITOR_INFO_1
;
827 typedef MONITOR_INFO_2W MONITOR_INFO_2
,*PMONITOR_INFO_2
,*LPMONITOR_INFO_2
;
828 typedef DOC_INFO_1W DOC_INFO_1
,*PDOC_INFO_1
,*LPDOC_INFO_1
;
829 typedef DOC_INFO_2W DOC_INFO_2
,*PDOC_INFO_2
,*LPDOC_INFO_2
;
830 typedef PORT_INFO_1W PORT_INFO_1
,*PPORT_INFO_1
,*LPPORT_INFO_1
;
831 typedef PORT_INFO_2W PORT_INFO_2
,*PPORT_INFO_2
,*LPPORT_INFO_2
;
832 typedef PORT_INFO_3W PORT_INFO_3
,*PPORT_INFO_3
,*LPPORT_INFO_3
;
833 typedef DRIVER_INFO_1W DRIVER_INFO_1
,*PDRIVER_INFO_1
,*LPDRIVER_INFO_1
;
834 typedef DRIVER_INFO_2W DRIVER_INFO_2
,*PDRIVER_INFO_2
,*LPDRIVER_INFO_2
;
835 typedef DRIVER_INFO_3W DRIVER_INFO_3
,*PDRIVER_INFO_3
,*LPDRIVER_INFO_3
;
836 #if (_WIN32_WINNT >= 0x0500)
837 typedef DRIVER_INFO_4W DRIVER_INFO_4
,*PDRIVER_INFO_4
,*LPDRIVER_INFO_4
;
838 typedef DRIVER_INFO_5W DRIVER_INFO_5
,*PDRIVER_INFO_5
,*LPDRIVER_INFO_5
;
839 typedef DRIVER_INFO_6W DRIVER_INFO_6
,*PDRIVER_INFO_6
,*LPDRIVER_INFO_6
;
840 typedef PRINTER_ENUM_VALUESW PRINTER_ENUM_VALUES
,*PPRINTER_ENUM_VALUES
,*LPRINTER_ENUM_VALUES
;
842 typedef PRINTER_INFO_1W PRINTER_INFO_1
,*PPRINTER_INFO_1
,*LPPRINTER_INFO_1
;
843 typedef PRINTER_INFO_2W PRINTER_INFO_2
,*PPRINTER_INFO_2
,*LPPRINTER_INFO_2
;
844 typedef PRINTER_INFO_4W PRINTER_INFO_4
,*PPRINTER_INFO_4
,*LPPRINTER_INFO_4
;
845 typedef PRINTER_INFO_5W PRINTER_INFO_5
,*PPRINTER_INFO_5
,*LPPRINTER_INFO_5
;
846 #if (_WIN32_WINNT >= 0x0500)
847 typedef PRINTER_INFO_7W PRINTER_INFO_7
,*PPRINTER_INFO_7
,*LPPRINTER_INFO_7
;
849 typedef PRINTPROCESSOR_INFO_1W PRINTPROCESSOR_INFO_1
,*PPRINTPROCESSOR_INFO_1
,*LPPRINTPROCESSOR_INFO_1
;
850 typedef FORM_INFO_1W FORM_INFO_1
,*PFORM_INFO_1
,*LPFORM_INFO_1
;
851 typedef PRINTER_DEFAULTSW PRINTER_DEFAULTS
,*PPRINTER_DEFAULTS
,*LPPRINTER_DEFAULTS
;
852 typedef PROVIDOR_INFO_1W PROVIDOR_INFO_1
,*PPROVIDOR_INFO_1
,*LPROVIDOR_INFO_1
;
853 typedef PROVIDOR_INFO_2W PROVIDOR_INFO_2
,*PPROVIDOR_INFO_2
,*LPROVIDOR_INFO_2
;
854 #define AddForm AddFormW
855 #define AddJob AddJobW
856 #define AddMonitor AddMonitorW
857 #define AddPort AddPortW
858 #define AddPrinter AddPrinterW
859 #define AddPrinterConnection AddPrinterConnectionW
860 #define AddPrinterDriver AddPrinterDriverW
861 #define AddPrintProcessor AddPrintProcessorW
862 #define AddPrintProvidor AddPrintProvidorW
863 #define AdvancedDocumentProperties AdvancedDocumentPropertiesW
864 #define ConfigurePort ConfigurePortW
865 #define DeleteForm DeleteFormW
866 #define DeleteMonitor DeleteMonitorW
867 #define DeletePort DeletePortW
868 #define DeletePrinterConnection DeletePrinterConnectionW
869 #define DeletePrinterData DeletePrinterDataW
870 #define DeletePrinterDriver DeletePrinterDriverW
871 #define DeletePrintProcessor DeletePrinterProcessorW
872 #define DeletePrintProvidor DeletePrinterProvidorW
873 #define DocumentProperties DocumentPropertiesW
874 #define EnumForms EnumFormsW
875 #define EnumJobs EnumJobsW
876 #define EnumMonitors EnumMonitorsW
877 #define EnumPorts EnumPortsW
878 #define EnumPrinterData EnumPrinterDataW
879 #define EnumPrinterDrivers EnumPrinterDriversW
880 #define EnumPrinters EnumPrintersW
881 #define EnumPrintProcessorDatatypes EnumPrintProcessorDatatypesW
882 #define EnumPrintProcessors EnumPrintProcessorsW
883 #define GetDefaultPrinter GetDefaultPrinterW
884 #define GetForm GetFormW
885 #define GetJob GetJobW
886 #define GetPrinter GetPrinterW
887 #define GetPrinterData GetPrinterDataW
888 #define GetPrinterDriver GetPrinterDriverW
889 #define GetPrinterDriverDirectory GetPrinterDriverDirectoryW
890 #define GetPrintProcessorDirectory GetPrintProcessorDirectoryW
891 #define OpenPrinter OpenPrinterW
892 #define PrinterMessageBox PrinterMessageBoxW
893 #define ResetPrinter ResetPrinterW
894 #define SetForm SetFormW
895 #define SetJob SetJobW
896 #define SetPrinter SetPrinterW
897 #define SetPrinterData SetPrinterDataW
898 #define StartDocPrinter StartDocPrinterW
900 typedef JOB_INFO_1A JOB_INFO_1
,*PJOB_INFO_1
,*LPJOB_INFO_1
;
901 typedef JOB_INFO_2A JOB_INFO_2
,*PJOB_INFO_2
,*LPJOB_INFO_2
;
902 typedef ADDJOB_INFO_1A ADDJOB_INFO_1
,*PADDJOB_INFO_1
,*LPADDJOB_INFO_1
;
903 typedef DATATYPES_INFO_1A DATATYPES_INFO_1
,*PDATATYPES_INFO_1
,*LPDATATYPES_INFO_1
;
904 typedef MONITOR_INFO_1A MONITOR_INFO_1
,*PMONITOR_INFO_1
,*LPMONITOR_INFO_1
;
905 typedef MONITOR_INFO_2A MONITOR_INFO_2
,*PMONITOR_INFO_2
,*LPMONITOR_INFO_2
;
906 typedef DOC_INFO_1A DOC_INFO_1
,*PDOC_INFO_1
,*LPDOC_INFO_1
;
907 typedef DOC_INFO_2A DOC_INFO_2
,*PDOC_INFO_2
,*LPDOC_INFO_2
;
908 typedef PORT_INFO_1A PORT_INFO_1
,*PPORT_INFO_1
,*LPPORT_INFO_1
;
909 typedef PORT_INFO_2A PORT_INFO_2
,*PPORT_INFO_2
,*LPPORT_INFO_2
;
910 typedef PORT_INFO_3A PORT_INFO_3
,*PPORT_INFO_3
,*LPPORT_INFO_3
;
911 typedef DRIVER_INFO_1A DRIVER_INFO_1
,*PDRIVER_INFO_1
,*LPDRIVER_INFO_1
;
912 typedef DRIVER_INFO_2A DRIVER_INFO_2
,*PDRIVER_INFO_2
,*LPDRIVER_INFO_2
;
913 typedef DRIVER_INFO_3A DRIVER_INFO_3
,*PDRIVER_INFO_3
,*LPDRIVER_INFO_3
;
914 #if (_WIN32_WINNT >= 0x0500)
915 typedef DRIVER_INFO_4A DRIVER_INFO_4
,*PDRIVER_INFO_4
,*LPDRIVER_INFO_4
;
916 typedef DRIVER_INFO_5A DRIVER_INFO_5
,*PDRIVER_INFO_5
,*LPDRIVER_INFO_5
;
917 typedef DRIVER_INFO_6A DRIVER_INFO_6
,*PDRIVER_INFO_6
,*LPDRIVER_INFO_6
;
918 typedef PRINTER_ENUM_VALUESA PRINTER_ENUM_VALUES
,*PPRINTER_ENUM_VALUES
,*LPRINTER_ENUM_VALUES
;
920 typedef PRINTER_INFO_1A PRINTER_INFO_1
,*PPRINTER_INFO_1
,*LPPRINTER_INFO_1
;
921 typedef PRINTER_INFO_2A PRINTER_INFO_2
,*PPRINTER_INFO_2
,*LPPRINTER_INFO_2
;
922 typedef PRINTER_INFO_4A PRINTER_INFO_4
,*PPRINTER_INFO_4
,*LPPRINTER_INFO_4
;
923 typedef PRINTER_INFO_5A PRINTER_INFO_5
,*PPRINTER_INFO_5
,*LPPRINTER_INFO_5
;
924 #if (_WIN32_WINNT >= 0x0500)
925 typedef PRINTER_INFO_7A PRINTER_INFO_7
,*PPRINTER_INFO_7
,*LPPRINTER_INFO_7
;
927 typedef PRINTPROCESSOR_INFO_1A PRINTPROCESSOR_INFO_1
,*PPRINTPROCESSOR_INFO_1
,*LPPRINTPROCESSOR_INFO_1
;
928 typedef FORM_INFO_1A FORM_INFO_1
,*PFORM_INFO_1
,*LPFORM_INFO_1
;
929 typedef PRINTER_DEFAULTSA PRINTER_DEFAULTS
,*PPRINTER_DEFAULTS
,*LPPRINTER_DEFAULTS
;
930 typedef PROVIDOR_INFO_1A PROVIDOR_INFO_1
,*PPROVIDOR_INFO_1
,*LPROVIDOR_INFO_1
;
931 typedef PROVIDOR_INFO_2A PROVIDOR_INFO_2
,*PPROVIDOR_INFO_2
,*LPROVIDOR_INFO_2
;
932 #define AddForm AddFormA
933 #define AddJob AddJobA
934 #define AddMonitor AddMonitorA
935 #define AddPort AddPortA
936 #define AddPrinter AddPrinterA
937 #define AddPrinterConnection AddPrinterConnectionA
938 #define AddPrinterDriver AddPrinterDriverA
939 #define AddPrintProcessor AddPrintProcessorA
940 #define AddPrintProvidor AddPrintProvidorA
941 #define AdvancedDocumentProperties AdvancedDocumentPropertiesA
942 #define ConfigurePort ConfigurePortA
943 #define DeleteForm DeleteFormA
944 #define DeleteMonitor DeleteMonitorA
945 #define DeletePort DeletePortA
946 #define DeletePrinterConnection DeletePrinterConnectionA
947 #define DeletePrinterData DeletePrinterDataA
948 #define DeletePrinterDriver DeletePrinterDriverA
949 #define DeletePrintProcessor DeletePrinterProcessorA
950 #define DeletePrintProvidor DeletePrinterProvidorA
951 #define DocumentProperties DocumentPropertiesA
952 #define EnumForms EnumFormsA
953 #define EnumJobs EnumJobsA
954 #define EnumMonitors EnumMonitorsA
955 #define EnumPorts EnumPortsA
956 #define EnumPrinterData EnumPrinterDataA
957 #define EnumPrinterDrivers EnumPrinterDriversA
958 #define EnumPrinters EnumPrintersA
959 #define EnumPrintProcessorDatatypes EnumPrintProcessorDatatypesA
960 #define EnumPrintProcessors EnumPrintProcessorsA
961 #define GetDefaultPrinter GetDefaultPrinterA
962 #define GetForm GetFormA
963 #define GetJob GetJobA
964 #define GetPrinter GetPrinterA
965 #define GetPrinterData GetPrinterDataA
966 #define GetPrinterDriver GetPrinterDriverA
967 #define GetPrinterDriverDirectory GetPrinterDriverDirectoryA
968 #define GetPrintProcessorDirectory GetPrintProcessorDirectoryA
969 #define OpenPrinter OpenPrinterA
970 #define PrinterMessageBox PrinterMessageBoxA
971 #define ResetPrinter ResetPrinterA
972 #define SetForm SetFormA
973 #define SetJob SetJobA
974 #define SetPrinter SetPrinterA
975 #define SetPrinterData SetPrinterDataA
976 #define StartDocPrinter StartDocPrinterA
978 #endif /* RC_INVOKED */