1 /* Definitions for printing
3 * Copyright 1998 Huw Davies, Andreas Mohr
5 * Portions Copyright (c) 1999 Corel Corporation
6 * (Paul Quinn, Albert Den Haan)
8 #ifndef __WINE_WINSPOOL_H
9 #define __WINE_WINSPOOL_H
21 #define PRINTER_ATTRIBUTE_QUEUED 0x00000001
22 #define PRINTER_ATTRIBUTE_DIRECT 0x00000002
23 #define PRINTER_ATTRIBUTE_DEFAULT 0x00000004
24 #define PRINTER_ATTRIBUTE_SHARED 0x00000008
25 #define PRINTER_ATTRIBUTE_NETWORK 0x00000010
26 #define PRINTER_ATTRIBUTE_HIDDEN 0x00000020
27 #define PRINTER_ATTRIBUTE_LOCAL 0x00000040
29 #define PRINTER_ATTRIBUTE_ENABLE_DEVQ 0x00000080
30 #define PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS 0x00000100
31 #define PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST 0x00000200
33 #define PRINTER_ATTRIBUTE_WORK_OFFLINE 0x00000400
34 #define PRINTER_ATTRIBUTE_ENABLE_BIDI 0x00000800
36 #define PRINTER_CONTROL_PAUSE 1
37 #define PRINTER_CONTROL_RESUME 2
38 #define PRINTER_CONTROL_PURGE 3
39 #define PRINTER_CONTROL_SET_STATUS 4
41 #define PRINTER_ENUM_DEFAULT 0x00000001
42 #define PRINTER_ENUM_LOCAL 0x00000002
43 #define PRINTER_ENUM_CONNECTIONS 0x00000004
44 #define PRINTER_ENUM_FAVORITE 0x00000004
45 #define PRINTER_ENUM_NAME 0x00000008
46 #define PRINTER_ENUM_REMOTE 0x00000010
47 #define PRINTER_ENUM_SHARED 0x00000020
48 #define PRINTER_ENUM_NETWORK 0x00000040
50 #define PRINTER_ENUM_EXPAND 0x00004000
51 #define PRINTER_ENUM_CONTAINER 0x00008000
53 #define PRINTER_ENUM_ICONMASK 0x00ff0000
54 #define PRINTER_ENUM_ICON1 0x00010000
55 #define PRINTER_ENUM_ICON2 0x00020000
56 #define PRINTER_ENUM_ICON3 0x00040000
57 #define PRINTER_ENUM_ICON4 0x00080000
58 #define PRINTER_ENUM_ICON5 0x00100000
59 #define PRINTER_ENUM_ICON6 0x00200000
60 #define PRINTER_ENUM_ICON7 0x00400000
61 #define PRINTER_ENUM_ICON8 0x00800000
64 /* various printer statuses */
65 #define PRINTER_STATUS_PAUSED 0x00000001
66 #define PRINTER_STATUS_ERROR 0x00000002
67 #define PRINTER_STATUS_PENDING_DELETION 0x00000004
68 #define PRINTER_STATUS_PAPER_JAM 0x00000008
69 #define PRINTER_STATUS_PAPER_OUT 0x00000010
70 #define PRINTER_STATUS_MANUAL_FEED 0x00000020
71 #define PRINTER_STATUS_PAPER_PROBLEM 0x00000040
72 #define PRINTER_STATUS_OFFLINE 0x00000080
73 #define PRINTER_STATUS_IO_ACTIVE 0x00000100
74 #define PRINTER_STATUS_BUSY 0x00000200
75 #define PRINTER_STATUS_PRINTING 0x00000400
76 #define PRINTER_STATUS_OUTPUT_BIN_FULL 0x00000800
77 #define PRINTER_STATUS_NOT_AVAILABLE 0x00001000
78 #define PRINTER_STATUS_WAITING 0x00002000
79 #define PRINTER_STATUS_PROCESSING 0x00004000
80 #define PRINTER_STATUS_INITIALIZING 0x00008000
81 #define PRINTER_STATUS_WARMING_UP 0x00010000
82 #define PRINTER_STATUS_TONER_LOW 0x00020000
83 #define PRINTER_STATUS_NO_TONER 0x00040000
84 #define PRINTER_STATUS_PAGE_PUNT 0x00080000
85 #define PRINTER_STATUS_USER_INTERVENTION 0x00100000
86 #define PRINTER_STATUS_OUT_OF_MEMORY 0x00200000
87 #define PRINTER_STATUS_DOOR_OPEN 0x00400000
88 #define PRINTER_STATUS_SERVER_UNKNOWN 0x00800000
89 #define PRINTER_STATUS_POWER_SAVE 0x01000000
92 #define MAX_PRIORITY 99
93 #define MIN_PRIORITY 1
94 #define DEF_PRIORITY 1
96 #define JOB_CONTROL_PAUSE 1
97 #define JOB_CONTROL_RESUME 2
98 #define JOB_CONTROL_CANCEL 3
99 #define JOB_CONTROL_RESTART 4
100 #define JOB_CONTROL_DELETE 5
101 #define JOB_CONTROL_SENT_TO_PRINTER 6
102 #define JOB_CONTROL_LAST_PAGE_EJECTED 7
104 #define JOB_STATUS_PAUSED 0x0001
105 #define JOB_STATUS_ERROR 0x0002
106 #define JOB_STATUS_DELETING 0x0004
107 #define JOB_STATUS_SPOOLING 0x0008
108 #define JOB_STATUS_PRINTING 0x0010
109 #define JOB_STATUS_OFFLINE 0x0020
110 #define JOB_STATUS_PAPEROUT 0x0040
111 #define JOB_STATUS_PRINTED 0x0080
112 #define JOB_STATUS_DELETED 0x0100
113 #define JOB_STATUS_BLOCKED_DEVQ 0x0200
114 #define JOB_STATUS_USER_INTERVENTION 0x0400
116 #define JOB_POSITION_UNSPECIFIED 1
119 #define DI_READ_SPOOL_JOB 3
122 #define FORM_BUILTIN 1
123 #define FORM_PRINTER 2
125 #define PORT_TYPE_WRITE 1
126 #define PORT_TYPE_READ 2
127 #define PORT_TYPE_REDIRECTED 4
128 #define PORT_TYPE_NET_ATTACHED 8
130 #define PORT_STATUS_TYPE_ERROR 1
131 #define PORT_STATUS_TYPE_WARNING 2
132 #define PORT_STATUS_TYPE_INFO 3
134 #define PORT_STATUS_OFFLINE 1
135 #define PORT_STATUS_PAPER_JAM 2
136 #define PORT_STATUS_PAPER_OUT 3
137 #define PORT_STATUS_OUTPUT_BIN_FULL 4
138 #define PORT_STATUS_PAPER_PROBLEM 5
139 #define PORT_STATUS_NO_TONER 6
140 #define PORT_STATUS_DOOR_OPEN 7
141 #define PORT_STATUS_USER_INTERVENTION 8
142 #define PORT_STATUS_OUT_OF_MEMORY 9
143 #define PORT_STATUS_TONER_LOW 10
144 #define PORT_STATUS_WARMING_UP 11
145 #define PORT_STATUS_POWER_SAVE 12
147 #define PRINTER_NOTIFY_TYPE 0
148 #define JOB_NOTIFY_TYPE 1
150 #define PRINTER_NOTIFY_FIELD_SERVER_NAME 0x00
151 #define PRINTER_NOTIFY_FIELD_PRINTER_NAME 0x01
152 #define PRINTER_NOTIFY_FIELD_SHARE_NAME 0x02
153 #define PRINTER_NOTIFY_FIELD_PORT_NAME 0x03
154 #define PRINTER_NOTIFY_FIELD_DRIVER_NAME 0x04
155 #define PRINTER_NOTIFY_FIELD_COMMENT 0x05
156 #define PRINTER_NOTIFY_FIELD_LOCATION 0x06
157 #define PRINTER_NOTIFY_FIELD_DEVMODE 0x07
158 #define PRINTER_NOTIFY_FIELD_SEPFILE 0x08
159 #define PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR 0x09
160 #define PRINTER_NOTIFY_FIELD_PARAMETERS 0x0a
161 #define PRINTER_NOTIFY_FIELD_DATATYPE 0x0b
162 #define PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0c
163 #define PRINTER_NOTIFY_FIELD_ATTRIBUTES 0x0d
164 #define PRINTER_NOTIFY_FIELD_PRIORITY 0x0e
165 #define PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY 0x0f
166 #define PRINTER_NOTIFY_FIELD_START_TIME 0x10
167 #define PRINTER_NOTIFY_FIELD_UNTIL_TIME 0x11
168 #define PRINTER_NOTIFY_FIELD_STATUS 0x12
169 #define PRINTER_NOTIFY_FIELD_STATUS_STRING 0x13
170 #define PRINTER_NOTIFY_FIELD_CJOBS 0x14
171 #define PRINTER_NOTIFY_FIELD_AVERAGE_PPM 0x15
172 #define PRINTER_NOTIFY_FIELD_TOTAL_PAGES 0x16
173 #define PRINTER_NOTIFY_FIELD_PAGES_PRINTED 0x17
174 #define PRINTER_NOTIFY_FIELD_TOTAL_BYTES 0x18
175 #define PRINTER_NOTIFY_FIELD_BYTES_PRINTED 0x19
177 #define JOB_NOTIFY_FIELD_PRINTER_NAME 0x00
178 #define JOB_NOTIFY_FIELD_MACHINE_NAME 0x01
179 #define JOB_NOTIFY_FIELD_PORT_NAME 0x02
180 #define JOB_NOTIFY_FIELD_USER_NAME 0x03
181 #define JOB_NOTIFY_FIELD_NOTIFY_NAME 0x04
182 #define JOB_NOTIFY_FIELD_DATATYPE 0x05
183 #define JOB_NOTIFY_FIELD_PRINT_PROCESSOR 0x06
184 #define JOB_NOTIFY_FIELD_PARAMETERS 0x07
185 #define JOB_NOTIFY_FIELD_DRIVER_NAME 0x08
186 #define JOB_NOTIFY_FIELD_DEVMODE 0x09
187 #define JOB_NOTIFY_FIELD_STATUS 0x0a
188 #define JOB_NOTIFY_FIELD_STATUS_STRING 0x0b
189 #define JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR 0x0c
190 #define JOB_NOTIFY_FIELD_DOCUMENT 0x0d
191 #define JOB_NOTIFY_FIELD_PRIORITY 0x0e
192 #define JOB_NOTIFY_FIELD_POSITION 0x0f
193 #define JOB_NOTIFY_FIELD_SUBMITTED 0x10
194 #define JOB_NOTIFY_FIELD_START_TIME 0x11
195 #define JOB_NOTIFY_FIELD_UNTIL_TIME 0x12
196 #define JOB_NOTIFY_FIELD_TIME 0x13
197 #define JOB_NOTIFY_FIELD_TOTAL_PAGES 0x14
198 #define JOB_NOTIFY_FIELD_PAGES_PRINTED 0x15
199 #define JOB_NOTIFY_FIELD_TOTAL_BYTES 0x16
200 #define JOB_NOTIFY_FIELD_BYTES_PRINTED 0x17
202 #define PRINTER_NOTIFY_OPTIONS_REFRESH 1
203 #define PRINTER_NOTIFY_INFO_DISCARDED 1
205 #define PRINTER_CHANGE_ADD_PRINTER 0x00000001
206 #define PRINTER_CHANGE_SET_PRINTER 0x00000002
207 #define PRINTER_CHANGE_DELETE_PRINTER 0x00000004
208 #define PRINTER_CHANGE_FAILED_CONNECTION_PRINTER 0x00000008
209 #define PRINTER_CHANGE_PRINTER 0x000000ff
210 #define PRINTER_CHANGE_ADD_JOB 0x00000100
211 #define PRINTER_CHANGE_SET_JOB 0x00000200
212 #define PRINTER_CHANGE_DELETE_JOB 0x00000400
213 #define PRINTER_CHANGE_WRITE_JOB 0x00000800
214 #define PRINTER_CHANGE_JOB 0x0000ff00
215 #define PRINTER_CHANGE_ADD_FORM 0x00010000
216 #define PRINTER_CHANGE_SET_FORM 0x00020000
217 #define PRINTER_CHANGE_DELETE_FORM 0x00040000
218 #define PRINTER_CHANGE_FORM 0x00070000
219 #define PRINTER_CHANGE_ADD_PORT 0x00100000
220 #define PRINTER_CHANGE_CONFIGURE_PORT 0x00200000
221 #define PRINTER_CHANGE_DELETE_PORT 0x00400000
222 #define PRINTER_CHANGE_PORT 0x00700000
223 #define PRINTER_CHANGE_ADD_PRINT_PROCESSOR 0x01000000
224 #define PRINTER_CHANGE_DELETE_PRINTER_PROCESSOR 0x04000000
225 #define PRINTER_CHANGE_PRINT_PROCESSOR 0x07000000
226 #define PRINTER_CHANGE_ADD_PRINTER_DRIVER 0x10000000
227 #define PRINTER_CHANGE_SET_PRINTER_DRIVER 0x20000000
228 #define PRINTER_CHANGE_DELETE_PRINTER_DRIVER 0x40000000
229 #define PRINTER_CHANGE_PRINTER_DRIVER 0x70000000
230 #define PRINTER_CHANGE_TIMEOUT 0x80000000
231 #define PRINTER_CHANGE_ALL 0x7777ffff
233 #define PRINTER_ERROR_INFORMATION 0x80000000
234 #define PRINTER_ERROR_WARNING 0x40000000
235 #define PRINTER_ERROR_SEVERE 0x20000000
237 #define PRINTER_ERROR_OUTODPAPER 0x00000001
238 #define PRINTER_ERROR_JAM 0x00000002
239 #define PRINTER_ERROR_OUTOFTONER 0x00000004
242 typedef struct _PRINTER_DEFAULTSA
{
245 ACCESS_MASK DesiredAccess
;
246 } PRINTER_DEFAULTSA
, *LPPRINTER_DEFAULTSA
;
248 typedef struct _PRINTER_DEFAULTSW
{
251 ACCESS_MASK DesiredAccess
;
252 } PRINTER_DEFAULTSW
, *LPPRINTER_DEFAULTSW
;
254 DECL_WINELIB_TYPE_AW(PRINTER_DEFAULTS
)
255 DECL_WINELIB_TYPE_AW(LPPRINTER_DEFAULTS
)
257 typedef struct _DRIVER_INFO_1A
{
259 } DRIVER_INFO_1A
, *PDRIVER_INFO_1A
, *LPDRIVER_INFO_1A
;
261 typedef struct _DRIVER_INFO_1W
{
263 } DRIVER_INFO_1W
, *PDRIVER_INFO_1W
, *LPDRIVER_INFO_1W
;
265 DECL_WINELIB_TYPE_AW(DRIVER_INFO_1
)
266 DECL_WINELIB_TYPE_AW(PDRIVER_INFO_1
)
267 DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_1
)
269 typedef struct _DRIVER_INFO_2A
{
276 } DRIVER_INFO_2A
, *PDRIVER_INFO_2A
, *LPDRIVER_INFO_2A
;
278 typedef struct _DRIVER_INFO_2W
{
285 } DRIVER_INFO_2W
, *PDRIVER_INFO_2W
, *LPDRIVER_INFO_2W
;
287 DECL_WINELIB_TYPE_AW(DRIVER_INFO_2
)
288 DECL_WINELIB_TYPE_AW(PDRIVER_INFO_2
)
289 DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_2
)
291 typedef struct _DRIVER_INFO_3A
{
299 LPSTR pDependentFiles
;
301 LPSTR pDefaultDataType
;
302 } DRIVER_INFO_3A
, *PDRIVER_INFO_3A
, *LPDRIVER_INFO_3A
;
304 typedef struct _DRIVER_INFO_3W
{
312 LPWSTR pDependentFiles
;
314 LPWSTR pDefaultDataType
;
315 } DRIVER_INFO_3W
, *PDRIVER_INFO_3W
, *LPDRIVER_INFO_3W
;
317 DECL_WINELIB_TYPE_AW(DRIVER_INFO_3
)
318 DECL_WINELIB_TYPE_AW(PDRIVER_INFO_3
)
319 DECL_WINELIB_TYPE_AW(LPDRIVER_INFO_3
)
321 typedef struct _PRINTER_INFO_1A
{
326 } PRINTER_INFO_1A
, *PPRINTER_INFO_1A
, *LPPRINTER_INFO_1A
;
328 typedef struct _PRINTER_INFO_1W
{
333 } PRINTER_INFO_1W
, *PPRINTER_INFO_1W
, *LPPRINTER_INFO_1W
;
335 DECL_WINELIB_TYPE_AW(PRINTER_INFO_1
)
336 DECL_WINELIB_TYPE_AW(PPRINTER_INFO_1
)
337 DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_1
)
339 /* FIXME: winspool.h declares some structure members with the name Status.
340 * unfortunatly <X11/ICE/ICElib.h> #defines Status to the type 'int'
341 * therfore the following hack */
344 typedef struct _PRINTER_INFO_2A
{
354 LPSTR pPrintProcessor
;
357 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
360 DWORD DefaultPriority
;
366 } PRINTER_INFO_2A
, *PPRINTER_INFO_2A
, *LPPRINTER_INFO_2A
;
368 typedef struct _PRINTER_INFO_2W
{
378 LPWSTR pPrintProcessor
;
381 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
384 DWORD DefaultPriority
;
390 } PRINTER_INFO_2W
, *PPRINTER_INFO_2W
, *LPPRINTER_INFO_2W
;
392 DECL_WINELIB_TYPE_AW(PRINTER_INFO_2
)
393 DECL_WINELIB_TYPE_AW(PPRINTER_INFO_2
)
394 DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_2
)
396 typedef struct _PRINTER_INFO_3
{
397 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
398 } PRINTER_INFO_3
, *PPRINTER_INFO_3
, *LPPRINTER_INFO_3
;
400 typedef struct _PRINTER_INFO_4A
{
404 } PRINTER_INFO_4A
, *PPRINTER_INFO_4A
, *LPPRINTER_INFO_4A
;
406 typedef struct _PRINTER_INFO_4W
{
410 } PRINTER_INFO_4W
, *PPRINTER_INFO_4W
, *LPPRINTER_INFO_4W
;
412 DECL_WINELIB_TYPE_AW(PRINTER_INFO_4
)
413 DECL_WINELIB_TYPE_AW(PPRINTER_INFO_4
)
414 DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_4
)
416 typedef struct _PRINTER_INFO_5A
{
420 DWORD DeviceNotSelectedTimeOut
;
421 DWORD TransmissionRetryTimeout
;
422 } PRINTER_INFO_5A
, *PPRINTER_INFO_5A
, *LPPRINTER_INFO_5A
;
424 typedef struct _PRINTER_INFO_5W
{
428 DWORD DeviceNotSelectedTimeOut
;
429 DWORD TransmissionRetryTimeout
;
430 } PRINTER_INFO_5W
, *PPRINTER_INFO_5W
, *LPPRINTER_INFO_5W
;
432 DECL_WINELIB_TYPE_AW(PRINTER_INFO_5
)
433 DECL_WINELIB_TYPE_AW(PPRINTER_INFO_5
)
434 DECL_WINELIB_TYPE_AW(LPPRINTER_INFO_5
)
436 typedef struct _PRINTER_INFO_6
{
438 } PRINTER_INFO_6
, *PPRINTER_INFO_6
, *LPPRINTER_INFO_6
;
440 typedef struct _JOB_INFO_1A
{
453 SYSTEMTIME Submitted
;
454 } JOB_INFO_1A
, *PJOB_INFO_1A
, *LPJOB_INFO_1A
;
456 typedef struct _JOB_INFO_1W
{
469 SYSTEMTIME Submitted
;
470 } JOB_INFO_1W
, *PJOB_INFO_1W
, *LPJOB_INFO_1W
;
472 DECL_WINELIB_TYPE_AW(JOB_INFO_1
)
473 DECL_WINELIB_TYPE_AW(PJOB_INFO_1
)
474 DECL_WINELIB_TYPE_AW(LPJOB_INFO_1
)
476 typedef struct _JOB_INFO_2A
{
484 LPSTR pPrintProcessor
;
489 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
497 SYSTEMTIME Submitted
;
500 } JOB_INFO_2A
, *PJOB_INFO_2A
, *LPJOB_INFO_2A
;
502 typedef struct _JOB_INFO_2W
{
510 LPWSTR pPrintProcessor
;
515 PSECURITY_DESCRIPTOR pSecurityDescriptor
;
523 SYSTEMTIME Submitted
;
526 } JOB_INFO_2W
, *PJOB_INFO_2W
, *LPJOB_INFO_2W
;
528 DECL_WINELIB_TYPE_AW(JOB_INFO_2
)
529 DECL_WINELIB_TYPE_AW(PJOB_INFO_2
)
530 DECL_WINELIB_TYPE_AW(LPJOB_INFO_2
)
532 typedef struct _JOB_INFO_3
{
536 } JOB_INFO_3
, *PJOB_INFO_3
, *LPJOB_INFO_3
;
538 typedef struct _ADDJOB_INFO_1A
{
541 } ADDJOB_INFO_1A
, *PADDJOB_INFO_1A
, *LPADDJOB_INFO_1A
;
543 typedef struct _ADDJOB_INFO_1W
{
546 } ADDJOB_INFO_1W
, *PADDJOB_INFO_1W
, *LPADDJOB_INFO_1W
;
548 DECL_WINELIB_TYPE_AW(ADDJOB_INFO_1
)
549 DECL_WINELIB_TYPE_AW(PADDJOB_INFO_1
)
550 DECL_WINELIB_TYPE_AW(LPADDJOB_INFO_1
)
552 typedef struct _DOC_INFO_1A
{
556 } DOC_INFO_1A
, *PDOC_INFO_1A
, *LPDOC_INFO_1A
;
558 typedef struct _DOC_INFO_1W
{
562 } DOC_INFO_1W
, *PDOC_INFO_1W
, *LPDOC_INFO_1W
;
564 DECL_WINELIB_TYPE_AW(DOC_INFO_1
)
565 DECL_WINELIB_TYPE_AW(PDOC_INFO_1
)
566 DECL_WINELIB_TYPE_AW(LPDOC_INFO_1
)
568 typedef struct _DOC_INFO_2A
{
574 } DOC_INFO_2A
, *PDOC_INFO_2A
, *LPDOC_INFO_2A
;
576 typedef struct _DOC_INFO_2W
{
582 } DOC_INFO_2W
, *PDOC_INFO_2W
, *LPDOC_INFO_2W
;
584 DECL_WINELIB_TYPE_AW(DOC_INFO_2
)
585 DECL_WINELIB_TYPE_AW(PDOC_INFO_2
)
586 DECL_WINELIB_TYPE_AW(LPDOC_INFO_2
)
588 typedef struct _FORM_INFO_1A
{
593 } FORM_INFO_1A
, *PFORM_INFO_1A
, *LPFORM_INFO_1A
;
595 typedef struct _FORM_INFO_1W
{
600 } FORM_INFO_1W
, *PFORM_INFO_1W
, *LPFORM_INFO_1W
;
602 DECL_WINELIB_TYPE_AW(FORM_INFO_1
)
603 DECL_WINELIB_TYPE_AW(PFORM_INFO_1
)
604 DECL_WINELIB_TYPE_AW(LPFORM_INFO_1
)
606 typedef struct _PRINTPROCESSOR_INFO_1A
{
608 } PRINTPROCESSOR_INFO_1A
, *PPRINTERPROCESSOR_INFO_1A
,
609 *LPPRINTPROCESSOR_INFO_1A
;
611 typedef struct _PRINTPROCESSOR_INFO_1W
{
613 } PRINTPROCESSOR_INFO_1W
, *PPRINTERPROCESSOR_INFO_1W
,
614 *LPPRINTPROCESSOR_INFO_1W
;
616 DECL_WINELIB_TYPE_AW(PRINTPROCESSOR_INFO_1
)
617 DECL_WINELIB_TYPE_AW(PPRINTPROCESSOR_INFO_1
)
618 DECL_WINELIB_TYPE_AW(LPPRINTPROCESSOR_INFO_1
)
620 typedef struct _PORT_INFO_1A
{
622 } PORT_INFO_1A
, *PPORT_INFO_1A
, *LPPORT_INFO_1A
;
624 typedef struct _PORT_INFO_1W
{
626 } PORT_INFO_1W
, *PPORT_INFO_1W
, *LPPORT_INFO_1W
;
628 DECL_WINELIB_TYPE_AW(PORT_INFO_1
)
629 DECL_WINELIB_TYPE_AW(PPORT_INFO_1
)
630 DECL_WINELIB_TYPE_AW(LPPORT_INFO_1
)
632 typedef struct _PORT_INFO_2A
{
638 } PORT_INFO_2A
, *PPORT_INFO_2A
, *LPPORT_INFO_2A
;
640 typedef struct _PORT_INFO_2W
{
646 } PORT_INFO_2W
, *PPORT_INFO_2W
, *LPPORT_INFO_2W
;
648 DECL_WINELIB_TYPE_AW(PORT_INFO_2
)
649 DECL_WINELIB_TYPE_AW(PPORT_INFO_2
)
650 DECL_WINELIB_TYPE_AW(LPPORT_INFO_2
)
652 typedef struct _PORT_INFO_3A
{
656 } PORT_INFO_3A
, *PPORT_INFO_3A
, *LPPORT_INFO_3A
;
658 typedef struct _PORT_INFO_3W
{
662 } PORT_INFO_3W
, *PPORT_INFO_3W
, *LPPORT_INFO_3W
;
664 DECL_WINELIB_TYPE_AW(PORT_INFO_3
)
665 DECL_WINELIB_TYPE_AW(PPORT_INFO_3
)
666 DECL_WINELIB_TYPE_AW(LPPORT_INFO_3
)
668 typedef struct _MONITOR_INFO_1A
{
670 } MONITOR_INFO_1A
, *PMONITOR_INFO_1A
, *LPMONITOR_INFO_1A
;
672 typedef struct _MONITOR_INFO_1W
{
674 } MONITOR_INFO_1W
, *PMONITOR_INFO_1W
, *LPMONITOR_INFO_1W
;
676 DECL_WINELIB_TYPE_AW(MONITOR_INFO_1
)
677 DECL_WINELIB_TYPE_AW(PMONITOR_INFO_1
)
678 DECL_WINELIB_TYPE_AW(LPMONITOR_INFO_1
)
681 typedef struct _MONITOR_INFO_2A
{
685 } MONITOR_INFO_2A
, *PMONITOR_INFO_2A
, *LPMONITOR_INFO_2A
;
687 typedef struct _MONITOR_INFO_2W
{
691 } MONITOR_INFO_2W
, *PMONITOR_INFO_2W
, *LPMONITOR_INFO_2W
;
693 DECL_WINELIB_TYPE_AW(MONITOR_INFO_2
)
694 DECL_WINELIB_TYPE_AW(PMONITOR_INFO_2
)
695 DECL_WINELIB_TYPE_AW(LPMONITOR_INFO_2
)
697 typedef struct _DATATYPES_INFO_1A
{
699 } DATATYPES_INFO_1A
, *PDATATYPES_INFO_1A
, *LPDATATYPES_INFO_1A
;
701 typedef struct _DATATYPES_INFO_1W
{
703 } DATATYPES_INFO_1W
, *PDATATYPES_INFO_1W
, *LPDATATYPES_INFO_1W
;
705 DECL_WINELIB_TYPE_AW(DATATYPES_INFO_1
)
706 DECL_WINELIB_TYPE_AW(PDATATYPES_INFO_1
)
707 DECL_WINELIB_TYPE_AW(LPDATATYPES_INFO_1
)
709 typedef struct _PRINTER_NOTIFY_OPTIONS_TYPE
{
716 } PRINTER_NOTIFY_OPTIONS_TYPE
, *PPRINTER_NOTIFY_OPTIONS_TYPE
,
717 *LPPRINTER_NOTIFY_OPTIONS_TYPE
;
719 typedef struct _PRINTER_NOTIFY_OPTIONS
{
723 PPRINTER_NOTIFY_OPTIONS_TYPE pTypes
;
724 } PRINTER_NOTIFY_OPTIONS
, *PPRINTER_NOTIFY_OPTIONS
, *LPPRINTER_NOTIFY_OPTIONS
;
726 typedef struct _PRINTER_NOTIFY_INFO_DATA
{
738 } PRINTER_NOTIFY_INFO_DATA
, *PPRINTER_NOTIFY_INFO_DATA
,
739 *LPPRINTER_NOTIFY_INFO_DATA
;
741 typedef struct _PRINTER_NOTIFY_INFO
{
745 PRINTER_NOTIFY_INFO_DATA aData
[1];
746 } PRINTER_NOTIFY_INFO
, *PPRINTER_NOTIFY_INFO
, *LPPRINTER_NOTIFY_INFO
;
748 typedef struct _PROVIDOR_INFO_1A
{
752 } PROVIDOR_INFO_1A
, *PPROVIDOR_INFO_1A
, *LPPROVIDOR_INFO_1A
;
754 typedef struct _PROVIDOR_INFO_1W
{
758 } PROVIDOR_INFO_1W
, *PPROVIDOR_INFO_1W
, *LPPROVIDOR_INFO_1W
;
760 DECL_WINELIB_TYPE_AW(PROVIDOR_INFO_1
)
761 DECL_WINELIB_TYPE_AW(PPROVIDOR_INFO_1
)
762 DECL_WINELIB_TYPE_AW(LPPROVIDOR_INFO_1
)
767 INT WINAPI
DeviceCapabilitiesA(LPCSTR pDevice
,LPCSTR pPort
,WORD fwCapability
,
768 LPSTR pOutput
, LPDEVMODEA pDevMode
);
769 INT WINAPI
DeviceCapabilitiesW(LPCWSTR pDevice
, LPCWSTR pPort
,
770 WORD fwCapability
, LPWSTR pOutput
,
771 const DEVMODEW
*pDevMode
);
773 #define DeviceCapabilities WINELIB_NAME_AW(DeviceCapabilities)
775 LONG WINAPI
DocumentPropertiesA(HWND hWnd
,HANDLE hPrinter
,
776 LPSTR pDeviceName
, LPDEVMODEA pDevModeOutput
,
777 LPDEVMODEA pDevModeInput
,DWORD fMode
);
778 LONG WINAPI
DocumentPropertiesW(HWND hWnd
, HANDLE hPrinter
,
780 LPDEVMODEW pDevModeOutput
,
781 LPDEVMODEW pDevModeInput
, DWORD fMode
);
783 #define DocumentProperties WINELIB_NAME_AW(DocumentProperties)
785 BOOL WINAPI
OpenPrinterA(LPSTR lpPrinterName
,HANDLE
*phPrinter
,
786 LPPRINTER_DEFAULTSA pDefault
);
787 BOOL WINAPI
OpenPrinterW(LPWSTR lpPrinterName
,HANDLE
*phPrinter
,
788 LPPRINTER_DEFAULTSW pDefault
);
790 #define OpenPrinter WINELIB_NAME_AW(OpenPrinter)
792 BOOL WINAPI
ResetPrinterA(HANDLE hPrinter
, LPPRINTER_DEFAULTSA pDefault
);
793 BOOL WINAPI
ResetPrinterW(HANDLE hPrinter
, LPPRINTER_DEFAULTSW pDefault
);
794 #define ResetPrinter WINELIB_NAME_AW(ResetPrinter)
796 BOOL WINAPI
ClosePrinter (HANDLE phPrinter
);
798 BOOL WINAPI
EnumJobsA(HANDLE hPrinter
, DWORD FirstJob
, DWORD NoJobs
,
799 DWORD Level
, LPBYTE pJob
, DWORD cbBuf
, LPDWORD pcbNeeded
,
801 BOOL WINAPI
EnumJobsW(HANDLE hPrinter
, DWORD FirstJob
, DWORD NoJobs
,
802 DWORD Level
, LPBYTE pJob
, DWORD cbBuf
, LPDWORD pcbNeeded
,
804 #define EnumJobs WINELIB_NAME_AW(EnumJobs)
806 BOOL WINAPI
EnumPrintersA(DWORD dwType
, LPSTR lpszName
,
807 DWORD dwLevel
, LPBYTE lpbPrinters
,
808 DWORD cbBuf
, LPDWORD lpdwNeeded
,
809 LPDWORD lpdwReturned
);
810 BOOL WINAPI
EnumPrintersW(DWORD dwType
, LPWSTR lpszName
,
811 DWORD dwLevel
, LPBYTE lpbPrinters
,
812 DWORD cbBuf
, LPDWORD lpdwNeeded
,
813 LPDWORD lpdwReturned
);
814 #define EnumPrinters WINELIB_NAME_AW(EnumPrinters)
816 BOOL WINAPI
PrinterProperties(HWND hWnd
, HANDLE hPrinter
);
818 BOOL WINAPI
GetPrinterDriverDirectoryA(LPSTR
,LPSTR
,DWORD
,LPBYTE
,DWORD
,LPDWORD
);
819 BOOL WINAPI
GetPrinterDriverDirectoryW(LPWSTR
,LPWSTR
,DWORD
,LPBYTE
,DWORD
,LPDWORD
);
820 #define GetPrinterDriverDirectory WINELIB_NAME_AW(GetPrinterDriverDirectory)
822 BOOL WINAPI
GetPrinterDriverA(HANDLE hPrinter
, LPSTR pEnvironment
,
823 DWORD Level
, LPBYTE pDriverInfo
,
824 DWORD cbBuf
, LPDWORD pcbNeeded
);
825 BOOL WINAPI
GetPrinterDriverW(HANDLE hPrinter
, LPWSTR pEnvironment
,
826 DWORD Level
, LPBYTE pDriverInfo
,
827 DWORD cbBuf
, LPDWORD pcbNeeded
);
828 #define GetPrinterDriver WINELIB_NAME_AW(GetPrinterDriver)
830 BOOL WINAPI
SetJobA(HANDLE hPrinter
, DWORD JobID
, DWORD Level
, LPBYTE pJob
,
832 BOOL WINAPI
SetJobW(HANDLE hPrinter
, DWORD JobID
, DWORD Level
, LPBYTE pJob
,
834 #define SetJob WINELIB_NAME_AW(SetJob)
836 BOOL WINAPI
GetJobA(HANDLE hPrinter
, DWORD JobID
, DWORD Level
, LPBYTE pJob
,
837 DWORD cbBuf
, LPDWORD pcbNeeded
);
838 BOOL WINAPI
GetJobW(HANDLE hPrinter
, DWORD JobID
, DWORD Level
, LPBYTE pJob
,
839 DWORD cbBuf
, LPDWORD pcbNeeded
);
840 #define GetJob WINELIB_NAME_AW(GetJob)
842 HANDLE WINAPI
AddPrinterA(LPSTR pName
, DWORD Level
, LPBYTE pPrinter
);
843 HANDLE WINAPI
AddPrinterW(LPWSTR pName
, DWORD Level
, LPBYTE pPrinter
);
844 #define AddPrinter WINELIB_NAME_AW(AddPrinter)
846 BOOL WINAPI
DeletePrinter(HANDLE hPrinter
);
848 BOOL WINAPI
SetPrinterA(HANDLE hPrinter
, DWORD Level
, LPBYTE pPrinter
,
850 BOOL WINAPI
SetPrinterW(HANDLE hPrinter
, DWORD Level
, LPBYTE pPrinter
,
852 #define SetPrinter WINELIB_NAME_AW(SetPrinter)
854 BOOL WINAPI
GetPrinterA(HANDLE hPrinter
, DWORD Level
, LPBYTE pPrinter
,
855 DWORD cbBuf
, LPDWORD pcbNeeded
);
856 BOOL WINAPI
GetPrinterW(HANDLE hPrinter
, DWORD Level
, LPBYTE pPrinter
,
857 DWORD cbBuf
, LPDWORD pcbNeeded
);
858 #define GetPrinter WINELIB_NAME_AW(GetPrinter)
860 BOOL WINAPI
AddPrinterDriverA(LPSTR pName
, DWORD Level
, LPBYTE pDriverInfo
);
861 BOOL WINAPI
AddPrinterDriverW(LPWSTR pName
, DWORD Level
, LPBYTE pDriverInfo
);
862 #define AddPrinterDriver WINELIB_NAME_AW(AddPrinterDriver)
864 BOOL WINAPI
EnumPrinterDriversA(LPSTR pName
, LPSTR pEnvironment
, DWORD Level
,
865 LPBYTE pDriverInfo
, DWORD cbBuf
,
866 LPDWORD pcbNeeded
, LPDWORD pcbReturned
);
867 BOOL WINAPI
EnumPrinterDriversW(LPWSTR pName
, LPWSTR pEnvironment
, DWORD Level
,
868 LPBYTE pDriverInfo
, DWORD cbBuf
,
869 LPDWORD pcbNeeded
, LPDWORD pcbReturned
);
870 #define EnumPrinterDrivers WINELIB_NAME_AW(EnumPrinterDrivers)
872 BOOL WINAPI
DeletePrinterDriverA(LPSTR pName
, LPSTR pEnvironment
,
874 BOOL WINAPI
DeletePrinterDriverW(LPWSTR pName
, LPWSTR pEnvironment
,
876 #define DeletePrinterDriver WINELIB_NAME_AW(DeletePrinterDriver)
878 BOOL WINAPI
AddPrintProcessorA(LPSTR pName
, LPSTR pEnvironment
,
879 LPSTR pPathName
, LPSTR pPrintProcessorName
);
880 BOOL WINAPI
AddPrintProcessorW(LPWSTR pName
, LPWSTR pEnvironment
,
881 LPWSTR pPathName
, LPWSTR pPrintProcessorName
);
882 #define AddPrintProcessor WINELIB_NAME_AW(AddPrintProcessor)
884 BOOL WINAPI
EnumPrintProcessorsA(LPSTR pName
, LPSTR pEnvironment
,
885 DWORD Level
, LPBYTE pPrintProcessorInfo
,
886 DWORD cbBuf
, LPDWORD pcbNeeded
,
887 LPDWORD pcbReturned
);
888 BOOL WINAPI
EnumPrintProcessorsW(LPWSTR pName
, LPWSTR pEnvironment
,
889 DWORD Level
, LPBYTE pPrintProcessorInfo
,
890 DWORD cbBuf
, LPDWORD pcbNeeded
,
891 LPDWORD pcbReturned
);
892 #define EnumPrintProcessors WINELIB_NAME_AW(EnumPrintProcessors)
894 BOOL WINAPI
GetPrintProcessorDirectoryA(LPSTR pName
, LPSTR pEnvironment
,
896 LPBYTE pPrintProcessorInfo
,
897 DWORD cbBuf
, LPDWORD pcbNeeded
);
899 BOOL WINAPI
GetPrintProcessorDirectoryW(LPWSTR pName
, LPWSTR pEnvironment
,
901 LPBYTE pPrintProcessorInfo
,
902 DWORD cbBuf
, LPDWORD pcbNeeded
);
903 #define GetPrintProcessorDirectory WINELIB_NAME_AW(GetPrintProcessorDirectory)
905 BOOL WINAPI
EnumPrintProcessorDatatypesA(LPSTR pName
,
906 LPSTR pPrintProcessorName
,
907 DWORD Level
, LPBYTE pDatatypes
,
908 DWORD cbBuf
, LPDWORD pcbNeeded
,
909 LPDWORD pcbReturned
);
910 BOOL WINAPI
EnumPrintProcessorDatatypesW(LPWSTR pName
,
911 LPWSTR pPrintProcessorName
,
912 DWORD Level
, LPBYTE pDatatypes
,
913 DWORD cbBuf
, LPDWORD pcbNeeded
,
914 LPDWORD pcbReturned
);
915 #define EnumPrintProcessorDatatypes WINELIB_NAME_AW(EnumPrintProcessorDatatypes)
917 BOOL WINAPI
DeletePrintProcessorA(LPSTR pName
, LPSTR pEnvironment
,
918 LPSTR pPrintProcessorName
);
919 BOOL WINAPI
DeletePrintProcessorW(LPWSTR pName
, LPWSTR pEnvironment
,
920 LPWSTR pPrintProcessorName
);
921 #define DeletePrintProcessor WINELIB_NAME_AW(DeletePrintProcessor)
923 DWORD WINAPI
StartDocPrinterA(HANDLE hPrinter
, DWORD Level
, LPBYTE pDocInfo
);
924 DWORD WINAPI
StartDocPrinterW(HANDLE hPrinter
, DWORD Level
, LPBYTE pDocInfo
);
925 #define StartDocPrinter WINELIB_NAME_AW(StartDocPrinter)
927 BOOL WINAPI
StartPagePrinter(HANDLE hPrinter
);
928 BOOL WINAPI
WritePrinter(HANDLE hPrinter
, LPVOID pBuf
, DWORD cbBuf
,
930 BOOL WINAPI
EndPagePrinter(HANDLE hPrinter
);
931 BOOL WINAPI
AbortPrinter(HANDLE hPrinter
);
932 BOOL WINAPI
ReadPrinter(HANDLE hPrinter
, LPVOID pBuf
, DWORD cbBuf
,
933 LPDWORD pNoBytesRead
);
934 BOOL WINAPI
EndDocPrinter(HANDLE hPrinter
);
936 BOOL WINAPI
AddJobA(HANDLE hPrinter
, DWORD Level
, LPBYTE pData
, DWORD cbBuf
,
938 BOOL WINAPI
AddJobW(HANDLE hPrinter
, DWORD Level
, LPBYTE pData
, DWORD cbBuf
,
940 #define AddJob WINELIB_NAME_AW(AddJob)
942 BOOL WINAPI
ScheduleJob(HANDLE hPrinter
, DWORD JobID
);
944 LONG WINAPI
AdvancedDocumentPropertiesA(HWND hWnd
, HANDLE hPrinter
,
946 PDEVMODEA pDevModeOutput
,
947 PDEVMODEA pDevModeInput
);
948 LONG WINAPI
AdvancedDocumentPropertiesW(HWND hWnd
, HANDLE hPrinter
,
950 PDEVMODEW pDevModeOutput
,
951 PDEVMODEW pDevModeInput
);
952 #define AdvancedDocumentProperties WINELIB_NAME_AW(AdvancedDocumentProperties)
954 DWORD WINAPI
GetPrinterDataA(HANDLE hPrinter
, LPSTR pValueName
, LPDWORD pType
,
955 LPBYTE pData
, DWORD nSize
, LPDWORD pcbNeeded
);
956 DWORD WINAPI
GetPrinterDataW(HANDLE hPrinter
, LPWSTR pValueName
, LPDWORD pType
,
957 LPBYTE pData
, DWORD nSize
, LPDWORD pcbNeeded
);
958 #define GetPrinterData WINELIB_NAME_AW(GetPrinterData)
960 DWORD WINAPI
SetPrinterDataA(HANDLE hPrinter
, LPSTR pValueName
, DWORD Type
,
961 LPBYTE pData
, DWORD cbData
);
962 DWORD WINAPI
SetPrinterDataW(HANDLE hPrinter
, LPWSTR pValueName
, DWORD Type
,
963 LPBYTE pData
, DWORD cbData
);
964 #define SetPrinterData WINELIB_NAME_AW(SetPrinterData)
966 DWORD WINAPI
WaitForPrinterChange(HANDLE hPrinter
, DWORD Flags
);
967 HANDLE WINAPI
FindFirstPrinterChangeNotification(HANDLE hPrinter
,
970 LPVOID pPrinterNotifyOptions
);
971 BOOL WINAPI
FindNextPrinterChangeNotification(HANDLE hChange
,
974 LPVOID
*ppPrinterNotifyInfo
);
975 BOOL WINAPI
FreePrinterBotifyInfo(PPRINTER_NOTIFY_INFO pPrinterNotifyInfo
);
976 BOOL WINAPI
FindClosePrinterChangeNotification(HANDLE hChange
);
978 DWORD WINAPI
PrinterMessageBoxA(HANDLE hPrinter
, DWORD Error
, HWND hWnd
,
979 LPSTR pText
, LPSTR pCaption
, DWORD dwType
);
980 DWORD WINAPI
PrinterMessageBoxW(HANDLE hPrinter
, DWORD Error
, HWND hWnd
,
981 LPWSTR pText
, LPWSTR pCaption
, DWORD dwType
);
982 #define PrinterMessageBox WINELIB_NAME_AW(PrinterMessageBox)
984 BOOL WINAPI
AddFormA(HANDLE hPrinter
, DWORD Level
, LPBYTE pForm
);
985 BOOL WINAPI
AddFormW(HANDLE hPrinter
, DWORD Level
, LPBYTE pForm
);
986 #define AddForm WINELIB_NAME_AW(AddForm)
988 BOOL WINAPI
DeleteFormA(HANDLE hPrinter
, LPSTR pFormName
);
989 BOOL WINAPI
DeleteFormW(HANDLE hPrinter
, LPWSTR pFormName
);
990 #define DeleteForm WINELIB_NAME_AW(DeleteForm)
992 BOOL WINAPI
GetFormA(HANDLE hPrinter
, LPSTR pFormName
, DWORD Level
,
993 LPBYTE pForm
, DWORD cbBuf
, LPDWORD pcbNeeded
);
994 BOOL WINAPI
GetFormW(HANDLE hPrinter
, LPWSTR pFormName
, DWORD Level
,
995 LPBYTE pForm
, DWORD cbBuf
, LPDWORD pcbNeeded
);
996 #define GetForm WINELIB_NAME_AW(GetForm)
998 BOOL WINAPI
SetFormA(HANDLE hPrinter
, LPSTR pFormName
, DWORD Level
,
1000 BOOL WINAPI
SetFormW(HANDLE hPrinter
, LPWSTR pFormName
, DWORD Level
,
1002 #define SetForm WINELIB_NAME_AW(SetForm)
1004 BOOL WINAPI
EnumFormsA(HANDLE hPrinter
, DWORD Level
, LPBYTE pForm
, DWORD cbBuf
,
1005 LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1006 BOOL WINAPI
EnumFormsW(HANDLE hPrinter
, DWORD Level
, LPBYTE pForm
, DWORD cbBuf
,
1007 LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1008 #define EnumForms WINELIB_NAME_AW(EnumForms)
1010 BOOL WINAPI
EnumMonitorsA(LPSTR pName
, DWORD Level
, LPBYTE pMonitors
,
1011 DWORD cbBuf
, LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1012 BOOL WINAPI
EnumMonitorsW(LPWSTR pName
, DWORD Level
, LPBYTE pMonitors
,
1013 DWORD cbBuf
, LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1014 #define EnumMonitors WINELIB_NAME_AW(EnumMonitors)
1016 BOOL WINAPI
AddMonitorA(LPSTR pName
, DWORD Level
, LPBYTE pMonitors
);
1017 BOOL WINAPI
AddMonitorW(LPWSTR pName
, DWORD Level
, LPBYTE pMonitors
);
1018 #define AddMonitor WINELIB_NAME_AW(AddMonitor)
1020 BOOL WINAPI
DeleteMonitorA(LPSTR pName
, LPSTR pEnvironment
,
1021 LPSTR pMonitorName
);
1022 BOOL WINAPI
DeleteMonitorW(LPWSTR pName
, LPWSTR pEnvironment
,
1023 LPWSTR pMonitorName
);
1024 #define DeleteMonitor WINELIB_NAME_AW(DeleteMonitor)
1026 BOOL WINAPI
EnumPortsA(LPSTR pName
, DWORD Level
, LPBYTE pPorts
,
1027 DWORD cbBuf
, LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1028 BOOL WINAPI
EnumPortsW(LPWSTR pName
, DWORD Level
, LPBYTE pPorts
,
1029 DWORD cbBuf
, LPDWORD pcbNeeded
, LPDWORD pcReturned
);
1030 #define EnumPorts WINELIB_NAME_AW(EnumPorts)
1032 BOOL WINAPI
AddPortA(LPSTR pName
, HWND hWnd
, LPSTR pMonitorName
);
1033 BOOL WINAPI
AddPortW(LPWSTR pName
, HWND hWnd
, LPWSTR pMonitorName
);
1034 #define AddPort WINELIB_NAME_AW(AddPort)
1036 BOOL WINAPI
ConfigurePortA(LPSTR pName
, HWND hWnd
, LPSTR pPortName
);
1037 BOOL WINAPI
ConfigurePortW(LPWSTR pName
, HWND hWnd
, LPWSTR pPortName
);
1038 #define ConfigurePort WINELIB_NAME_AW(ConfigurePort)
1040 BOOL WINAPI
DeletePortA(LPSTR pName
, HWND hWnd
, LPSTR pPortName
);
1041 BOOL WINAPI
DeletePortW(LPWSTR pName
, HWND hWnd
, LPWSTR pPortName
);
1042 #define DeletePort WINELIB_NAME_AW(DeletePort)
1044 BOOL WINAPI
SetPortA(LPSTR pName
, LPSTR pPortName
, DWORD dwLevel
,
1046 BOOL WINAPI
SetPortW(LPWSTR pName
, LPWSTR pPortName
, DWORD dwLevel
,
1048 #define SetPort WINELIB_NAME_AW(SetPort)
1050 BOOL WINAPI
AddPrinterConnectionA(LPSTR pName
);
1051 BOOL WINAPI
AddPrinterConnectionW(LPWSTR pName
);
1052 #define AddPrinterConnection WINELIB_NAME_AW(AddPrinterConnection)
1054 BOOL WINAPI
DeletePrinterConnectionA(LPSTR pName
);
1055 BOOL WINAPI
DeletePrinterConnectionW(LPWSTR pName
);
1056 #define DeletePrinterConnection WINELIB_NAME_AW(DeletePrinterConnection)
1058 HANDLE WINAPI
ConnectToPrinterDlg(HWND hwnd
, DWORD Flags
);
1060 BOOL WINAPI
AddPrintProvidorA(LPSTR pName
, DWORD Level
, LPBYTE pProvidorInfo
);
1061 BOOL WINAPI
AddPrintProvidorW(LPWSTR pName
, DWORD Level
, LPBYTE pProvidorInfo
);
1062 #define AddPrintProvidor WINELIB_NAME_AW(AddPrintProvidor)
1064 BOOL WINAPI
DeletePrintProvidorA(LPSTR pName
, LPSTR pEnvironment
,
1065 LPSTR pPrintProvidorName
);
1066 BOOL WINAPI
DeletePrintProvidorW(LPWSTR pName
, LPWSTR pEnvironment
,
1067 LPWSTR pPrintProvidorName
);
1068 #define DeletePrintProvidor WINELIB_NAME_AW(DeletePrintProvidor)
1076 #endif /* __WINE_WINSPOOL_H */