1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/misc.h"
8 #include "librpc/gen_ndr/security.h"
9 #include "librpc/gen_ndr/winreg.h"
10 #ifndef _HEADER_spoolss
11 #define _HEADER_spoolss
13 #define PRINTER_STATUS_OK ( 0x00000000 )
14 #define JOB_STATUS_QUEUED ( 0x0000 )
15 #define MAXDEVICENAME ( 32 )
16 #define PRINTER_ENUM_ICONMASK ( (PRINTER_ENUM_ICON1|PRINTER_ENUM_ICON2|PRINTER_ENUM_ICON3|PRINTER_ENUM_ICON4|PRINTER_ENUM_ICON5|PRINTER_ENUM_ICON6|PRINTER_ENUM_ICON7|PRINTER_ENUM_ICON8) )
17 #define SPL_ARCH_WIN40 ( "WIN40" )
18 #define SPL_ARCH_W32X86 ( "W32X86" )
19 #define SPL_ARCH_W32MIPS ( "W32MIPS" )
20 #define SPL_ARCH_W32ALPHA ( "W32ALPHA" )
21 #define SPL_ARCH_W32PPC ( "W32PPC" )
22 #define SPL_ARCH_IA64 ( "IA64" )
23 #define SPL_ARCH_X64 ( "x64" )
24 #define SPOOLSS_ARCHITECTURE_ALL ( "All" )
25 #define SPOOLSS_ARCHITECTURE_ALL_CLUSTER ( "AllCluster" )
26 #define SPOOLSS_ARCHITECTURE_NT_X86 ( "Windows NT x86" )
27 #define SPOOLSS_ARCHITECTURE_IA_64 ( "Windows IA64" )
28 #define SPOOLSS_ARCHITECTURE_x64 ( "Windows x64" )
29 #define SPOOLSS_ARCHITECTURE_4_0 ( "Windows 4.0" )
30 #define SPOOLSS_DEFAULT_SERVER_PATH ( "C:\\WINDOWS\\system32\\spool" )
31 #define SPOOL_PRINTERDATA_KEY ( "PrinterDriverData" )
32 #define SPOOL_DSSPOOLER_KEY ( "DsSpooler" )
33 #define SPOOL_DSDRIVER_KEY ( "DsDriver" )
34 #define SPOOL_DSUSER_KEY ( "DsUser" )
35 #define SPOOL_PNPDATA_KEY ( "PnPData" )
36 #define SPOOL_OID_KEY ( "OID" )
37 #define SPOOL_REG_ASSETNUMBER ( "assetNumber" )
38 #define SPOOL_REG_BYTESPERMINUTE ( "bytesPerMinute" )
39 #define SPOOL_REG_DEFAULTPRIORITY ( "defaultPriority" )
40 #define SPOOL_REG_DESCRIPTION ( "description" )
41 #define SPOOL_REG_DRIVERNAME ( "driverName" )
42 #define SPOOL_REG_DRIVERVERSION ( "driverVersion" )
43 #define SPOOL_REG_FLAGS ( "flags" )
44 #define SPOOL_REG_LOCATION ( "location" )
45 #define SPOOL_REG_OPERATINGSYSTEM ( "operatingSystem" )
46 #define SPOOL_REG_OPERATINGSYSTEMHOTFIX ( "operatingSystemHotfix" )
47 #define SPOOL_REG_OPERATINGSYSTEMSERVICEPACK ( "operatingSystemServicePack" )
48 #define SPOOL_REG_OPERATINGSYSTEMVERSION ( "operatingSystemVersion" )
49 #define SPOOL_REG_PORTNAME ( "portName" )
50 #define SPOOL_REG_PRINTATTRIBUTES ( "printAttributes" )
51 #define SPOOL_REG_PRINTBINNAMES ( "printBinNames" )
52 #define SPOOL_REG_PRINTCOLLATE ( "printCollate" )
53 #define SPOOL_REG_PRINTCOLOR ( "printColor" )
54 #define SPOOL_REG_PRINTDUPLEXSUPPORTED ( "printDuplexSupported" )
55 #define SPOOL_REG_PRINTENDTIME ( "printEndTime" )
56 #define SPOOL_REG_PRINTERNAME ( "printerName" )
57 #define SPOOL_REG_PRINTFORMNAME ( "printFormName" )
58 #define SPOOL_REG_PRINTKEEPPRINTEDJOBS ( "printKeepPrintedJobs" )
59 #define SPOOL_REG_PRINTLANGUAGE ( "printLanguage" )
60 #define SPOOL_REG_PRINTMACADDRESS ( "printMACAddress" )
61 #define SPOOL_REG_PRINTMAXCOPIES ( "printMaxCopies" )
62 #define SPOOL_REG_PRINTMAXRESOLUTIONSUPPORTED ( "printMaxResolutionSupported" )
63 #define SPOOL_REG_PRINTMAXXEXTENT ( "printMaxXExtent" )
64 #define SPOOL_REG_PRINTMAXYEXTENT ( "printMaxYExtent" )
65 #define SPOOL_REG_PRINTMEDIAREADY ( "printMediaReady" )
66 #define SPOOL_REG_PRINTMEDIASUPPORTED ( "printMediaSupported" )
67 #define SPOOL_REG_PRINTMEMORY ( "printMemory" )
68 #define SPOOL_REG_PRINTMINXEXTENT ( "printMinXExtent" )
69 #define SPOOL_REG_PRINTMINYEXTENT ( "printMinYExtent" )
70 #define SPOOL_REG_PRINTNETWORKADDRESS ( "printNetworkAddress" )
71 #define SPOOL_REG_PRINTNOTIFY ( "printNotify" )
72 #define SPOOL_REG_PRINTNUMBERUP ( "printNumberUp" )
73 #define SPOOL_REG_PRINTORIENTATIONSSUPPORTED ( "printOrientationsSupported" )
74 #define SPOOL_REG_PRINTOWNER ( "printOwner" )
75 #define SPOOL_REG_PRINTPAGESPERMINUTE ( "printPagesPerMinute" )
76 #define SPOOL_REG_PRINTRATE ( "printRate" )
77 #define SPOOL_REG_PRINTRATEUNIT ( "printRateUnit" )
78 #define SPOOL_REG_PRINTSEPARATORFILE ( "printSeparatorFile" )
79 #define SPOOL_REG_PRINTSHARENAME ( "printShareName" )
80 #define SPOOL_REG_PRINTSPOOLING ( "printSpooling" )
81 #define SPOOL_REGVAL_PRINTWHILESPOOLING ( "PrintWhileSpooling" )
82 #define SPOOL_REGVAL_PRINTAFTERSPOOLED ( "PrintAfterSpooled" )
83 #define SPOOL_REGVAL_PRINTDIRECT ( "PrintDirect" )
84 #define SPOOL_REG_PRINTSTAPLINGSUPPORTED ( "printStaplingSupported" )
85 #define SPOOL_REG_PRINTSTARTTIME ( "printStartTime" )
86 #define SPOOL_REG_PRINTSTATUS ( "printStatus" )
87 #define SPOOL_REG_PRIORITY ( "priority" )
88 #define SPOOL_REG_SERVERNAME ( "serverName" )
89 #define SPOOL_REG_SHORTSERVERNAME ( "shortServerName" )
90 #define SPOOL_REG_UNCNAME ( "uNCName" )
91 #define SPOOL_REG_URL ( "url" )
92 #define SPOOL_REG_VERSIONNUMBER ( "versionNumber" )
93 #define SPL_LOCAL_PORT ( "Local Port" )
94 #define SPL_TCPIP_PORT ( "Standard TCP/IP Port" )
95 #define SPL_XCV_MONITOR_LOCALMON ( ",XcvMonitor Local Port" )
96 #define SPL_XCV_MONITOR_TCPMON ( ",XcvMonitor Standard TCP/IP Port" )
97 #define PRINTER_CHANGE_PRINTER ( 0x000000FF )
98 #define PRINTER_CHANGE_JOB ( 0x0000FF00 )
99 #define PRINTER_CHANGE_FORM ( (PRINTER_CHANGE_ADD_FORM|PRINTER_CHANGE_SET_FORM|PRINTER_CHANGE_DELETE_FORM) )
100 #define PRINTER_CHANGE_PORT ( (PRINTER_CHANGE_ADD_PORT|PRINTER_CHANGE_CONFIGURE_PORT|PRINTER_CHANGE_DELETE_PORT) )
101 #define PRINTER_CHANGE_PRINT_PROCESSOR ( 0x07000000 )
102 #define PRINTER_CHANGE_PRINTER_DRIVER ( (PRINTER_CHANGE_ADD_PRINTER_DRIVER|PRINTER_CHANGE_SET_PRINTER_DRIVER|PRINTER_CHANGE_DELETE_PRINTER_DRIVER) )
103 #define PRINTER_CHANGE_ALL ( (PRINTER_CHANGE_PRINTER|PRINTER_CHANGE_JOB|PRINTER_CHANGE_FORM|PRINTER_CHANGE_PORT|PRINTER_CHANGE_PRINT_PROCESSOR|PRINTER_CHANGE_PRINTER_DRIVER) )
104 #define SERVER_ALL_ACCESS ( SEC_STD_REQUIRED|SERVER_ACCESS_ADMINISTER|SERVER_ACCESS_ENUMERATE )
105 #define SERVER_READ ( SEC_STD_READ_CONTROL|SERVER_ACCESS_ENUMERATE )
106 #define SERVER_WRITE ( STANDARD_RIGHTS_WRITE_ACCESS|SERVER_ACCESS_ADMINISTER|SERVER_ACCESS_ENUMERATE )
107 #define SERVER_EXECUTE ( SEC_STD_READ_CONTROL|SERVER_ACCESS_ENUMERATE )
108 #define PRINTER_ALL_ACCESS ( SEC_STD_REQUIRED|PRINTER_ACCESS_ADMINISTER|PRINTER_ACCESS_USE )
109 #define PRINTER_READ ( SEC_STD_READ_CONTROL|PRINTER_ACCESS_USE )
110 #define PRINTER_WRITE ( STANDARD_RIGHTS_WRITE_ACCESS|PRINTER_ACCESS_USE )
111 #define PRINTER_EXECUTE ( SEC_STD_READ_CONTROL|PRINTER_ACCESS_USE )
112 #define JOB_ALL_ACCESS ( SEC_STD_REQUIRED|JOB_ACCESS_ADMINISTER )
113 #define JOB_READ ( SEC_STD_READ_CONTROL|JOB_ACCESS_ADMINISTER )
114 #define JOB_WRITE ( STANDARD_RIGHTS_WRITE_ACCESS|JOB_ACCESS_ADMINISTER )
115 #define JOB_EXECUTE ( SEC_STD_READ_CONTROL|JOB_ACCESS_ADMINISTER )
116 #define PRINTER_ACE_FULL_CONTROL ( SEC_GENERIC_ALL|PRINTER_ALL_ACCESS )
117 #define PRINTER_ACE_MANAGE_DOCUMENTS ( SEC_GENERIC_ALL|READ_CONTROL_ACCESS )
118 #define PRINTER_ACE_PRINT ( GENERIC_EXECUTE_ACCESS|READ_CONTROL_ACCESS|PRINTER_ACCESS_USE )
119 struct spoolss_Time {
122 uint16_t day_of_week;
127 uint16_t millisecond;
130 struct spoolss_TimeCtr {
131 uint32_t size;/* [value(ndr_size_spoolss_Time(time,ndr->iconv_convenience,ndr->flags))] */
132 struct spoolss_Time *time;/* [unique] */
135 enum spoolss_ProcessorArchitecture
136 #ifndef USE_UINT_ENUMS
138 PROCESSOR_ARCHITECTURE_INTEL=(int)(0x0000),
139 PROCESSOR_ARCHITECTURE_IA64=(int)(0x0006),
140 PROCESSOR_ARCHITECTURE_AMD64=(int)(0x0009)
143 { __donnot_use_enum_spoolss_ProcessorArchitecture=0x7FFFFFFF}
144 #define PROCESSOR_ARCHITECTURE_INTEL ( 0x0000 )
145 #define PROCESSOR_ARCHITECTURE_IA64 ( 0x0006 )
146 #define PROCESSOR_ARCHITECTURE_AMD64 ( 0x0009 )
150 enum spoolss_ProcessorType
151 #ifndef USE_UINT_ENUMS
153 PROCESSOR_INTEL_386=(int)(0x00000182),
154 PROCESSOR_INTEL_486=(int)(0x000001E6),
155 PROCESSOR_INTEL_PENTIUM=(int)(0x0000024A),
156 PROCESSOR_INTEL_IA64=(int)(0x00000898),
157 PROCESSOR_AMD_X8664=(int)(0x000022A0)
160 { __donnot_use_enum_spoolss_ProcessorType=0x7FFFFFFF}
161 #define PROCESSOR_INTEL_386 ( 0x00000182 )
162 #define PROCESSOR_INTEL_486 ( 0x000001E6 )
163 #define PROCESSOR_INTEL_PENTIUM ( 0x0000024A )
164 #define PROCESSOR_INTEL_IA64 ( 0x00000898 )
165 #define PROCESSOR_AMD_X8664 ( 0x000022A0 )
169 enum spoolss_MajorVersion
170 #ifndef USE_UINT_ENUMS
172 SPOOLSS_MAJOR_VERSION_NT4_95_98_ME=(int)(0x00000004),
173 SPOOLSS_MAJOR_VERSION_2000_2003_XP=(int)(0x00000005),
174 SPOOLSS_MAJOR_VERSION_2008_VISTA=(int)(0x00000006)
177 { __donnot_use_enum_spoolss_MajorVersion=0x7FFFFFFF}
178 #define SPOOLSS_MAJOR_VERSION_NT4_95_98_ME ( 0x00000004 )
179 #define SPOOLSS_MAJOR_VERSION_2000_2003_XP ( 0x00000005 )
180 #define SPOOLSS_MAJOR_VERSION_2008_VISTA ( 0x00000006 )
184 enum spoolss_MinorVersion
185 #ifndef USE_UINT_ENUMS
187 SPOOLSS_MINOR_VERSION_0=(int)(0x00000000),
188 SPOOLSS_MINOR_VERSION_XP=(int)(0x00000001),
189 SPOOLSS_MINOR_VERSION_2003_XP64=(int)(0x00000002),
190 SPOOLSS_MINOR_VERSION_98=(int)(0x0000000a),
191 SPOOLSS_MINOR_VERSION_ME=(int)(0x0000005a)
194 { __donnot_use_enum_spoolss_MinorVersion=0x7FFFFFFF}
195 #define SPOOLSS_MINOR_VERSION_0 ( 0x00000000 )
196 #define SPOOLSS_MINOR_VERSION_XP ( 0x00000001 )
197 #define SPOOLSS_MINOR_VERSION_2003_XP64 ( 0x00000002 )
198 #define SPOOLSS_MINOR_VERSION_98 ( 0x0000000a )
199 #define SPOOLSS_MINOR_VERSION_ME ( 0x0000005a )
203 /* bitmap spoolss_PrinterStatus */
204 #define PRINTER_STATUS_PAUSED ( 0x00000001 )
205 #define PRINTER_STATUS_ERROR ( 0x00000002 )
206 #define PRINTER_STATUS_PENDING_DELETION ( 0x00000004 )
207 #define PRINTER_STATUS_PAPER_JAM ( 0x00000008 )
208 #define PRINTER_STATUS_PAPER_OUT ( 0x00000010 )
209 #define PRINTER_STATUS_MANUAL_FEED ( 0x00000020 )
210 #define PRINTER_STATUS_PAPER_PROBLEM ( 0x00000040 )
211 #define PRINTER_STATUS_OFFLINE ( 0x00000080 )
212 #define PRINTER_STATUS_IO_ACTIVE ( 0x00000100 )
213 #define PRINTER_STATUS_BUSY ( 0x00000200 )
214 #define PRINTER_STATUS_PRINTING ( 0x00000400 )
215 #define PRINTER_STATUS_OUTPUT_BIN_FULL ( 0x00000800 )
216 #define PRINTER_STATUS_NOT_AVAILABLE ( 0x00001000 )
217 #define PRINTER_STATUS_WAITING ( 0x00002000 )
218 #define PRINTER_STATUS_PROCESSING ( 0x00004000 )
219 #define PRINTER_STATUS_INITIALIZING ( 0x00008000 )
220 #define PRINTER_STATUS_WARMING_UP ( 0x00010000 )
221 #define PRINTER_STATUS_TONER_LOW ( 0x00020000 )
222 #define PRINTER_STATUS_NO_TONER ( 0x00040000 )
223 #define PRINTER_STATUS_PAGE_PUNT ( 0x00080000 )
224 #define PRINTER_STATUS_USER_INTERVENTION ( 0x00100000 )
225 #define PRINTER_STATUS_OUT_OF_MEMORY ( 0x00200000 )
226 #define PRINTER_STATUS_DOOR_OPEN ( 0x00400000 )
227 #define PRINTER_STATUS_SERVER_UNKNOWN ( 0x00800000 )
228 #define PRINTER_STATUS_POWER_SAVE ( 0x01000000 )
230 /* bitmap spoolss_JobStatus */
231 #define JOB_STATUS_PAUSED ( 0x00000001 )
232 #define JOB_STATUS_ERROR ( 0x00000002 )
233 #define JOB_STATUS_DELETING ( 0x00000004 )
234 #define JOB_STATUS_SPOOLING ( 0x00000008 )
235 #define JOB_STATUS_PRINTING ( 0x00000010 )
236 #define JOB_STATUS_OFFLINE ( 0x00000020 )
237 #define JOB_STATUS_PAPEROUT ( 0x00000040 )
238 #define JOB_STATUS_PRINTED ( 0x00000080 )
239 #define JOB_STATUS_DELETED ( 0x00000100 )
240 #define JOB_STATUS_BLOCKED_DEVQ ( 0x00000200 )
241 #define JOB_STATUS_USER_INTERVENTION ( 0x00000400 )
242 #define JOB_STATUS_RESTART ( 0x00000800 )
243 #define JOB_STATUS_COMPLETE ( 0x00001000 )
245 struct spoolss_PrinterInfo0 {
246 const char * printername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
247 const char * servername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
250 uint32_t total_bytes;
251 struct spoolss_Time time;
252 uint32_t global_counter;
253 uint32_t total_pages;
257 uint32_t max_spooling;
258 uint32_t session_counter;
259 uint32_t num_error_out_of_paper;
260 uint32_t num_error_not_ready;
262 uint32_t number_of_processors;
263 enum spoolss_ProcessorType processor_type;
264 uint32_t high_part_total_bytes;
268 uint32_t enumerate_network_printers;
269 uint32_t c_setprinter;
270 enum spoolss_ProcessorArchitecture processor_architecture;
271 uint16_t processor_level;
275 }/* [gensize,public] */;
277 /* bitmap spoolss_DeviceModeFields */
278 #define DEVMODE_ORIENTATION ( 0x00000001 )
279 #define DEVMODE_PAPERSIZE ( 0x00000002 )
280 #define DEVMODE_PAPERLENGTH ( 0x00000004 )
281 #define DEVMODE_PAPERWIDTH ( 0x00000008 )
282 #define DEVMODE_SCALE ( 0x00000010 )
283 #define DEVMODE_POSITION ( 0x00000020 )
284 #define DEVMODE_NUP ( 0x00000040 )
285 #define DEVMODE_COPIES ( 0x00000100 )
286 #define DEVMODE_DEFAULTSOURCE ( 0x00000200 )
287 #define DEVMODE_PRINTQUALITY ( 0x00000400 )
288 #define DEVMODE_COLOR ( 0x00000800 )
289 #define DEVMODE_DUPLEX ( 0x00001000 )
290 #define DEVMODE_YRESOLUTION ( 0x00002000 )
291 #define DEVMODE_TTOPTION ( 0x00004000 )
292 #define DEVMODE_COLLATE ( 0x00008000 )
293 #define DEVMODE_FORMNAME ( 0x00010000 )
294 #define DEVMODE_LOGPIXELS ( 0x00020000 )
295 #define DEVMODE_BITSPERPEL ( 0x00040000 )
296 #define DEVMODE_PELSWIDTH ( 0x00080000 )
297 #define DEVMODE_PELSHEIGHT ( 0x00100000 )
298 #define DEVMODE_DISPLAYFLAGS ( 0x00200000 )
299 #define DEVMODE_DISPLAYFREQUENCY ( 0x00400000 )
300 #define DEVMODE_ICMMETHOD ( 0x00800000 )
301 #define DEVMODE_ICMINTENT ( 0x01000000 )
302 #define DEVMODE_MEDIATYPE ( 0x02000000 )
303 #define DEVMODE_DITHERTYPE ( 0x04000000 )
304 #define DEVMODE_PANNINGWIDTH ( 0x08000000 )
305 #define DEVMODE_PANNINGHEIGHT ( 0x10000000 )
307 enum spoolss_DeviceModeSpecVersion
308 #ifndef USE_UINT_ENUMS
310 DMSPEC_NT3=(int)(0x320),
311 DMSPEC_WIN95_98_ME=(int)(0x400),
312 DMSPEC_NT4_AND_ABOVE=(int)(0x401)
315 { __donnot_use_enum_spoolss_DeviceModeSpecVersion=0x7FFFFFFF}
316 #define DMSPEC_NT3 ( 0x320 )
317 #define DMSPEC_WIN95_98_ME ( 0x400 )
318 #define DMSPEC_NT4_AND_ABOVE ( 0x401 )
322 enum spoolss_DeviceModeOrientation
323 #ifndef USE_UINT_ENUMS
325 DMORIENT_PORTRAIT=(int)(0x0001),
326 DMORIENT_LANDSCAPE=(int)(0x0002)
329 { __donnot_use_enum_spoolss_DeviceModeOrientation=0x7FFFFFFF}
330 #define DMORIENT_PORTRAIT ( 0x0001 )
331 #define DMORIENT_LANDSCAPE ( 0x0002 )
335 enum spoolss_DeviceModePaperSize
336 #ifndef USE_UINT_ENUMS
338 DMPAPER_LETTER=(int)(0x0001),
339 DMPAPER_LETTERSMALL=(int)(0x0002),
340 DMPAPER_TABLOID=(int)(0x0003),
341 DMPAPER_LEDGER=(int)(0x0004),
342 DMPAPER_LEGAL=(int)(0x0005),
343 DMPAPER_STATEMENT=(int)(0x0006),
344 DMPAPER_EXECUTIVE=(int)(0x0007),
345 DMPAPER_A3=(int)(0x0008),
346 DMPAPER_A4=(int)(0x0009),
347 DMPAPER_A4SMALL=(int)(0x000A),
348 DMPAPER_A5=(int)(0x000B),
349 DMPAPER_B4=(int)(0x000C),
350 DMPAPER_B5=(int)(0x000D),
351 DMPAPER_FOLIO=(int)(0x000E),
352 DMPAPER_QUARTO=(int)(0x000F),
353 DMPAPER_10X14=(int)(0x0010),
354 DMPAPER_11X17=(int)(0x0011),
355 DMPAPER_NOTE=(int)(0x0012),
356 DMPAPER_ENV_9=(int)(0x0013),
357 DMPAPER_ENV_10=(int)(0x0014),
358 DMPAPER_ENV_11=(int)(0x0015),
359 DMPAPER_ENV_12=(int)(0x0016),
360 DMPAPER_ENV_14=(int)(0x0017),
361 DMPAPER_CSHEET=(int)(0x0018),
362 DMPAPER_DSHEET=(int)(0x0019),
363 DMPAPER_ESHEET=(int)(0x001A),
364 DMPAPER_ENV_DL=(int)(0x001B),
365 DMPAPER_ENV_C5=(int)(0x001C),
366 DMPAPER_ENV_C3=(int)(0x001D),
367 DMPAPER_ENV_C4=(int)(0x001E),
368 DMPAPER_ENV_C6=(int)(0x001F),
369 DMPAPER_ENV_C65=(int)(0x0020),
370 DMPAPER_ENV_B4=(int)(0x0021),
371 DMPAPER_ENV_B5=(int)(0x0022),
372 DMPAPER_ENV_B6=(int)(0x0023),
373 DMPAPER_ENV_ITALY=(int)(0x0024),
374 DMPAPER_ENV_MONARCH=(int)(0x0025),
375 DMPAPER_ENV_PERSONAL=(int)(0x0026),
376 DMPAPER_FANFOLD_US=(int)(0x0027),
377 DMPAPER_FANFOLD_STD_GERMAN=(int)(0x0028),
378 DMPAPER_FANFOLD_LGL_GERMAN=(int)(0x0029),
379 DMPAPER_DBL_JAPANESE_POSTCARD=(int)(0x0045),
380 DMPAPER_A6=(int)(0x0046),
381 DMPAPER_JENV_KAKU2=(int)(0x0047),
382 DMPAPER_JENV_KAKU3=(int)(0x0048),
383 DMPAPER_JENV_CHOU3=(int)(0x0049),
384 DMPAPER_JENV_CHOU4=(int)(0x004A),
385 DMPAPER_LETTER_ROTATED=(int)(0x004B),
386 DMPAPER_A3_ROTATED=(int)(0x004C),
387 DMPAPER_A4_ROTATED=(int)(0x004D),
388 DMPAPER_A5_ROTATED=(int)(0x004E),
389 DMPAPER_B4_JIS_ROTATED=(int)(0x004F),
390 DMPAPER_B5_JIS_ROTATED=(int)(0x0050),
391 DMPAPER_JAPANESE_POSTCARD_ROTATED=(int)(0x0051),
392 DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED=(int)(0x0052),
393 DMPAPER_A6_ROTATED=(int)(0x0053),
394 DMPAPER_JENV_KAKU2_ROTATED=(int)(0x0054),
395 DMPAPER_JENV_KAKU3_ROTATED=(int)(0x0055),
396 DMPAPER_JENV_CHOU3_ROTATED=(int)(0x0056),
397 DMPAPER_JENV_CHOU4_ROTATED=(int)(0x0057),
398 DMPAPER_B6_JIS=(int)(0x0058),
399 DMPAPER_B6_JIS_ROTATED=(int)(0x0059),
400 DMPAPER_12X11=(int)(0x005A),
401 DMPAPER_JENV_YOU4=(int)(0x005B),
402 DMPAPER_JENV_YOU4_ROTATED=(int)(0x005C),
403 DMPAPER_P16K=(int)(0x005D),
404 DMPAPER_P32K=(int)(0x005E),
405 DMPAPER_P32KBIG=(int)(0x005F),
406 DMPAPER_PENV_1=(int)(0x0060),
407 DMPAPER_PENV_2=(int)(0x0061),
408 DMPAPER_PENV_3=(int)(0x0062),
409 DMPAPER_PENV_4=(int)(0x0063),
410 DMPAPER_PENV_5=(int)(0x0064),
411 DMPAPER_PENV_6=(int)(0x0065),
412 DMPAPER_PENV_7=(int)(0x0066),
413 DMPAPER_PENV_8=(int)(0x0067),
414 DMPAPER_PENV_9=(int)(0x0068),
415 DMPAPER_PENV_10=(int)(0x0069),
416 DMPAPER_P16K_ROTATED=(int)(0x006A),
417 DMPAPER_P32K_ROTATED=(int)(0x006B),
418 DMPAPER_P32KBIG_ROTATED=(int)(0x006C),
419 DMPAPER_PENV_1_ROTATED=(int)(0x006D),
420 DMPAPER_PENV_2_ROTATED=(int)(0x006E),
421 DMPAPER_PENV_3_ROTATED=(int)(0x006F),
422 DMPAPER_PENV_4_ROTATED=(int)(0x0070),
423 DMPAPER_PENV_5_ROTATED=(int)(0x0071),
424 DMPAPER_PENV_6_ROTATED=(int)(0x0072),
425 DMPAPER_PENV_7_ROTATED=(int)(0x0073),
426 DMPAPER_PENV_8_ROTATED=(int)(0x0074),
427 DMPAPER_PENV_9_ROTATED=(int)(0x0075),
428 DMPAPER_PENV_10_ROTATED=(int)(0x0076)
431 { __donnot_use_enum_spoolss_DeviceModePaperSize=0x7FFFFFFF}
432 #define DMPAPER_LETTER ( 0x0001 )
433 #define DMPAPER_LETTERSMALL ( 0x0002 )
434 #define DMPAPER_TABLOID ( 0x0003 )
435 #define DMPAPER_LEDGER ( 0x0004 )
436 #define DMPAPER_LEGAL ( 0x0005 )
437 #define DMPAPER_STATEMENT ( 0x0006 )
438 #define DMPAPER_EXECUTIVE ( 0x0007 )
439 #define DMPAPER_A3 ( 0x0008 )
440 #define DMPAPER_A4 ( 0x0009 )
441 #define DMPAPER_A4SMALL ( 0x000A )
442 #define DMPAPER_A5 ( 0x000B )
443 #define DMPAPER_B4 ( 0x000C )
444 #define DMPAPER_B5 ( 0x000D )
445 #define DMPAPER_FOLIO ( 0x000E )
446 #define DMPAPER_QUARTO ( 0x000F )
447 #define DMPAPER_10X14 ( 0x0010 )
448 #define DMPAPER_11X17 ( 0x0011 )
449 #define DMPAPER_NOTE ( 0x0012 )
450 #define DMPAPER_ENV_9 ( 0x0013 )
451 #define DMPAPER_ENV_10 ( 0x0014 )
452 #define DMPAPER_ENV_11 ( 0x0015 )
453 #define DMPAPER_ENV_12 ( 0x0016 )
454 #define DMPAPER_ENV_14 ( 0x0017 )
455 #define DMPAPER_CSHEET ( 0x0018 )
456 #define DMPAPER_DSHEET ( 0x0019 )
457 #define DMPAPER_ESHEET ( 0x001A )
458 #define DMPAPER_ENV_DL ( 0x001B )
459 #define DMPAPER_ENV_C5 ( 0x001C )
460 #define DMPAPER_ENV_C3 ( 0x001D )
461 #define DMPAPER_ENV_C4 ( 0x001E )
462 #define DMPAPER_ENV_C6 ( 0x001F )
463 #define DMPAPER_ENV_C65 ( 0x0020 )
464 #define DMPAPER_ENV_B4 ( 0x0021 )
465 #define DMPAPER_ENV_B5 ( 0x0022 )
466 #define DMPAPER_ENV_B6 ( 0x0023 )
467 #define DMPAPER_ENV_ITALY ( 0x0024 )
468 #define DMPAPER_ENV_MONARCH ( 0x0025 )
469 #define DMPAPER_ENV_PERSONAL ( 0x0026 )
470 #define DMPAPER_FANFOLD_US ( 0x0027 )
471 #define DMPAPER_FANFOLD_STD_GERMAN ( 0x0028 )
472 #define DMPAPER_FANFOLD_LGL_GERMAN ( 0x0029 )
473 #define DMPAPER_DBL_JAPANESE_POSTCARD ( 0x0045 )
474 #define DMPAPER_A6 ( 0x0046 )
475 #define DMPAPER_JENV_KAKU2 ( 0x0047 )
476 #define DMPAPER_JENV_KAKU3 ( 0x0048 )
477 #define DMPAPER_JENV_CHOU3 ( 0x0049 )
478 #define DMPAPER_JENV_CHOU4 ( 0x004A )
479 #define DMPAPER_LETTER_ROTATED ( 0x004B )
480 #define DMPAPER_A3_ROTATED ( 0x004C )
481 #define DMPAPER_A4_ROTATED ( 0x004D )
482 #define DMPAPER_A5_ROTATED ( 0x004E )
483 #define DMPAPER_B4_JIS_ROTATED ( 0x004F )
484 #define DMPAPER_B5_JIS_ROTATED ( 0x0050 )
485 #define DMPAPER_JAPANESE_POSTCARD_ROTATED ( 0x0051 )
486 #define DMPAPER_DBL_JAPANESE_POSTCARD_ROTATED ( 0x0052 )
487 #define DMPAPER_A6_ROTATED ( 0x0053 )
488 #define DMPAPER_JENV_KAKU2_ROTATED ( 0x0054 )
489 #define DMPAPER_JENV_KAKU3_ROTATED ( 0x0055 )
490 #define DMPAPER_JENV_CHOU3_ROTATED ( 0x0056 )
491 #define DMPAPER_JENV_CHOU4_ROTATED ( 0x0057 )
492 #define DMPAPER_B6_JIS ( 0x0058 )
493 #define DMPAPER_B6_JIS_ROTATED ( 0x0059 )
494 #define DMPAPER_12X11 ( 0x005A )
495 #define DMPAPER_JENV_YOU4 ( 0x005B )
496 #define DMPAPER_JENV_YOU4_ROTATED ( 0x005C )
497 #define DMPAPER_P16K ( 0x005D )
498 #define DMPAPER_P32K ( 0x005E )
499 #define DMPAPER_P32KBIG ( 0x005F )
500 #define DMPAPER_PENV_1 ( 0x0060 )
501 #define DMPAPER_PENV_2 ( 0x0061 )
502 #define DMPAPER_PENV_3 ( 0x0062 )
503 #define DMPAPER_PENV_4 ( 0x0063 )
504 #define DMPAPER_PENV_5 ( 0x0064 )
505 #define DMPAPER_PENV_6 ( 0x0065 )
506 #define DMPAPER_PENV_7 ( 0x0066 )
507 #define DMPAPER_PENV_8 ( 0x0067 )
508 #define DMPAPER_PENV_9 ( 0x0068 )
509 #define DMPAPER_PENV_10 ( 0x0069 )
510 #define DMPAPER_P16K_ROTATED ( 0x006A )
511 #define DMPAPER_P32K_ROTATED ( 0x006B )
512 #define DMPAPER_P32KBIG_ROTATED ( 0x006C )
513 #define DMPAPER_PENV_1_ROTATED ( 0x006D )
514 #define DMPAPER_PENV_2_ROTATED ( 0x006E )
515 #define DMPAPER_PENV_3_ROTATED ( 0x006F )
516 #define DMPAPER_PENV_4_ROTATED ( 0x0070 )
517 #define DMPAPER_PENV_5_ROTATED ( 0x0071 )
518 #define DMPAPER_PENV_6_ROTATED ( 0x0072 )
519 #define DMPAPER_PENV_7_ROTATED ( 0x0073 )
520 #define DMPAPER_PENV_8_ROTATED ( 0x0074 )
521 #define DMPAPER_PENV_9_ROTATED ( 0x0075 )
522 #define DMPAPER_PENV_10_ROTATED ( 0x0076 )
526 enum spoolss_DeviceModeDefaultSource
527 #ifndef USE_UINT_ENUMS
529 DMBIN_UPPER=(int)(0x0001),
530 DMBIN_LOWER=(int)(0x0002),
531 DMBIN_MIDDLE=(int)(0x0003),
532 DMBIN_MANUAL=(int)(0x0004),
533 DMBIN_ENVELOPE=(int)(0x0005),
534 DMBIN_ENVMANUAL=(int)(0x0006),
535 DMBIN_AUTO=(int)(0x0007),
536 DMBIN_TRACTOR=(int)(0x0008),
537 DMBIN_SMALLFMT=(int)(0x0009),
538 DMBIN_LARGEFMT=(int)(0x000a),
539 DMBIN_LARGECAPACITY=(int)(0x000b),
540 DMBIN_CASSETTE=(int)(0x000e),
541 DMBIN_FORMSOURCE=(int)(0x000f)
544 { __donnot_use_enum_spoolss_DeviceModeDefaultSource=0x7FFFFFFF}
545 #define DMBIN_UPPER ( 0x0001 )
546 #define DMBIN_LOWER ( 0x0002 )
547 #define DMBIN_MIDDLE ( 0x0003 )
548 #define DMBIN_MANUAL ( 0x0004 )
549 #define DMBIN_ENVELOPE ( 0x0005 )
550 #define DMBIN_ENVMANUAL ( 0x0006 )
551 #define DMBIN_AUTO ( 0x0007 )
552 #define DMBIN_TRACTOR ( 0x0008 )
553 #define DMBIN_SMALLFMT ( 0x0009 )
554 #define DMBIN_LARGEFMT ( 0x000a )
555 #define DMBIN_LARGECAPACITY ( 0x000b )
556 #define DMBIN_CASSETTE ( 0x000e )
557 #define DMBIN_FORMSOURCE ( 0x000f )
561 enum spoolss_DeviceModePrintQuality
562 #ifndef USE_UINT_ENUMS
564 DMRES_HIGH=(int)(0xfffc),
565 DMRES_MEDIUM=(int)(0xfffd),
566 DMRES_LOW=(int)(0xfffe),
567 DMRES_DRAFT=(int)(0xffff)
570 { __donnot_use_enum_spoolss_DeviceModePrintQuality=0x7FFFFFFF}
571 #define DMRES_HIGH ( 0xfffc )
572 #define DMRES_MEDIUM ( 0xfffd )
573 #define DMRES_LOW ( 0xfffe )
574 #define DMRES_DRAFT ( 0xffff )
578 enum spoolss_DeviceModeColor
579 #ifndef USE_UINT_ENUMS
581 DMRES_MONOCHROME=(int)(0x0001),
582 DMRES_COLOR=(int)(0x0002)
585 { __donnot_use_enum_spoolss_DeviceModeColor=0x7FFFFFFF}
586 #define DMRES_MONOCHROME ( 0x0001 )
587 #define DMRES_COLOR ( 0x0002 )
591 enum spoolss_DeviceModeDuplex
592 #ifndef USE_UINT_ENUMS
594 DMDUP_SIMPLEX=(int)(0x0001),
595 DMDUP_VERTICAL=(int)(0x0002),
596 DMDUP_HORIZONTAL=(int)(0x0003)
599 { __donnot_use_enum_spoolss_DeviceModeDuplex=0x7FFFFFFF}
600 #define DMDUP_SIMPLEX ( 0x0001 )
601 #define DMDUP_VERTICAL ( 0x0002 )
602 #define DMDUP_HORIZONTAL ( 0x0003 )
606 enum spoolss_DeviceModeTTOption
607 #ifndef USE_UINT_ENUMS
609 DMTT_BITMAP=(int)(0x0001),
610 DMTT_DOWNLOAD=(int)(0x0002),
611 DMTT_SUBDEV=(int)(0x0003),
612 DMTT_DOWNLOAD_OUTLINE=(int)(0x0004)
615 { __donnot_use_enum_spoolss_DeviceModeTTOption=0x7FFFFFFF}
616 #define DMTT_BITMAP ( 0x0001 )
617 #define DMTT_DOWNLOAD ( 0x0002 )
618 #define DMTT_SUBDEV ( 0x0003 )
619 #define DMTT_DOWNLOAD_OUTLINE ( 0x0004 )
623 enum spoolss_DeviceModeCollate
624 #ifndef USE_UINT_ENUMS
626 DMCOLLATE_FALSE=(int)(0x0000),
627 DMCOLLATE_TRUE=(int)(0x0001)
630 { __donnot_use_enum_spoolss_DeviceModeCollate=0x7FFFFFFF}
631 #define DMCOLLATE_FALSE ( 0x0000 )
632 #define DMCOLLATE_TRUE ( 0x0001 )
636 enum spoolss_DeviceModeNUp
637 #ifndef USE_UINT_ENUMS
639 DMNUP_SYSTEM=(int)(0x00000001),
640 DMNUP_ONEUP=(int)(0x00000002)
643 { __donnot_use_enum_spoolss_DeviceModeNUp=0x7FFFFFFF}
644 #define DMNUP_SYSTEM ( 0x00000001 )
645 #define DMNUP_ONEUP ( 0x00000002 )
649 enum spoolss_DeviceModeICMMethod
650 #ifndef USE_UINT_ENUMS
652 DMICMMETHOD_NONE=(int)(0x00000001),
653 DMICMMETHOD_SYSTEM=(int)(0x00000002),
654 DMICMMETHOD_DRIVER=(int)(0x00000003),
655 DMICMMETHOD_DEVICE=(int)(0x00000004)
658 { __donnot_use_enum_spoolss_DeviceModeICMMethod=0x7FFFFFFF}
659 #define DMICMMETHOD_NONE ( 0x00000001 )
660 #define DMICMMETHOD_SYSTEM ( 0x00000002 )
661 #define DMICMMETHOD_DRIVER ( 0x00000003 )
662 #define DMICMMETHOD_DEVICE ( 0x00000004 )
666 enum spoolss_DeviceModeICMIntent
667 #ifndef USE_UINT_ENUMS
669 DMICM_SATURATE=(int)(0x00000001),
670 DMICM_CONTRAST=(int)(0x00000002),
671 DMICM_COLORIMETRIC=(int)(0x00000003),
672 DMICM_ABS_COLORIMETRIC=(int)(0x00000004)
675 { __donnot_use_enum_spoolss_DeviceModeICMIntent=0x7FFFFFFF}
676 #define DMICM_SATURATE ( 0x00000001 )
677 #define DMICM_CONTRAST ( 0x00000002 )
678 #define DMICM_COLORIMETRIC ( 0x00000003 )
679 #define DMICM_ABS_COLORIMETRIC ( 0x00000004 )
683 enum spoolss_DeviceModeMediaType
684 #ifndef USE_UINT_ENUMS
686 DMMEDIA_STANDARD=(int)(0x00000001),
687 DMMEDIA_TRANSPARENCY=(int)(0x00000002),
688 DMMEDIA_GLOSSY=(int)(0x00000003)
691 { __donnot_use_enum_spoolss_DeviceModeMediaType=0x7FFFFFFF}
692 #define DMMEDIA_STANDARD ( 0x00000001 )
693 #define DMMEDIA_TRANSPARENCY ( 0x00000002 )
694 #define DMMEDIA_GLOSSY ( 0x00000003 )
698 enum spoolss_DeviceModeDitherType
699 #ifndef USE_UINT_ENUMS
701 DMDITHER_NONE=(int)(0x00000001),
702 DMDITHER_COARSE=(int)(0x00000002),
703 DMDITHER_FINE=(int)(0x00000003),
704 DMDITHER_LINEART=(int)(0x00000004),
705 DMDITHER_ERRORDIFFUSION=(int)(0x00000005),
706 DMDITHER_RESERVED6=(int)(0x00000006),
707 DMDITHER_RESERVED7=(int)(0x00000007),
708 DMDITHER_RESERVED8=(int)(0x00000008),
709 DMDITHER_RESERVED9=(int)(0x00000009),
710 DMDITHER_GRAYSCALE=(int)(0x0000000A)
713 { __donnot_use_enum_spoolss_DeviceModeDitherType=0x7FFFFFFF}
714 #define DMDITHER_NONE ( 0x00000001 )
715 #define DMDITHER_COARSE ( 0x00000002 )
716 #define DMDITHER_FINE ( 0x00000003 )
717 #define DMDITHER_LINEART ( 0x00000004 )
718 #define DMDITHER_ERRORDIFFUSION ( 0x00000005 )
719 #define DMDITHER_RESERVED6 ( 0x00000006 )
720 #define DMDITHER_RESERVED7 ( 0x00000007 )
721 #define DMDITHER_RESERVED8 ( 0x00000008 )
722 #define DMDITHER_RESERVED9 ( 0x00000009 )
723 #define DMDITHER_GRAYSCALE ( 0x0000000A )
727 struct spoolss_DeviceMode {
728 const char *devicename;/* [charset(UTF16)] */
729 enum spoolss_DeviceModeSpecVersion specversion;
730 uint16_t driverversion;
732 uint16_t __driverextra_length;/* [value(r->driverextra_data.length)] */
734 enum spoolss_DeviceModeOrientation orientation;
735 enum spoolss_DeviceModePaperSize papersize;
736 uint16_t paperlength;
740 enum spoolss_DeviceModeDefaultSource defaultsource;
741 enum spoolss_DeviceModePrintQuality printquality;
742 enum spoolss_DeviceModeColor color;
743 enum spoolss_DeviceModeDuplex duplex;
744 uint16_t yresolution;
745 enum spoolss_DeviceModeTTOption ttoption;
746 enum spoolss_DeviceModeCollate collate;
747 const char *formname;/* [charset(UTF16)] */
752 enum spoolss_DeviceModeNUp displayflags;
753 uint32_t displayfrequency;
754 enum spoolss_DeviceModeICMMethod icmmethod;
755 enum spoolss_DeviceModeICMIntent icmintent;
756 enum spoolss_DeviceModeMediaType mediatype;
757 enum spoolss_DeviceModeDitherType dithertype;
760 uint32_t panningwidth;
761 uint32_t panningheight;
762 DATA_BLOB driverextra_data;/* [subcontext_size(__driverextra_length),subcontext(0),flag(LIBNDR_FLAG_REMAINING)] */
763 }/* [gensize,public] */;
765 /* bitmap spoolss_EnumPrinterFlags */
766 #define PRINTER_ENUM_DEFAULT ( 0x00000001 )
767 #define PRINTER_ENUM_LOCAL ( 0x00000002 )
768 #define PRINTER_ENUM_CONNECTIONS ( 0x00000004 )
769 #define PRINTER_ENUM_FAVORITE ( 0x00000004 )
770 #define PRINTER_ENUM_NAME ( 0x00000008 )
771 #define PRINTER_ENUM_REMOTE ( 0x00000010 )
772 #define PRINTER_ENUM_SHARED ( 0x00000020 )
773 #define PRINTER_ENUM_NETWORK ( 0x00000040 )
774 #define PRINTER_ENUM_EXPAND ( 0x00004000 )
775 #define PRINTER_ENUM_CONTAINER ( 0x00008000 )
776 #define PRINTER_ENUM_ICON1 ( 0x00010000 )
777 #define PRINTER_ENUM_ICON2 ( 0x00020000 )
778 #define PRINTER_ENUM_ICON3 ( 0x00040000 )
779 #define PRINTER_ENUM_ICON4 ( 0x00080000 )
780 #define PRINTER_ENUM_ICON5 ( 0x00100000 )
781 #define PRINTER_ENUM_ICON6 ( 0x00200000 )
782 #define PRINTER_ENUM_ICON7 ( 0x00400000 )
783 #define PRINTER_ENUM_ICON8 ( 0x00800000 )
784 #define PRINTER_ENUM_HIDE ( 0x01000000 )
786 /* bitmap spoolss_PrinterAttributes */
787 #define PRINTER_ATTRIBUTE_QUEUED ( 0x00000001 )
788 #define PRINTER_ATTRIBUTE_DIRECT ( 0x00000002 )
789 #define PRINTER_ATTRIBUTE_DEFAULT ( 0x00000004 )
790 #define PRINTER_ATTRIBUTE_SHARED ( 0x00000008 )
791 #define PRINTER_ATTRIBUTE_NETWORK ( 0x00000010 )
792 #define PRINTER_ATTRIBUTE_HIDDEN ( 0x00000020 )
793 #define PRINTER_ATTRIBUTE_LOCAL ( 0x00000040 )
794 #define PRINTER_ATTRIBUTE_ENABLE_DEVQ ( 0x00000080 )
795 #define PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS ( 0x00000100 )
796 #define PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST ( 0x00000200 )
797 #define PRINTER_ATTRIBUTE_WORK_OFFLINE ( 0x00000400 )
798 #define PRINTER_ATTRIBUTE_ENABLE_BIDI ( 0x00000800 )
799 #define PRINTER_ATTRIBUTE_RAW_ONLY ( 0x00001000 )
800 #define PRINTER_ATTRIBUTE_PUBLISHED ( 0x00002000 )
801 #define PRINTER_ATTRIBUTE_FAX ( 0x00004000 )
802 #define PRINTER_ATTRIBUTE_TS ( 0x00008000 )
804 struct spoolss_PrinterInfo1 {
806 const char * description;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
807 const char * name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
808 const char * comment;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
809 }/* [gensize,public] */;
811 struct spoolss_PrinterInfo2 {
812 const char * servername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
813 const char * printername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
814 const char * sharename;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
815 const char * portname;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
816 const char * drivername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
817 const char * comment;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
818 const char * location;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
819 struct spoolss_DeviceMode *devmode;/* [relative,subcontext(0)] */
820 const char * sepfile;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
821 const char * printprocessor;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
822 const char * datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
823 const char * parameters;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
824 struct security_descriptor *secdesc;/* [relative,subcontext(0)] */
826 uint32_t priority;/* [range(0,99)] */
827 uint32_t defaultpriority;
833 }/* [gensize,public] */;
835 struct spoolss_PrinterInfo3 {
836 struct security_descriptor *secdesc;/* [relative,subcontext(0)] */
837 }/* [gensize,public] */;
839 struct spoolss_PrinterInfo4 {
840 const char * printername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
841 const char * servername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
843 }/* [gensize,public] */;
845 struct spoolss_PrinterInfo5 {
846 const char * printername;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
847 const char * portname;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
849 uint32_t device_not_selected_timeout;
850 uint32_t transmission_retry_timeout;
851 }/* [gensize,public] */;
853 struct spoolss_PrinterInfo6 {
855 }/* [gensize,public] */;
857 /* bitmap spoolss_DsPrintAction */
858 #define DSPRINT_PUBLISH ( 0x00000001 )
859 #define DSPRINT_UPDATE ( 0x00000002 )
860 #define DSPRINT_UNPUBLISH ( 0x00000004 )
861 #define DSPRINT_REPUBLISH ( 0x00000008 )
862 #define DSPRINT_PENDING ( 0x80000000 )
864 struct spoolss_PrinterInfo7 {
865 const char * guid;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
867 }/* [gensize,public] */;
869 struct spoolss_DeviceModeInfo {
870 struct spoolss_DeviceMode *devmode;/* [relative,subcontext(0)] */
873 union spoolss_PrinterInfo {
874 struct spoolss_PrinterInfo0 info0;/* [case(0)] */
875 struct spoolss_PrinterInfo1 info1;/* [case] */
876 struct spoolss_PrinterInfo2 info2;/* [case(2)] */
877 struct spoolss_PrinterInfo3 info3;/* [case(3)] */
878 struct spoolss_PrinterInfo4 info4;/* [case(4)] */
879 struct spoolss_PrinterInfo5 info5;/* [case(5)] */
880 struct spoolss_PrinterInfo6 info6;/* [case(6)] */
881 struct spoolss_PrinterInfo7 info7;/* [case(7)] */
882 struct spoolss_DeviceModeInfo info8;/* [case(8)] */
883 struct spoolss_DeviceModeInfo info9;/* [case(9)] */
884 }/* [relative_base,gensize,public,nodiscriminant] */;
886 struct spoolss_DevmodeContainer {
887 uint32_t _ndr_size;/* [value(_ndr_size_spoolss_DeviceMode(devmode,ndr->iconv_convenience,ndr->flags))] */
888 struct spoolss_DeviceMode *devmode;/* [unique,subcontext_size(_ndr_size),subcontext(4)] */
891 struct spoolss_JobInfo1 {
893 const char * printer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
894 const char * server_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
895 const char * user_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
896 const char * document_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
897 const char * data_type;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
898 const char * text_status;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
900 uint32_t priority;/* [range(0,99)] */
902 uint32_t total_pages;
903 uint32_t pages_printed;
904 struct spoolss_Time submitted;
905 }/* [gensize,public] */;
907 struct spoolss_JobInfo2 {
909 const char * printer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
910 const char * server_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
911 const char * user_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
912 const char * document_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
913 const char * notify_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
914 const char * data_type;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
915 const char * print_processor;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
916 const char * parameters;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
917 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
918 struct spoolss_DeviceMode *devmode;/* [relative] */
919 const char * text_status;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
920 struct security_descriptor *secdesc;/* [relative] */
922 uint32_t priority;/* [range(0,99)] */
926 uint32_t total_pages;
928 struct spoolss_Time submitted;
930 uint32_t pages_printed;
931 }/* [gensize,public] */;
933 struct spoolss_JobInfo3 {
935 uint32_t next_job_id;
937 }/* [gensize,public] */;
939 struct spoolss_JobInfo4 {
941 const char * printer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
942 const char * server_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
943 const char * user_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
944 const char * document_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
945 const char * notify_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
946 const char * data_type;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
947 const char * print_processor;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
948 const char * parameters;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
949 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
950 struct spoolss_DeviceMode *devmode;/* [relative] */
951 const char * text_status;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
952 struct security_descriptor *secdesc;/* [relative] */
954 uint32_t priority;/* [range(0,99)] */
958 uint32_t total_pages;
960 struct spoolss_Time submitted;
962 uint32_t pages_printed;
964 }/* [gensize,public] */;
966 union spoolss_JobInfo {
967 struct spoolss_JobInfo1 info1;/* [case] */
968 struct spoolss_JobInfo2 info2;/* [case(2)] */
969 struct spoolss_JobInfo3 info3;/* [case(3)] */
970 struct spoolss_JobInfo4 info4;/* [case(4)] */
971 }/* [relative_base,gensize,public,nodiscriminant] */;
973 struct spoolss_SetJobInfo1 {
975 const char *printer_name;/* [unique,charset(UTF16)] */
976 const char *server_name;/* [unique,charset(UTF16)] */
977 const char *user_name;/* [unique,charset(UTF16)] */
978 const char *document_name;/* [unique,charset(UTF16)] */
979 const char *data_type;/* [unique,charset(UTF16)] */
980 const char *text_status;/* [unique,charset(UTF16)] */
982 uint32_t priority;/* [range(0,99)] */
984 uint32_t total_pages;
985 uint32_t pages_printed;
986 struct spoolss_Time submitted;
989 struct spoolss_SetJobInfo2 {
991 const char *printer_name;/* [unique,charset(UTF16)] */
992 const char *server_name;/* [unique,charset(UTF16)] */
993 const char *user_name;/* [unique,charset(UTF16)] */
994 const char *document_name;/* [unique,charset(UTF16)] */
995 const char *notify_name;/* [unique,charset(UTF16)] */
996 const char *data_type;/* [unique,charset(UTF16)] */
997 const char *print_processor;/* [unique,charset(UTF16)] */
998 const char *parameters;/* [unique,charset(UTF16)] */
999 const char *driver_name;/* [unique,charset(UTF16)] */
1000 uint32_t _devmode_ptr;
1001 const char *text_status;/* [unique,charset(UTF16)] */
1002 uint32_t _secdesc_ptr;
1004 uint32_t priority;/* [range(0,99)] */
1006 uint32_t start_time;
1007 uint32_t until_time;
1008 uint32_t total_pages;
1010 struct spoolss_Time submitted;
1012 uint32_t pages_printed;
1015 struct spoolss_SetJobInfo4 {
1017 const char *printer_name;/* [unique,charset(UTF16)] */
1018 const char *server_name;/* [unique,charset(UTF16)] */
1019 const char *user_name;/* [unique,charset(UTF16)] */
1020 const char *document_name;/* [unique,charset(UTF16)] */
1021 const char *notify_name;/* [unique,charset(UTF16)] */
1022 const char *data_type;/* [unique,charset(UTF16)] */
1023 const char *print_processor;/* [unique,charset(UTF16)] */
1024 const char *parameters;/* [unique,charset(UTF16)] */
1025 const char *driver_name;/* [unique,charset(UTF16)] */
1026 uint32_t _devmode_ptr;
1027 const char *text_status;/* [unique,charset(UTF16)] */
1028 uint32_t _secdesc_ptr;
1030 uint32_t priority;/* [range(0,99)] */
1032 uint32_t start_time;
1033 uint32_t until_time;
1034 uint32_t total_pages;
1036 struct spoolss_Time submitted;
1038 uint32_t pages_printed;
1042 union spoolss_SetJobInfo {
1043 struct spoolss_SetJobInfo1 *info1;/* [unique,case] */
1044 struct spoolss_SetJobInfo2 *info2;/* [unique,case(2)] */
1045 struct spoolss_JobInfo3 *info3;/* [unique,case(3)] */
1046 struct spoolss_SetJobInfo4 *info4;/* [unique,case(4)] */
1049 struct spoolss_JobInfoContainer {
1051 union spoolss_SetJobInfo info;/* [switch_is(level)] */
1054 enum spoolss_JobControl
1055 #ifndef USE_UINT_ENUMS
1057 SPOOLSS_JOB_CONTROL_PAUSE=(int)(1),
1058 SPOOLSS_JOB_CONTROL_RESUME=(int)(2),
1059 SPOOLSS_JOB_CONTROL_CANCEL=(int)(3),
1060 SPOOLSS_JOB_CONTROL_RESTART=(int)(4),
1061 SPOOLSS_JOB_CONTROL_DELETE=(int)(5),
1062 SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER=(int)(6),
1063 SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED=(int)(7),
1064 SPOOLSS_JOB_CONTROL_RETAIN=(int)(8),
1065 SPOOLSS_JOB_CONTROL_RELEASE=(int)(9)
1068 { __donnot_use_enum_spoolss_JobControl=0x7FFFFFFF}
1069 #define SPOOLSS_JOB_CONTROL_PAUSE ( 1 )
1070 #define SPOOLSS_JOB_CONTROL_RESUME ( 2 )
1071 #define SPOOLSS_JOB_CONTROL_CANCEL ( 3 )
1072 #define SPOOLSS_JOB_CONTROL_RESTART ( 4 )
1073 #define SPOOLSS_JOB_CONTROL_DELETE ( 5 )
1074 #define SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER ( 6 )
1075 #define SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED ( 7 )
1076 #define SPOOLSS_JOB_CONTROL_RETAIN ( 8 )
1077 #define SPOOLSS_JOB_CONTROL_RELEASE ( 9 )
1081 enum spoolss_PrinterControl
1082 #ifndef USE_UINT_ENUMS
1084 SPOOLSS_PRINTER_CONTROL_UNPAUSE=(int)(0),
1085 SPOOLSS_PRINTER_CONTROL_PAUSE=(int)(1),
1086 SPOOLSS_PRINTER_CONTROL_RESUME=(int)(2),
1087 SPOOLSS_PRINTER_CONTROL_PURGE=(int)(3),
1088 SPOOLSS_PRINTER_CONTROL_SET_STATUS=(int)(4)
1091 { __donnot_use_enum_spoolss_PrinterControl=0x7FFFFFFF}
1092 #define SPOOLSS_PRINTER_CONTROL_UNPAUSE ( 0 )
1093 #define SPOOLSS_PRINTER_CONTROL_PAUSE ( 1 )
1094 #define SPOOLSS_PRINTER_CONTROL_RESUME ( 2 )
1095 #define SPOOLSS_PRINTER_CONTROL_PURGE ( 3 )
1096 #define SPOOLSS_PRINTER_CONTROL_SET_STATUS ( 4 )
1100 struct spoolss_SetPrinterInfo0 {
1101 const char *servername;/* [unique,charset(UTF16)] */
1102 const char *printername;/* [unique,charset(UTF16)] */
1104 uint32_t total_jobs;
1105 uint32_t total_bytes;
1106 struct spoolss_Time time;
1107 uint32_t global_counter;
1108 uint32_t total_pages;
1110 uint32_t free_build;
1112 uint32_t max_spooling;
1113 uint32_t session_counter;
1114 uint32_t num_error_out_of_paper;
1115 uint32_t num_error_not_ready;
1117 uint32_t number_of_processors;
1118 enum spoolss_ProcessorType processor_type;
1119 uint32_t high_part_total_bytes;
1123 uint32_t enumerate_network_printers;
1124 uint32_t c_setprinter;
1125 enum spoolss_ProcessorArchitecture processor_architecture;
1126 uint16_t processor_level;
1132 struct spoolss_SetPrinterInfo1 {
1134 const char *description;/* [unique,charset(UTF16)] */
1135 const char *name;/* [unique,charset(UTF16)] */
1136 const char *comment;/* [unique,charset(UTF16)] */
1139 struct spoolss_SetPrinterInfo2 {
1140 const char *servername;/* [unique,charset(UTF16)] */
1141 const char *printername;/* [unique,charset(UTF16)] */
1142 const char *sharename;/* [unique,charset(UTF16)] */
1143 const char *portname;/* [unique,charset(UTF16)] */
1144 const char *drivername;/* [unique,charset(UTF16)] */
1145 const char *comment;/* [unique,charset(UTF16)] */
1146 const char *location;/* [unique,charset(UTF16)] */
1147 uint32_t devmode_ptr;
1148 const char *sepfile;/* [unique,charset(UTF16)] */
1149 const char *printprocessor;/* [unique,charset(UTF16)] */
1150 const char *datatype;/* [unique,charset(UTF16)] */
1151 const char *parameters;/* [unique,charset(UTF16)] */
1152 uint32_t secdesc_ptr;
1153 uint32_t attributes;
1154 uint32_t priority;/* [range(0,99)] */
1155 uint32_t defaultpriority;
1160 uint32_t averageppm;
1163 struct spoolss_SetPrinterInfo3 {
1164 uint32_t sec_desc_ptr;
1167 struct spoolss_SetPrinterInfo4 {
1168 const char *printername;/* [unique,charset(UTF16)] */
1169 const char *servername;/* [unique,charset(UTF16)] */
1170 uint32_t attributes;
1173 struct spoolss_SetPrinterInfo5 {
1174 const char *printername;/* [unique,charset(UTF16)] */
1175 const char *portname;/* [unique,charset(UTF16)] */
1176 uint32_t attributes;
1177 uint32_t device_not_selected_timeout;
1178 uint32_t transmission_retry_timeout;
1181 struct spoolss_SetPrinterInfo6 {
1185 struct spoolss_SetPrinterInfo7 {
1186 const char *guid;/* [unique,charset(UTF16)] */
1190 struct spoolss_SetPrinterInfo8 {
1191 uint32_t devmode_ptr;
1194 struct spoolss_SetPrinterInfo9 {
1195 uint32_t devmode_ptr;
1198 union spoolss_SetPrinterInfo {
1199 struct spoolss_SetPrinterInfo0 *info0;/* [unique,case(0)] */
1200 struct spoolss_SetPrinterInfo1 *info1;/* [unique,case] */
1201 struct spoolss_SetPrinterInfo2 *info2;/* [unique,case(2)] */
1202 struct spoolss_SetPrinterInfo3 *info3;/* [unique,case(3)] */
1203 struct spoolss_SetPrinterInfo4 *info4;/* [unique,case(4)] */
1204 struct spoolss_SetPrinterInfo5 *info5;/* [unique,case(5)] */
1205 struct spoolss_SetPrinterInfo6 *info6;/* [unique,case(6)] */
1206 struct spoolss_SetPrinterInfo7 *info7;/* [unique,case(7)] */
1207 struct spoolss_SetPrinterInfo8 *info8;/* [unique,case(8)] */
1208 struct spoolss_SetPrinterInfo9 *info9;/* [unique,case(9)] */
1209 }/* [switch_type(uint32)] */;
1211 struct spoolss_SetPrinterInfoCtr {
1213 union spoolss_SetPrinterInfo info;/* [switch_is(level)] */
1216 struct spoolss_StringArray {
1217 uint32_t _ndr_size;/* [value((ndr_size_spoolss_StringArray(r,ndr->iconv_convenience,ndr->flags)-4)/2)] */
1218 const char ** string;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
1221 struct spoolss_AddDriverInfo1 {
1222 const char *driver_name;/* [unique,charset(UTF16)] */
1225 enum spoolss_DriverOSVersion
1226 #ifndef USE_UINT_ENUMS
1228 SPOOLSS_DRIVER_VERSION_9X=(int)(0),
1229 SPOOLSS_DRIVER_VERSION_NT35=(int)(1),
1230 SPOOLSS_DRIVER_VERSION_NT4=(int)(2),
1231 SPOOLSS_DRIVER_VERSION_200X=(int)(3)
1234 { __donnot_use_enum_spoolss_DriverOSVersion=0x7FFFFFFF}
1235 #define SPOOLSS_DRIVER_VERSION_9X ( 0 )
1236 #define SPOOLSS_DRIVER_VERSION_NT35 ( 1 )
1237 #define SPOOLSS_DRIVER_VERSION_NT4 ( 2 )
1238 #define SPOOLSS_DRIVER_VERSION_200X ( 3 )
1242 struct spoolss_AddDriverInfo2 {
1243 enum spoolss_DriverOSVersion version;
1244 const char *driver_name;/* [unique,charset(UTF16)] */
1245 const char *architecture;/* [unique,charset(UTF16)] */
1246 const char *driver_path;/* [unique,charset(UTF16)] */
1247 const char *data_file;/* [unique,charset(UTF16)] */
1248 const char *config_file;/* [unique,charset(UTF16)] */
1251 struct spoolss_AddDriverInfo3 {
1252 enum spoolss_DriverOSVersion version;
1253 const char *driver_name;/* [unique,charset(UTF16)] */
1254 const char *architecture;/* [unique,charset(UTF16)] */
1255 const char *driver_path;/* [unique,charset(UTF16)] */
1256 const char *data_file;/* [unique,charset(UTF16)] */
1257 const char *config_file;/* [unique,charset(UTF16)] */
1258 const char *help_file;/* [unique,charset(UTF16)] */
1259 const char *monitor_name;/* [unique,charset(UTF16)] */
1260 const char *default_datatype;/* [unique,charset(UTF16)] */
1261 uint32_t _ndr_size_dependent_files;/* [value(((ndr_size_spoolss_StringArray(dependent_files,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1262 struct spoolss_StringArray *dependent_files;/* [unique] */
1265 struct spoolss_AddDriverInfo4 {
1266 enum spoolss_DriverOSVersion version;
1267 const char *driver_name;/* [unique,charset(UTF16)] */
1268 const char *architecture;/* [unique,charset(UTF16)] */
1269 const char *driver_path;/* [unique,charset(UTF16)] */
1270 const char *data_file;/* [unique,charset(UTF16)] */
1271 const char *config_file;/* [unique,charset(UTF16)] */
1272 const char *help_file;/* [unique,charset(UTF16)] */
1273 const char *monitor_name;/* [unique,charset(UTF16)] */
1274 const char *default_datatype;/* [unique,charset(UTF16)] */
1275 uint32_t _ndr_size_dependent_files;/* [value(((ndr_size_spoolss_StringArray(dependent_files,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1276 struct spoolss_StringArray *dependent_files;/* [unique] */
1277 uint32_t _ndr_size_previous_names;/* [value(((ndr_size_spoolss_StringArray(previous_names,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1278 struct spoolss_StringArray *previous_names;/* [unique] */
1281 /* bitmap spoolss_DriverAttributes */
1282 #define PRINTER_DRIVER_PACKAGE_AWARE ( 0x00000002 )
1284 struct spoolss_AddDriverInfo5 {
1285 enum spoolss_DriverOSVersion version;
1286 const char *driver_name;/* [unique,charset(UTF16)] */
1287 const char *architecture;/* [unique,charset(UTF16)] */
1288 const char *driver_path;/* [unique,charset(UTF16)] */
1289 const char *data_file;/* [unique,charset(UTF16)] */
1290 const char *config_file;/* [unique,charset(UTF16)] */
1291 uint32_t driver_attributes;
1292 uint32_t config_version;
1293 uint32_t driver_version;
1296 struct spoolss_AddDriverInfo6 {
1297 enum spoolss_DriverOSVersion version;
1298 const char *driver_name;/* [unique,charset(UTF16)] */
1299 const char *architecture;/* [unique,charset(UTF16)] */
1300 const char *driver_path;/* [unique,charset(UTF16)] */
1301 const char *data_file;/* [unique,charset(UTF16)] */
1302 const char *config_file;/* [unique,charset(UTF16)] */
1303 const char *help_file;/* [unique,charset(UTF16)] */
1304 const char *monitor_name;/* [unique,charset(UTF16)] */
1305 const char *default_datatype;/* [unique,charset(UTF16)] */
1306 uint32_t _ndr_size_dependent_files;/* [value(((ndr_size_spoolss_StringArray(dependent_files,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1307 struct spoolss_StringArray *dependent_files;/* [unique] */
1308 uint32_t _ndr_size_previous_names;/* [value(((ndr_size_spoolss_StringArray(previous_names,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1309 struct spoolss_StringArray *previous_names;/* [unique] */
1311 uint64_t driver_version;
1312 const char *manufacturer_name;/* [unique,charset(UTF16)] */
1313 const char *manufacturer_url;/* [unique,charset(UTF16)] */
1314 const char *hardware_id;/* [unique,charset(UTF16)] */
1315 const char *provider;/* [unique,charset(UTF16)] */
1318 struct spoolss_AddDriverInfo8 {
1319 enum spoolss_DriverOSVersion version;
1320 const char *driver_name;/* [unique,charset(UTF16)] */
1321 const char *architecture;/* [unique,charset(UTF16)] */
1322 const char *driver_path;/* [unique,charset(UTF16)] */
1323 const char *data_file;/* [unique,charset(UTF16)] */
1324 const char *config_file;/* [unique,charset(UTF16)] */
1325 const char *help_file;/* [unique,charset(UTF16)] */
1326 const char *monitor_name;/* [unique,charset(UTF16)] */
1327 const char *default_datatype;/* [unique,charset(UTF16)] */
1328 uint32_t _ndr_size_dependent_files;/* [value(((ndr_size_spoolss_StringArray(dependent_files,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1329 struct spoolss_StringArray *dependent_files;/* [unique] */
1330 uint32_t _ndr_size_previous_names;/* [value(((ndr_size_spoolss_StringArray(previous_names,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1331 struct spoolss_StringArray *previous_names;/* [unique] */
1333 uint64_t driver_version;
1334 const char *manufacturer_name;/* [unique,charset(UTF16)] */
1335 const char *manufacturer_url;/* [unique,charset(UTF16)] */
1336 const char *hardware_id;/* [unique,charset(UTF16)] */
1337 const char *provider;/* [unique,charset(UTF16)] */
1338 const char *print_processor;/* [unique,charset(UTF16)] */
1339 const char *vendor_setup;/* [unique,charset(UTF16)] */
1340 uint32_t _ndr_size_color_profiles;/* [value(((ndr_size_spoolss_StringArray(color_profiles,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1341 struct spoolss_StringArray *color_profiles;/* [unique] */
1342 const char *inf_path;/* [unique,charset(UTF16)] */
1343 uint32_t printer_driver_attributes;
1344 uint32_t _ndr_size_core_driver_dependencies;/* [value(((ndr_size_spoolss_StringArray(core_driver_dependencies,ndr->iconv_convenience,ndr->flags)-4)/2))] */
1345 struct spoolss_StringArray *core_driver_dependencies;/* [unique] */
1346 NTTIME min_inbox_driver_ver_date;
1347 uint64_t min_inbox_driver_ver_version;
1350 union spoolss_AddDriverInfo {
1351 struct spoolss_AddDriverInfo1 *info1;/* [unique,case] */
1352 struct spoolss_AddDriverInfo2 *info2;/* [unique,case(2)] */
1353 struct spoolss_AddDriverInfo3 *info3;/* [unique,case(3)] */
1354 struct spoolss_AddDriverInfo4 *info4;/* [unique,case(4)] */
1355 struct spoolss_AddDriverInfo6 *info6;/* [unique,case(6)] */
1356 struct spoolss_AddDriverInfo8 *info8;/* [unique,case(8)] */
1357 }/* [switch_type(uint32)] */;
1359 struct spoolss_AddDriverInfoCtr {
1361 union spoolss_AddDriverInfo info;/* [switch_is(level)] */
1364 struct spoolss_DriverInfo1 {
1365 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1366 }/* [gensize,public] */;
1368 struct spoolss_DriverInfo2 {
1369 enum spoolss_DriverOSVersion version;
1370 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1371 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1372 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1373 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1374 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1375 }/* [gensize,public] */;
1377 struct spoolss_DriverInfo3 {
1378 enum spoolss_DriverOSVersion version;
1379 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1380 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1381 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1382 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1383 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1384 const char * help_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1385 const char ** dependent_files;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1386 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1387 const char * default_datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1388 }/* [gensize,public] */;
1390 struct spoolss_DriverInfo4 {
1391 enum spoolss_DriverOSVersion version;
1392 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1393 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1394 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1395 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1396 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1397 const char * help_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1398 const char ** dependent_files;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1399 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1400 const char * default_datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1401 const char ** previous_names;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1402 }/* [gensize,public] */;
1404 struct spoolss_DriverInfo5 {
1405 enum spoolss_DriverOSVersion version;
1406 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1407 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1408 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1409 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1410 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1411 uint32_t driver_attributes;
1412 uint32_t config_version;
1413 uint32_t driver_version;
1414 }/* [gensize,public] */;
1416 struct spoolss_DriverInfo6 {
1417 enum spoolss_DriverOSVersion version;
1418 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1419 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1420 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1421 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1422 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1423 const char * help_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1424 const char ** dependent_files;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1425 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1426 const char * default_datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1427 const char ** previous_names;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1429 uint64_t driver_version;
1430 const char * manufacturer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1431 const char * manufacturer_url;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1432 const char * hardware_id;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1433 const char * provider;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1434 }/* [gensize,public] */;
1436 struct spoolss_DriverInfo7 {
1438 enum spoolss_DriverOSVersion version;
1439 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1440 const char * inf_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1441 const char * install_source_root;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1442 }/* [gensize,public] */;
1444 struct spoolss_DriverInfo8 {
1445 enum spoolss_DriverOSVersion version;
1446 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1447 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1448 const char * driver_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1449 const char * data_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1450 const char * config_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1451 const char * help_file;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1452 const char ** dependent_files;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1453 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1454 const char * default_datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1455 const char ** previous_names;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1457 uint64_t driver_version;
1458 const char * manufacturer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1459 const char * manufacturer_url;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1460 const char * hardware_id;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1461 const char * provider;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1462 const char * print_processor;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1463 const char * vendor_setup;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1464 const char ** color_profiles;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1465 const char * inf_path;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1466 uint32_t printer_driver_attributes;
1467 const char ** core_driver_dependencies;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1468 NTTIME min_inbox_driver_ver_date;
1469 uint64_t min_inbox_driver_ver_version;
1470 }/* [gensize,public] */;
1472 enum spoolss_DriverFileType
1473 #ifndef USE_UINT_ENUMS
1475 SPOOLSS_DRIVER_FILE_TYPE_RENDERING=(int)(0x00000000),
1476 SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION=(int)(0x00000001),
1477 SPOOLSS_DRIVER_FILE_TYPE_DATA=(int)(0x00000002),
1478 SPOOLSS_DRIVER_FILE_TYPE_HELP=(int)(0x00000003),
1479 SPOOLSS_DRIVER_FILE_TYPE_OTHER=(int)(0x00000004)
1482 { __donnot_use_enum_spoolss_DriverFileType=0x7FFFFFFF}
1483 #define SPOOLSS_DRIVER_FILE_TYPE_RENDERING ( 0x00000000 )
1484 #define SPOOLSS_DRIVER_FILE_TYPE_CONFIGURATION ( 0x00000001 )
1485 #define SPOOLSS_DRIVER_FILE_TYPE_DATA ( 0x00000002 )
1486 #define SPOOLSS_DRIVER_FILE_TYPE_HELP ( 0x00000003 )
1487 #define SPOOLSS_DRIVER_FILE_TYPE_OTHER ( 0x00000004 )
1491 struct spoolss_DriverFileInfo {
1492 const char * file_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1493 enum spoolss_DriverFileType file_type;
1494 uint32_t file_version;
1497 struct spoolss_DriverInfo101 {
1498 enum spoolss_DriverOSVersion version;
1499 const char * driver_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1500 const char * architecture;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1501 struct spoolss_DriverFileInfo *file_info;/* [relative,size_is(file_count)] */
1502 uint32_t file_count;
1503 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1504 const char * default_datatype;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1505 const char ** previous_names;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1507 uint64_t driver_version;
1508 const char * manufacturer_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1509 const char * manufacturer_url;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1510 const char * hardware_id;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1511 const char * provider;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1512 }/* [gensize,nopush,public,nopull] */;
1514 union spoolss_DriverInfo {
1515 struct spoolss_DriverInfo1 info1;/* [case] */
1516 struct spoolss_DriverInfo2 info2;/* [case(2)] */
1517 struct spoolss_DriverInfo3 info3;/* [case(3)] */
1518 struct spoolss_DriverInfo4 info4;/* [case(4)] */
1519 struct spoolss_DriverInfo5 info5;/* [case(5)] */
1520 struct spoolss_DriverInfo6 info6;/* [case(6)] */
1521 struct spoolss_DriverInfo7 info7;/* [case(7)] */
1522 struct spoolss_DriverInfo8 info8;/* [case(8)] */
1523 struct spoolss_DriverInfo101 info101;/* [case(101)] */
1524 }/* [relative_base,gensize,public,nodiscriminant] */;
1526 struct spoolss_DriverDirectoryInfo1 {
1527 const char * directory_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
1528 }/* [gensize,public] */;
1530 union spoolss_DriverDirectoryInfo {
1531 struct spoolss_DriverDirectoryInfo1 info1;/* [case] */
1532 }/* [gensize,relative_base,nodiscriminant,public] */;
1534 struct spoolss_PrintProcessorInfo1 {
1535 const char * print_processor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1536 }/* [gensize,public] */;
1538 union spoolss_PrintProcessorInfo {
1539 struct spoolss_PrintProcessorInfo1 info1;/* [case] */
1540 }/* [relative_base,nodiscriminant,public] */;
1542 struct spoolss_PrintProcessorDirectoryInfo1 {
1543 const char * directory_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
1544 }/* [gensize,public] */;
1546 union spoolss_PrintProcessorDirectoryInfo {
1547 struct spoolss_PrintProcessorDirectoryInfo1 info1;/* [case] */
1548 }/* [gensize,relative_base,nodiscriminant,public] */;
1550 struct spoolss_DocumentInfo1 {
1551 const char *document_name;/* [unique,charset(UTF16)] */
1552 const char *output_file;/* [unique,charset(UTF16)] */
1553 const char *datatype;/* [unique,charset(UTF16)] */
1556 union spoolss_DocumentInfo {
1557 struct spoolss_DocumentInfo1 *info1;/* [unique,case] */
1558 }/* [switch_type(uint32)] */;
1560 struct spoolss_OSVersion {
1561 uint32_t _ndr_size;/* [value(ndr_size_spoolss_OSVersion(r,ndr->iconv_convenience,ndr->flags))] */
1565 uint32_t platform_id;/* [value(2)] */
1566 const char * extra_string;/* [subcontext_size(256),subcontext(0),flag(LIBNDR_FLAG_STR_NULLTERM)] */
1567 }/* [gensize,public] */;
1569 struct spoolss_OSVersionEx {
1570 uint32_t _ndr_size;/* [value(ndr_size_spoolss_OSVersionEx(r,ndr->iconv_convenience,ndr->flags))] */
1574 uint32_t platform_id;/* [value(2)] */
1575 const char * extra_string;/* [subcontext_size(256),subcontext(0),flag(LIBNDR_FLAG_STR_NULLTERM)] */
1576 uint16_t service_pack_major;
1577 uint16_t service_pack_minor;
1578 uint16_t suite_mask;
1579 uint8_t product_type;
1581 }/* [gensize,public] */;
1583 union spoolss_PrinterData {
1584 const char * string;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_SZ)] */
1585 DATA_BLOB binary;/* [flag(LIBNDR_FLAG_REMAINING),case(REG_BINARY)] */
1586 uint32_t value;/* [case(REG_DWORD)] */
1587 const char ** string_array;/* [flag(LIBNDR_FLAG_STR_NULLTERM),case(REG_MULTI_SZ)] */
1588 DATA_BLOB data;/* [flag(LIBNDR_FLAG_REMAINING),default] */
1589 }/* [nodiscriminant,public] */;
1591 enum spoolss_FormFlags
1592 #ifndef USE_UINT_ENUMS
1594 SPOOLSS_FORM_USER=(int)(0),
1595 SPOOLSS_FORM_BUILTIN=(int)(1),
1596 SPOOLSS_FORM_PRINTER=(int)(2)
1599 { __donnot_use_enum_spoolss_FormFlags=0x7FFFFFFF}
1600 #define SPOOLSS_FORM_USER ( 0 )
1601 #define SPOOLSS_FORM_BUILTIN ( 1 )
1602 #define SPOOLSS_FORM_PRINTER ( 2 )
1606 struct spoolss_FormSize {
1611 struct spoolss_FormArea {
1618 struct spoolss_FormInfo1 {
1619 enum spoolss_FormFlags flags;
1620 const char * form_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1621 struct spoolss_FormSize size;
1622 struct spoolss_FormArea area;
1623 }/* [gensize,public] */;
1625 /* bitmap spoolss_FormStringType */
1626 #define SPOOLSS_FORM_STRING_TYPE_NONE ( 0x00000001 )
1627 #define SPOOLSS_FORM_STRING_TYPE_MUI_DLL ( 0x00000002 )
1628 #define SPOOLSS_FORM_STRING_TYPE_LANG_PAIR ( 0x00000004 )
1630 struct spoolss_FormInfo2 {
1631 enum spoolss_FormFlags flags;
1632 const char * form_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1633 struct spoolss_FormSize size;
1634 struct spoolss_FormArea area;
1635 const char * keyword;/* [relative,flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
1636 uint32_t string_type;
1637 const char * mui_dll;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1638 uint32_t ressource_id;
1639 const char * display_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1642 }/* [gensize,public] */;
1644 union spoolss_FormInfo {
1645 struct spoolss_FormInfo1 info1;/* [case] */
1646 struct spoolss_FormInfo2 info2;/* [case(2)] */
1647 }/* [relative_base,gensize,public,nodiscriminant] */;
1649 struct spoolss_AddFormInfo1 {
1650 enum spoolss_FormFlags flags;
1651 const char *form_name;/* [unique,charset(UTF16)] */
1652 struct spoolss_FormSize size;
1653 struct spoolss_FormArea area;
1656 struct spoolss_AddFormInfo2 {
1657 enum spoolss_FormFlags flags;
1658 const char *form_name;/* [unique,charset(UTF16)] */
1659 struct spoolss_FormSize size;
1660 struct spoolss_FormArea area;
1661 const char *keyword;/* [unique,charset(DOS)] */
1662 uint32_t string_type;
1663 const char *mui_dll;/* [unique,charset(UTF16)] */
1664 uint32_t ressource_id;
1665 const char *display_name;/* [unique,charset(UTF16)] */
1669 union spoolss_AddFormInfo {
1670 struct spoolss_AddFormInfo1 *info1;/* [unique,case] */
1671 struct spoolss_AddFormInfo2 *info2;/* [unique,case(2)] */
1672 }/* [switch_type(uint32)] */;
1674 struct spoolss_PortInfo1 {
1675 const char * port_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1676 }/* [gensize,public] */;
1678 /* bitmap spoolss_PortType */
1679 #define SPOOLSS_PORT_TYPE_WRITE ( 0x00000001 )
1680 #define SPOOLSS_PORT_TYPE_READ ( 0x00000002 )
1681 #define SPOOLSS_PORT_TYPE_REDIRECTED ( 0x00000004 )
1682 #define SPOOLSS_PORT_TYPE_NET_ATTACHED ( 0x00000008 )
1684 struct spoolss_PortInfo2 {
1685 const char * port_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1686 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1687 const char * description;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1690 }/* [gensize,public] */;
1692 enum spoolss_PortStatus
1693 #ifndef USE_UINT_ENUMS
1695 PORT_STATUS_CLEAR=(int)(0x00000000),
1696 PORT_STATUS_OFFLINE=(int)(0x00000001),
1697 PORT_STATUS_PAPER_JAM=(int)(0x00000002),
1698 PORT_STATUS_PAPER_OUT=(int)(0x00000003),
1699 PORT_STATUS_OUTPUT_BIN_FULL=(int)(0x00000004),
1700 PORT_STATUS_PAPER_PROBLEM=(int)(0x00000005),
1701 PORT_STATUS_NO_TONER=(int)(0x00000006),
1702 PORT_STATUS_DOOR_OPEN=(int)(0x00000007),
1703 PORT_STATUS_USER_INTERVENTION=(int)(0x00000008),
1704 PORT_STATUS_OUT_OF_MEMORY=(int)(0x00000009),
1705 PORT_STATUS_TONER_LOW=(int)(0x0000000A),
1706 PORT_STATUS_WARMING_UP=(int)(0x0000000B),
1707 PORT_STATUS_POWER_SAVE=(int)(0x0000000C)
1710 { __donnot_use_enum_spoolss_PortStatus=0x7FFFFFFF}
1711 #define PORT_STATUS_CLEAR ( 0x00000000 )
1712 #define PORT_STATUS_OFFLINE ( 0x00000001 )
1713 #define PORT_STATUS_PAPER_JAM ( 0x00000002 )
1714 #define PORT_STATUS_PAPER_OUT ( 0x00000003 )
1715 #define PORT_STATUS_OUTPUT_BIN_FULL ( 0x00000004 )
1716 #define PORT_STATUS_PAPER_PROBLEM ( 0x00000005 )
1717 #define PORT_STATUS_NO_TONER ( 0x00000006 )
1718 #define PORT_STATUS_DOOR_OPEN ( 0x00000007 )
1719 #define PORT_STATUS_USER_INTERVENTION ( 0x00000008 )
1720 #define PORT_STATUS_OUT_OF_MEMORY ( 0x00000009 )
1721 #define PORT_STATUS_TONER_LOW ( 0x0000000A )
1722 #define PORT_STATUS_WARMING_UP ( 0x0000000B )
1723 #define PORT_STATUS_POWER_SAVE ( 0x0000000C )
1727 enum spoolss_PortSeverity
1728 #ifndef USE_UINT_ENUMS
1730 PORT_STATUS_TYPE_ERROR=(int)(0x00000001),
1731 PORT_STATUS_TYPE_WARNING=(int)(0x00000002),
1732 PORT_STATUS_TYPE_INFO=(int)(0x00000003)
1735 { __donnot_use_enum_spoolss_PortSeverity=0x7FFFFFFF}
1736 #define PORT_STATUS_TYPE_ERROR ( 0x00000001 )
1737 #define PORT_STATUS_TYPE_WARNING ( 0x00000002 )
1738 #define PORT_STATUS_TYPE_INFO ( 0x00000003 )
1742 struct spoolss_PortInfo3 {
1743 enum spoolss_PortStatus status;
1744 const char * status_string;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1745 enum spoolss_PortSeverity severity;
1746 }/* [gensize,public] */;
1748 struct spoolss_PortInfoFF {
1749 const char * port_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1750 DATA_BLOB monitor_data;
1751 }/* [gensize,public] */;
1753 union spoolss_PortInfo {
1754 struct spoolss_PortInfo1 info1;/* [case] */
1755 struct spoolss_PortInfo2 info2;/* [case(2)] */
1756 struct spoolss_PortInfo3 info3;/* [case(3)] */
1757 struct spoolss_PortInfoFF infoFF;/* [case(0xff)] */
1758 }/* [relative_base,nodiscriminant,public] */;
1760 struct spoolss_MonitorInfo1 {
1761 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1762 }/* [gensize,public] */;
1764 struct spoolss_MonitorInfo2 {
1765 const char * monitor_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1766 const char * environment;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1767 const char * dll_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1768 }/* [gensize,public] */;
1770 union spoolss_MonitorInfo {
1771 struct spoolss_MonitorInfo1 info1;/* [case] */
1772 struct spoolss_MonitorInfo2 info2;/* [case(2)] */
1773 }/* [relative_base,nodiscriminant,public] */;
1775 struct spoolss_PrintProcDataTypesInfo1 {
1776 const char * name_array;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
1777 }/* [gensize,public] */;
1779 union spoolss_PrintProcDataTypesInfo {
1780 struct spoolss_PrintProcDataTypesInfo1 info1;/* [case] */
1781 }/* [relative_base,nodiscriminant,public] */;
1783 /* bitmap spoolss_PrinterChangeFlags */
1784 #define PRINTER_CHANGE_ADD_PRINTER ( 0x00000001 )
1785 #define PRINTER_CHANGE_SET_PRINTER ( 0x00000002 )
1786 #define PRINTER_CHANGE_DELETE_PRINTER ( 0x00000004 )
1787 #define PRINTER_CHANGE_FAILED_CONNECTION_PRINTER ( 0x00000008 )
1788 #define PRINTER_CHANGE_ADD_JOB ( 0x00000100 )
1789 #define PRINTER_CHANGE_SET_JOB ( 0x00000200 )
1790 #define PRINTER_CHANGE_DELETE_JOB ( 0x00000400 )
1791 #define PRINTER_CHANGE_WRITE_JOB ( 0x00000800 )
1792 #define PRINTER_CHANGE_ADD_FORM ( 0x00010000 )
1793 #define PRINTER_CHANGE_SET_FORM ( 0x00020000 )
1794 #define PRINTER_CHANGE_DELETE_FORM ( 0x00040000 )
1795 #define PRINTER_CHANGE_ADD_PORT ( 0x00100000 )
1796 #define PRINTER_CHANGE_CONFIGURE_PORT ( 0x00200000 )
1797 #define PRINTER_CHANGE_DELETE_PORT ( 0x00400000 )
1798 #define PRINTER_CHANGE_ADD_PRINT_PROCESSOR ( 0x01000000 )
1799 #define PRINTER_CHANGE_DELETE_PRINT_PROCESSOR ( 0x04000000 )
1800 #define PRINTER_CHANGE_SERVER ( 0x08000000 )
1801 #define PRINTER_CHANGE_ADD_PRINTER_DRIVER ( 0x10000000 )
1802 #define PRINTER_CHANGE_SET_PRINTER_DRIVER ( 0x20000000 )
1803 #define PRINTER_CHANGE_DELETE_PRINTER_DRIVER ( 0x40000000 )
1804 #define PRINTER_CHANGE_TIMEOUT ( 0x80000000 )
1806 enum spoolss_JobNotifyField
1807 #ifndef USE_UINT_ENUMS
1809 JOB_NOTIFY_FIELD_PRINTER_NAME=(int)(0x00),
1810 JOB_NOTIFY_FIELD_MACHINE_NAME=(int)(0x01),
1811 JOB_NOTIFY_FIELD_PORT_NAME=(int)(0x02),
1812 JOB_NOTIFY_FIELD_USER_NAME=(int)(0x03),
1813 JOB_NOTIFY_FIELD_NOTIFY_NAME=(int)(0x04),
1814 JOB_NOTIFY_FIELD_DATATYPE=(int)(0x05),
1815 JOB_NOTIFY_FIELD_PRINT_PROCESSOR=(int)(0x06),
1816 JOB_NOTIFY_FIELD_PARAMETERS=(int)(0x07),
1817 JOB_NOTIFY_FIELD_DRIVER_NAME=(int)(0x08),
1818 JOB_NOTIFY_FIELD_DEVMODE=(int)(0x09),
1819 JOB_NOTIFY_FIELD_STATUS=(int)(0x0a),
1820 JOB_NOTIFY_FIELD_STATUS_STRING=(int)(0x0b),
1821 JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)(0x0c),
1822 JOB_NOTIFY_FIELD_DOCUMENT=(int)(0x0d),
1823 JOB_NOTIFY_FIELD_PRIORITY=(int)(0x0e),
1824 JOB_NOTIFY_FIELD_POSITION=(int)(0x0f),
1825 JOB_NOTIFY_FIELD_SUBMITTED=(int)(0x10),
1826 JOB_NOTIFY_FIELD_START_TIME=(int)(0x11),
1827 JOB_NOTIFY_FIELD_UNTIL_TIME=(int)(0x12),
1828 JOB_NOTIFY_FIELD_TIME=(int)(0x13),
1829 JOB_NOTIFY_FIELD_TOTAL_PAGES=(int)(0x14),
1830 JOB_NOTIFY_FIELD_PAGES_PRINTED=(int)(0x15),
1831 JOB_NOTIFY_FIELD_TOTAL_BYTES=(int)(0x16),
1832 JOB_NOTIFY_FIELD_BYTES_PRINTED=(int)(0x17)
1835 { __donnot_use_enum_spoolss_JobNotifyField=0x7FFFFFFF}
1836 #define JOB_NOTIFY_FIELD_PRINTER_NAME ( 0x00 )
1837 #define JOB_NOTIFY_FIELD_MACHINE_NAME ( 0x01 )
1838 #define JOB_NOTIFY_FIELD_PORT_NAME ( 0x02 )
1839 #define JOB_NOTIFY_FIELD_USER_NAME ( 0x03 )
1840 #define JOB_NOTIFY_FIELD_NOTIFY_NAME ( 0x04 )
1841 #define JOB_NOTIFY_FIELD_DATATYPE ( 0x05 )
1842 #define JOB_NOTIFY_FIELD_PRINT_PROCESSOR ( 0x06 )
1843 #define JOB_NOTIFY_FIELD_PARAMETERS ( 0x07 )
1844 #define JOB_NOTIFY_FIELD_DRIVER_NAME ( 0x08 )
1845 #define JOB_NOTIFY_FIELD_DEVMODE ( 0x09 )
1846 #define JOB_NOTIFY_FIELD_STATUS ( 0x0a )
1847 #define JOB_NOTIFY_FIELD_STATUS_STRING ( 0x0b )
1848 #define JOB_NOTIFY_FIELD_SECURITY_DESCRIPTOR ( 0x0c )
1849 #define JOB_NOTIFY_FIELD_DOCUMENT ( 0x0d )
1850 #define JOB_NOTIFY_FIELD_PRIORITY ( 0x0e )
1851 #define JOB_NOTIFY_FIELD_POSITION ( 0x0f )
1852 #define JOB_NOTIFY_FIELD_SUBMITTED ( 0x10 )
1853 #define JOB_NOTIFY_FIELD_START_TIME ( 0x11 )
1854 #define JOB_NOTIFY_FIELD_UNTIL_TIME ( 0x12 )
1855 #define JOB_NOTIFY_FIELD_TIME ( 0x13 )
1856 #define JOB_NOTIFY_FIELD_TOTAL_PAGES ( 0x14 )
1857 #define JOB_NOTIFY_FIELD_PAGES_PRINTED ( 0x15 )
1858 #define JOB_NOTIFY_FIELD_TOTAL_BYTES ( 0x16 )
1859 #define JOB_NOTIFY_FIELD_BYTES_PRINTED ( 0x17 )
1863 enum spoolss_PrintNotifyField
1864 #ifndef USE_UINT_ENUMS
1866 PRINTER_NOTIFY_FIELD_SERVER_NAME=(int)(0x00),
1867 PRINTER_NOTIFY_FIELD_PRINTER_NAME=(int)(0x01),
1868 PRINTER_NOTIFY_FIELD_SHARE_NAME=(int)(0x02),
1869 PRINTER_NOTIFY_FIELD_PORT_NAME=(int)(0x03),
1870 PRINTER_NOTIFY_FIELD_DRIVER_NAME=(int)(0x04),
1871 PRINTER_NOTIFY_FIELD_COMMENT=(int)(0x05),
1872 PRINTER_NOTIFY_FIELD_LOCATION=(int)(0x06),
1873 PRINTER_NOTIFY_FIELD_DEVMODE=(int)(0x07),
1874 PRINTER_NOTIFY_FIELD_SEPFILE=(int)(0x08),
1875 PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR=(int)(0x09),
1876 PRINTER_NOTIFY_FIELD_PARAMETERS=(int)(0x0a),
1877 PRINTER_NOTIFY_FIELD_DATATYPE=(int)(0x0b),
1878 PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR=(int)(0x0c),
1879 PRINTER_NOTIFY_FIELD_ATTRIBUTES=(int)(0x0d),
1880 PRINTER_NOTIFY_FIELD_PRIORITY=(int)(0x0e),
1881 PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY=(int)(0x0f),
1882 PRINTER_NOTIFY_FIELD_START_TIME=(int)(0x10),
1883 PRINTER_NOTIFY_FIELD_UNTIL_TIME=(int)(0x11),
1884 PRINTER_NOTIFY_FIELD_STATUS=(int)(0x12),
1885 PRINTER_NOTIFY_FIELD_STATUS_STRING=(int)(0x13),
1886 PRINTER_NOTIFY_FIELD_CJOBS=(int)(0x14),
1887 PRINTER_NOTIFY_FIELD_AVERAGE_PPM=(int)(0x15),
1888 PRINTER_NOTIFY_FIELD_TOTAL_PAGES=(int)(0x16),
1889 PRINTER_NOTIFY_FIELD_PAGES_PRINTED=(int)(0x17),
1890 PRINTER_NOTIFY_FIELD_TOTAL_BYTES=(int)(0x18),
1891 PRINTER_NOTIFY_FIELD_BYTES_PRINTED=(int)(0x19),
1892 PRINTER_NOTIFY_FIELD_OBJECT_GUID=(int)(0x1a),
1893 PRINTER_NOTIFY_FIELD_FRIENDLY_NAME=(int)(0x1b)
1896 { __donnot_use_enum_spoolss_PrintNotifyField=0x7FFFFFFF}
1897 #define PRINTER_NOTIFY_FIELD_SERVER_NAME ( 0x00 )
1898 #define PRINTER_NOTIFY_FIELD_PRINTER_NAME ( 0x01 )
1899 #define PRINTER_NOTIFY_FIELD_SHARE_NAME ( 0x02 )
1900 #define PRINTER_NOTIFY_FIELD_PORT_NAME ( 0x03 )
1901 #define PRINTER_NOTIFY_FIELD_DRIVER_NAME ( 0x04 )
1902 #define PRINTER_NOTIFY_FIELD_COMMENT ( 0x05 )
1903 #define PRINTER_NOTIFY_FIELD_LOCATION ( 0x06 )
1904 #define PRINTER_NOTIFY_FIELD_DEVMODE ( 0x07 )
1905 #define PRINTER_NOTIFY_FIELD_SEPFILE ( 0x08 )
1906 #define PRINTER_NOTIFY_FIELD_PRINT_PROCESSOR ( 0x09 )
1907 #define PRINTER_NOTIFY_FIELD_PARAMETERS ( 0x0a )
1908 #define PRINTER_NOTIFY_FIELD_DATATYPE ( 0x0b )
1909 #define PRINTER_NOTIFY_FIELD_SECURITY_DESCRIPTOR ( 0x0c )
1910 #define PRINTER_NOTIFY_FIELD_ATTRIBUTES ( 0x0d )
1911 #define PRINTER_NOTIFY_FIELD_PRIORITY ( 0x0e )
1912 #define PRINTER_NOTIFY_FIELD_DEFAULT_PRIORITY ( 0x0f )
1913 #define PRINTER_NOTIFY_FIELD_START_TIME ( 0x10 )
1914 #define PRINTER_NOTIFY_FIELD_UNTIL_TIME ( 0x11 )
1915 #define PRINTER_NOTIFY_FIELD_STATUS ( 0x12 )
1916 #define PRINTER_NOTIFY_FIELD_STATUS_STRING ( 0x13 )
1917 #define PRINTER_NOTIFY_FIELD_CJOBS ( 0x14 )
1918 #define PRINTER_NOTIFY_FIELD_AVERAGE_PPM ( 0x15 )
1919 #define PRINTER_NOTIFY_FIELD_TOTAL_PAGES ( 0x16 )
1920 #define PRINTER_NOTIFY_FIELD_PAGES_PRINTED ( 0x17 )
1921 #define PRINTER_NOTIFY_FIELD_TOTAL_BYTES ( 0x18 )
1922 #define PRINTER_NOTIFY_FIELD_BYTES_PRINTED ( 0x19 )
1923 #define PRINTER_NOTIFY_FIELD_OBJECT_GUID ( 0x1a )
1924 #define PRINTER_NOTIFY_FIELD_FRIENDLY_NAME ( 0x1b )
1928 enum spoolss_NotifyType
1929 #ifndef USE_UINT_ENUMS
1931 PRINTER_NOTIFY_TYPE=(int)(0x00),
1932 JOB_NOTIFY_TYPE=(int)(0x01)
1935 { __donnot_use_enum_spoolss_NotifyType=0x7FFFFFFF}
1936 #define PRINTER_NOTIFY_TYPE ( 0x00 )
1937 #define JOB_NOTIFY_TYPE ( 0x01 )
1941 union spoolss_Field {
1942 uint16_t field;/* [case(PRINTER_NOTIFY_TYPE)] */
1943 }/* [noprint,nodiscriminant] */;
1945 struct spoolss_NotifyOptionType {
1946 enum spoolss_NotifyType type;
1951 union spoolss_Field *fields;/* [unique,switch_is(type),size_is(count)] */
1954 /* bitmap spoolssNotifyOptionFlags */
1955 #define PRINTER_NOTIFY_OPTIONS_REFRESH ( 0x00000001 )
1957 struct spoolss_NotifyOption {
1958 uint32_t version;/* [value(2)] */
1961 struct spoolss_NotifyOptionType *types;/* [unique,size_is(count)] */
1964 struct spoolss_NotifyString {
1966 const char *string;/* [unique,charset(UTF16),size_is(size/2)] */
1969 enum spoolss_NotifyTable
1970 #ifndef USE_UINT_ENUMS
1972 NOTIFY_TABLE_DWORD=(int)(0x0001),
1973 NOTIFY_TABLE_STRING=(int)(0x0002),
1974 NOTIFY_TABLE_DEVMODE=(int)(0x0003),
1975 NOTIFY_TABLE_TIME=(int)(0x0004),
1976 NOTIFY_TABLE_SECURITYDESCRIPTOR=(int)(0x0005)
1979 { __donnot_use_enum_spoolss_NotifyTable=0x7FFFFFFF}
1980 #define NOTIFY_TABLE_DWORD ( 0x0001 )
1981 #define NOTIFY_TABLE_STRING ( 0x0002 )
1982 #define NOTIFY_TABLE_DEVMODE ( 0x0003 )
1983 #define NOTIFY_TABLE_TIME ( 0x0004 )
1984 #define NOTIFY_TABLE_SECURITYDESCRIPTOR ( 0x0005 )
1988 union spoolss_NotifyData {
1989 uint32_t integer[2];/* [case] */
1990 struct spoolss_NotifyString string;/* [case(2)] */
1991 struct spoolss_DevmodeContainer devmode;/* [case(3)] */
1992 struct spoolss_TimeCtr time;/* [case(4)] */
1993 struct sec_desc_buf sd;/* [case(5)] */
1994 }/* [switch_type(uint32)] */;
1996 struct spoolss_Notify {
1997 enum spoolss_NotifyType type;
1998 union spoolss_Field field;/* [switch_is(type)] */
1999 enum spoolss_NotifyTable variable_type;
2001 union spoolss_NotifyData data;/* [switch_is(variable_type)] */
2004 struct spoolss_NotifyInfo {
2005 uint32_t version;/* [value(2)] */
2008 struct spoolss_Notify *notifies;/* [size_is(count)] */
2011 union spoolss_ReplyPrinterInfo {
2012 struct spoolss_NotifyInfo *info0;/* [unique,case(0)] */
2013 }/* [switch_type(uint32)] */;
2015 /* bitmap spoolss_PrinterNotifyFlags */
2016 #define PRINTER_NOTIFY_INFO_DISCARDED ( 0x00000001 )
2017 #define PRINTER_NOTIFY_INFO_DISCARDNOTED ( 0x00010000 )
2018 #define PRINTER_NOTIFY_INFO_COLOR_MISMATCH ( 0x00080000 )
2020 struct spoolss_UserLevel1 {
2022 const char *client;/* [unique,charset(UTF16)] */
2023 const char *user;/* [unique,charset(UTF16)] */
2025 enum spoolss_MajorVersion major;
2026 enum spoolss_MinorVersion minor;
2027 enum spoolss_ProcessorArchitecture processor;
2030 struct spoolss_UserLevel2 {
2034 struct spoolss_UserLevel3 {
2038 const char *client;/* [unique,charset(UTF16)] */
2039 const char *user;/* [unique,charset(UTF16)] */
2041 enum spoolss_MajorVersion major;
2042 enum spoolss_MinorVersion minor;
2043 enum spoolss_ProcessorArchitecture processor;
2047 union spoolss_UserLevel {
2048 struct spoolss_UserLevel1 *level1;/* [unique,case] */
2049 struct spoolss_UserLevel2 *level2;/* [unique,case(2)] */
2050 struct spoolss_UserLevel3 *level3;/* [unique,case(3)] */
2051 }/* [switch_type(uint32)] */;
2053 struct spoolss_UserLevelCtr {
2055 union spoolss_UserLevel user_info;/* [switch_is(level)] */
2058 /* bitmap spoolss_AccessRights */
2059 #define SERVER_ACCESS_ADMINISTER ( 0x00000001 )
2060 #define SERVER_ACCESS_ENUMERATE ( 0x00000002 )
2061 #define PRINTER_ACCESS_ADMINISTER ( 0x00000004 )
2062 #define PRINTER_ACCESS_USE ( 0x00000008 )
2063 #define JOB_ACCESS_ADMINISTER ( 0x00000010 )
2064 #define JOB_ACCESS_READ ( 0x00000020 )
2066 struct spoolss_PrinterEnumValues {
2067 const char * value_name;/* [relative,flag(LIBNDR_FLAG_STR_NULLTERM)] */
2068 uint32_t value_name_len;/* [value(2*strlen_m_term(value_name))] */
2069 enum winreg_Type type;
2070 union spoolss_PrinterData *data;/* [relative,subcontext_size(r->data_length),subcontext(0),switch_is(type)] */
2071 uint32_t data_length;/* [value(ndr_size_spoolss_PrinterData(data,type,ndr->iconv_convenience,ndr->flags))] */
2072 }/* [relative_base,gensize,public] */;
2074 union spoolss_KeyNames {
2075 const char ** string_array;/* [default,flag(LIBNDR_FLAG_STR_NULLTERM)] */
2076 }/* [nodiscriminant] */;
2078 /* bitmap spoolss_DeleteDriverFlags */
2079 #define DPD_DELETE_UNUSED_FILES ( 0x00000001 )
2080 #define DPD_DELETE_SPECIFIC_VERSION ( 0x00000002 )
2081 #define DPD_DELETE_ALL_FILES ( 0x00000004 )
2083 enum spoolss_PortProtocol
2084 #ifndef USE_UINT_ENUMS
2086 PROTOCOL_RAWTCP_TYPE=(int)(1),
2087 PROTOCOL_LPR_TYPE=(int)(2)
2090 { __donnot_use_enum_spoolss_PortProtocol=0x7FFFFFFF}
2091 #define PROTOCOL_RAWTCP_TYPE ( 1 )
2092 #define PROTOCOL_LPR_TYPE ( 2 )
2096 struct spoolss_PortData1 {
2097 const char *portname;/* [charset(UTF16)] */
2098 uint32_t version;/* [value(0x00000001)] */
2099 enum spoolss_PortProtocol protocol;
2100 uint32_t size;/* [value(sizeof(r))] */
2102 const char *hostaddress;/* [charset(UTF16)] */
2103 const char *snmpcommunity;/* [charset(UTF16)] */
2105 const char *queue;/* [charset(UTF16)] */
2106 const char *ip_address;/* [charset(UTF16)] */
2107 const char *hardware_address;/* [charset(UTF16)] */
2108 const char *device_type;/* [charset(UTF16)] */
2109 uint32_t port_number;
2110 uint32_t snmp_enabled;
2111 uint32_t snmp_dev_index;
2114 struct spoolss_PortData2 {
2115 const char *portname;/* [charset(UTF16)] */
2116 uint32_t version;/* [value(0x00000002)] */
2117 enum spoolss_PortProtocol protocol;
2118 uint32_t size;/* [value(sizeof(r))] */
2120 const char *hostaddress;/* [charset(UTF16)] */
2121 const char *snmpcommunity;/* [charset(UTF16)] */
2123 const char *queue;/* [charset(UTF16)] */
2124 const char *device_type;/* [charset(UTF16)] */
2125 uint32_t port_number;
2126 uint32_t snmp_enabled;
2127 uint32_t snmp_dev_index;
2128 uint32_t port_monitor_mib_index;
2131 struct spoolss_MonitorUi {
2132 const char * dll_name;/* [flag(LIBNDR_FLAG_STR_NULLTERM)] */
2135 /* bitmap spoolss_AddPrinterDriverExFlags */
2136 #define APD_STRICT_UPGRADE ( 0x00000001 )
2137 #define APD_STRICT_DOWNGRADE ( 0x00000002 )
2138 #define APD_COPY_ALL_FILES ( 0x00000004 )
2139 #define APD_COPY_NEW_FILES ( 0x00000008 )
2140 #define APD_COPY_FROM_DIRECTORY ( 0x00000010 )
2141 #define APD_DONT_COPY_FILES_TO_CLUSTER ( 0x00001000 )
2142 #define APD_COPY_TO_ALL_SPOOLERS ( 0x00002000 )
2143 #define APD_RETURN_BLOCKING_STATUS_CODE ( 0x00010000 )
2145 struct spoolss_CorePrinterDriver {
2146 struct GUID core_driver_guid;
2148 uint64_t driver_version;
2149 const char *formname;/* [charset(UTF8)] */
2153 struct _spoolss_EnumPrinters {
2156 const char *server;/* [unique,charset(UTF16)] */
2158 DATA_BLOB *buffer;/* [unique] */
2163 DATA_BLOB *info;/* [unique] */
2164 uint32_t *needed;/* [ref] */
2165 uint32_t *count;/* [ref] */
2172 struct __spoolss_EnumPrinters {
2179 union spoolss_PrinterInfo *info;/* [switch_is(level)] */
2185 struct spoolss_EnumPrinters {
2188 const char *server;/* [unique,charset(UTF16)] */
2190 DATA_BLOB *buffer;/* [unique] */
2195 uint32_t *count;/* [ref] */
2196 union spoolss_PrinterInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2197 uint32_t *needed;/* [ref] */
2204 struct spoolss_OpenPrinter {
2206 const char *printername;/* [unique,charset(UTF16)] */
2207 const char *datatype;/* [unique,charset(UTF16)] */
2208 struct spoolss_DevmodeContainer devmode_ctr;
2209 uint32_t access_mask;
2213 struct policy_handle *handle;/* [ref] */
2220 struct spoolss_SetJob {
2222 struct policy_handle *handle;/* [ref] */
2224 struct spoolss_JobInfoContainer *ctr;/* [unique] */
2225 enum spoolss_JobControl command;
2235 struct spoolss_GetJob {
2237 struct policy_handle *handle;/* [ref] */
2240 DATA_BLOB *buffer;/* [unique] */
2245 union spoolss_JobInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2246 uint32_t *needed;/* [ref] */
2253 struct _spoolss_EnumJobs {
2255 struct policy_handle *handle;/* [ref] */
2259 DATA_BLOB *buffer;/* [unique] */
2264 DATA_BLOB *info;/* [unique] */
2265 uint32_t *needed;/* [ref] */
2266 uint32_t *count;/* [ref] */
2273 struct __spoolss_EnumJobs {
2280 union spoolss_JobInfo *info;/* [switch_is(level)] */
2286 struct spoolss_EnumJobs {
2288 struct policy_handle *handle;/* [ref] */
2292 DATA_BLOB *buffer;/* [unique] */
2297 uint32_t *count;/* [ref] */
2298 union spoolss_JobInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2299 uint32_t *needed;/* [ref] */
2306 struct spoolss_AddPrinter {
2308 const char *server;/* [unique,charset(UTF16)] */
2309 struct spoolss_SetPrinterInfoCtr *info_ctr;/* [ref] */
2310 struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
2311 struct sec_desc_buf *secdesc_ctr;/* [ref] */
2315 struct policy_handle *handle;/* [ref] */
2322 struct spoolss_DeletePrinter {
2324 struct policy_handle *handle;/* [ref] */
2334 struct spoolss_SetPrinter {
2336 struct policy_handle *handle;/* [ref] */
2337 struct spoolss_SetPrinterInfoCtr *info_ctr;/* [ref] */
2338 struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
2339 struct sec_desc_buf *secdesc_ctr;/* [ref] */
2340 enum spoolss_PrinterControl command;
2350 struct spoolss_GetPrinter {
2352 struct policy_handle *handle;/* [ref] */
2354 DATA_BLOB *buffer;/* [unique] */
2359 union spoolss_PrinterInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2360 uint32_t *needed;/* [ref] */
2367 struct spoolss_AddPrinterDriver {
2369 const char *servername;/* [unique,charset(UTF16)] */
2370 struct spoolss_AddDriverInfoCtr *info_ctr;/* [ref] */
2380 struct _spoolss_EnumPrinterDrivers {
2382 const char *server;/* [unique,charset(UTF16)] */
2383 const char *environment;/* [unique,charset(UTF16)] */
2385 DATA_BLOB *buffer;/* [unique] */
2390 DATA_BLOB *info;/* [unique] */
2391 uint32_t *needed;/* [ref] */
2392 uint32_t *count;/* [ref] */
2399 struct __spoolss_EnumPrinterDrivers {
2406 union spoolss_DriverInfo *info;/* [switch_is(level)] */
2412 struct spoolss_EnumPrinterDrivers {
2414 const char *server;/* [unique,charset(UTF16)] */
2415 const char *environment;/* [unique,charset(UTF16)] */
2417 DATA_BLOB *buffer;/* [unique] */
2422 uint32_t *count;/* [ref] */
2423 union spoolss_DriverInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2424 uint32_t *needed;/* [ref] */
2431 struct spoolss_GetPrinterDriver {
2433 struct policy_handle *handle;/* [ref] */
2434 const char *architecture;/* [unique,charset(UTF16)] */
2436 DATA_BLOB *buffer;/* [unique] */
2441 union spoolss_DriverInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2442 uint32_t *needed;/* [ref] */
2449 struct spoolss_GetPrinterDriverDirectory {
2451 const char *server;/* [unique,charset(UTF16)] */
2452 const char *environment;/* [unique,charset(UTF16)] */
2454 DATA_BLOB *buffer;/* [unique] */
2459 union spoolss_DriverDirectoryInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2460 uint32_t *needed;/* [ref] */
2467 struct spoolss_DeletePrinterDriver {
2469 const char *server;/* [unique,charset(UTF16)] */
2470 const char *architecture;/* [charset(UTF16)] */
2471 const char *driver;/* [charset(UTF16)] */
2481 struct spoolss_AddPrintProcessor {
2483 const char *server;/* [unique,charset(UTF16)] */
2484 const char *architecture;/* [charset(UTF16)] */
2485 const char *path_name;/* [charset(UTF16)] */
2486 const char *print_processor_name;/* [charset(UTF16)] */
2496 struct _spoolss_EnumPrintProcessors {
2498 const char *servername;/* [unique,charset(UTF16)] */
2499 const char *environment;/* [unique,charset(UTF16)] */
2501 DATA_BLOB *buffer;/* [unique] */
2506 DATA_BLOB *info;/* [unique] */
2507 uint32_t *needed;/* [ref] */
2508 uint32_t *count;/* [ref] */
2515 struct __spoolss_EnumPrintProcessors {
2522 union spoolss_PrintProcessorInfo *info;/* [switch_is(level)] */
2528 struct spoolss_EnumPrintProcessors {
2530 const char *servername;/* [unique,charset(UTF16)] */
2531 const char *environment;/* [unique,charset(UTF16)] */
2533 DATA_BLOB *buffer;/* [unique] */
2538 uint32_t *count;/* [ref] */
2539 union spoolss_PrintProcessorInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2540 uint32_t *needed;/* [ref] */
2547 struct spoolss_GetPrintProcessorDirectory {
2549 const char *server;/* [unique,charset(UTF16)] */
2550 const char *environment;/* [unique,charset(UTF16)] */
2552 DATA_BLOB *buffer;/* [unique] */
2557 union spoolss_PrintProcessorDirectoryInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2558 uint32_t *needed;/* [ref] */
2565 struct spoolss_StartDocPrinter {
2567 struct policy_handle *handle;/* [ref] */
2569 union spoolss_DocumentInfo info;/* [switch_is(level)] */
2573 uint32_t *job_id;/* [ref] */
2580 struct spoolss_StartPagePrinter {
2582 struct policy_handle *handle;/* [ref] */
2592 struct spoolss_WritePrinter {
2594 struct policy_handle *handle;/* [ref] */
2596 uint32_t _data_size;/* [value(r->in.data.length)] */
2600 uint32_t *num_written;/* [ref] */
2607 struct spoolss_EndPagePrinter {
2609 struct policy_handle *handle;/* [ref] */
2619 struct spoolss_AbortPrinter {
2621 struct policy_handle *handle;/* [ref] */
2631 struct spoolss_ReadPrinter {
2633 struct policy_handle *handle;/* [ref] */
2638 uint8_t *data;/* [ref,size_is(data_size)] */
2639 uint32_t *_data_size;/* [ref] */
2646 struct spoolss_EndDocPrinter {
2648 struct policy_handle *handle;/* [ref] */
2658 struct spoolss_AddJob {
2660 struct policy_handle *handle;/* [ref] */
2663 uint8_t *buffer;/* [unique,size_is(offered)] */
2667 uint32_t *needed;/* [ref] */
2668 uint8_t *buffer;/* [unique,size_is(offered)] */
2675 struct spoolss_ScheduleJob {
2677 struct policy_handle *handle;/* [ref] */
2688 struct _spoolss_GetPrinterData {
2690 struct policy_handle *handle;/* [ref] */
2691 const char *value_name;/* [charset(UTF16)] */
2696 enum winreg_Type *type;/* [ref] */
2697 DATA_BLOB *data;/* [ref] */
2698 uint32_t *needed;/* [ref] */
2705 struct __spoolss_GetPrinterData {
2707 enum winreg_Type type;
2711 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
2717 struct spoolss_GetPrinterData {
2719 struct policy_handle *handle;/* [ref] */
2720 const char *value_name;/* [charset(UTF16)] */
2725 enum winreg_Type *type;/* [ref] */
2726 union spoolss_PrinterData *data;/* [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */
2727 uint32_t *needed;/* [ref] */
2734 struct _spoolss_SetPrinterData {
2736 struct policy_handle *handle;/* [ref] */
2737 const char *value_name;/* [charset(UTF16)] */
2738 enum winreg_Type type;
2750 struct __spoolss_SetPrinterData {
2752 enum winreg_Type type;
2756 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
2762 struct spoolss_SetPrinterData {
2764 struct policy_handle *handle;/* [ref] */
2765 const char *value_name;/* [charset(UTF16)] */
2766 enum winreg_Type type;
2767 union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
2768 uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
2778 struct spoolss_WaitForPrinterChange {
2786 struct spoolss_ClosePrinter {
2788 struct policy_handle *handle;/* [ref] */
2792 struct policy_handle *handle;/* [ref] */
2799 struct spoolss_AddForm {
2801 struct policy_handle *handle;/* [ref] */
2803 union spoolss_AddFormInfo info;/* [switch_is(level)] */
2813 struct spoolss_DeleteForm {
2815 struct policy_handle *handle;/* [ref] */
2816 const char *form_name;/* [charset(UTF16)] */
2826 struct spoolss_GetForm {
2828 struct policy_handle *handle;/* [ref] */
2829 const char *form_name;/* [charset(UTF16)] */
2831 DATA_BLOB *buffer;/* [unique] */
2836 union spoolss_FormInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
2837 uint32_t *needed;/* [ref] */
2844 struct spoolss_SetForm {
2846 struct policy_handle *handle;/* [ref] */
2847 const char *form_name;/* [charset(UTF16)] */
2849 union spoolss_AddFormInfo info;/* [switch_is(level)] */
2859 struct _spoolss_EnumForms {
2861 struct policy_handle *handle;/* [ref] */
2863 DATA_BLOB *buffer;/* [unique] */
2868 DATA_BLOB *info;/* [unique] */
2869 uint32_t *needed;/* [ref] */
2870 uint32_t *count;/* [ref] */
2877 struct __spoolss_EnumForms {
2884 union spoolss_FormInfo *info;/* [switch_is(level)] */
2890 struct spoolss_EnumForms {
2892 struct policy_handle *handle;/* [ref] */
2894 DATA_BLOB *buffer;/* [unique] */
2899 uint32_t *count;/* [ref] */
2900 union spoolss_FormInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2901 uint32_t *needed;/* [ref] */
2908 struct _spoolss_EnumPorts {
2910 const char *servername;/* [unique,charset(UTF16)] */
2912 DATA_BLOB *buffer;/* [unique] */
2917 DATA_BLOB *info;/* [unique] */
2918 uint32_t *needed;/* [ref] */
2919 uint32_t *count;/* [ref] */
2926 struct __spoolss_EnumPorts {
2933 union spoolss_PortInfo *info;/* [switch_is(level)] */
2939 struct spoolss_EnumPorts {
2941 const char *servername;/* [unique,charset(UTF16)] */
2943 DATA_BLOB *buffer;/* [unique] */
2948 uint32_t *count;/* [ref] */
2949 union spoolss_PortInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2950 uint32_t *needed;/* [ref] */
2957 struct _spoolss_EnumMonitors {
2959 const char *servername;/* [unique,charset(UTF16)] */
2961 DATA_BLOB *buffer;/* [unique] */
2966 DATA_BLOB *info;/* [unique] */
2967 uint32_t *needed;/* [ref] */
2968 uint32_t *count;/* [ref] */
2975 struct __spoolss_EnumMonitors {
2982 union spoolss_MonitorInfo *info;/* [switch_is(level)] */
2988 struct spoolss_EnumMonitors {
2990 const char *servername;/* [unique,charset(UTF16)] */
2992 DATA_BLOB *buffer;/* [unique] */
2997 uint32_t *count;/* [ref] */
2998 union spoolss_MonitorInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
2999 uint32_t *needed;/* [ref] */
3006 struct spoolss_AddPort {
3008 const char *server_name;/* [unique,charset(UTF16)] */
3010 const char *monitor_name;/* [charset(UTF16)] */
3020 struct spoolss_ConfigurePort {
3028 struct spoolss_DeletePort {
3036 struct spoolss_CreatePrinterIC {
3038 struct policy_handle *handle;/* [ref] */
3039 struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
3043 struct policy_handle *gdi_handle;/* [ref] */
3050 struct spoolss_PlayGDIScriptOnPrinterIC {
3058 struct spoolss_DeletePrinterIC {
3060 struct policy_handle *gdi_handle;/* [ref] */
3064 struct policy_handle *gdi_handle;/* [ref] */
3071 struct spoolss_AddPrinterConnection {
3079 struct spoolss_DeletePrinterConnection {
3087 struct spoolss_PrinterMessageBox {
3095 struct spoolss_AddMonitor {
3103 struct spoolss_DeleteMonitor {
3111 struct spoolss_DeletePrintProcessor {
3119 struct spoolss_AddPrintProvidor {
3127 struct spoolss_DeletePrintProvidor {
3135 struct _spoolss_EnumPrintProcDataTypes {
3137 const char *servername;/* [unique,charset(UTF16)] */
3138 const char *print_processor_name;/* [unique,charset(UTF16)] */
3140 DATA_BLOB *buffer;/* [unique] */
3145 DATA_BLOB *info;/* [unique] */
3146 uint32_t *needed;/* [ref] */
3147 uint32_t *count;/* [ref] */
3154 struct __spoolss_EnumPrintProcDataTypes {
3161 union spoolss_PrintProcDataTypesInfo *info;/* [switch_is(level)] */
3167 struct spoolss_EnumPrintProcDataTypes {
3169 const char *servername;/* [unique,charset(UTF16)] */
3170 const char *print_processor_name;/* [unique,charset(UTF16)] */
3172 DATA_BLOB *buffer;/* [unique] */
3177 uint32_t *count;/* [ref] */
3178 union spoolss_PrintProcDataTypesInfo **info;/* [ref,switch_is(level),size_is(,*count)] */
3179 uint32_t *needed;/* [ref] */
3186 struct spoolss_ResetPrinter {
3188 struct policy_handle *handle;/* [ref] */
3189 const char *data_type;/* [unique,charset(UTF16)] */
3190 struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
3200 struct spoolss_GetPrinterDriver2 {
3202 struct policy_handle *handle;/* [ref] */
3203 const char *architecture;/* [unique,charset(UTF16)] */
3205 DATA_BLOB *buffer;/* [unique] */
3207 uint32_t client_major_version;
3208 uint32_t client_minor_version;
3212 union spoolss_DriverInfo *info;/* [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */
3213 uint32_t *needed;/* [ref] */
3214 uint32_t *server_major_version;/* [ref] */
3215 uint32_t *server_minor_version;/* [ref] */
3222 struct spoolss_FindFirstPrinterChangeNotification {
3230 struct spoolss_FindNextPrinterChangeNotification {
3238 struct spoolss_FindClosePrinterNotify {
3240 struct policy_handle *handle;/* [ref] */
3250 struct spoolss_RouterFindFirstPrinterChangeNotificationOld {
3258 struct spoolss_ReplyOpenPrinter {
3260 const char *server_name;/* [charset(UTF16)] */
3261 uint32_t printer_local;
3262 enum winreg_Type type;
3263 uint32_t bufsize;/* [range(0,512)] */
3264 uint8_t *buffer;/* [unique,size_is(bufsize)] */
3268 struct policy_handle *handle;/* [ref] */
3275 struct spoolss_RouterReplyPrinter {
3277 struct policy_handle *handle;/* [ref] */
3279 uint32_t bufsize;/* [range(0,512)] */
3280 uint8_t *buffer;/* [unique,size_is(bufsize)] */
3290 struct spoolss_ReplyClosePrinter {
3292 struct policy_handle *handle;/* [ref] */
3296 struct policy_handle *handle;/* [ref] */
3303 struct spoolss_AddPortEx {
3311 struct spoolss_RouterFindFirstPrinterChangeNotification {
3319 struct spoolss_SpoolerInit {
3327 struct spoolss_ResetPrinterEx {
3335 struct spoolss_RemoteFindFirstPrinterChangeNotifyEx {
3337 struct policy_handle *handle;/* [ref] */
3340 const char *local_machine;/* [unique,charset(UTF16)] */
3341 uint32_t printer_local;
3342 struct spoolss_NotifyOption *notify_options;/* [unique] */
3352 struct spoolss_RouterReplyPrinterEx {
3354 struct policy_handle *handle;/* [ref] */
3357 uint32_t reply_type;
3358 union spoolss_ReplyPrinterInfo info;/* [switch_is(reply_type)] */
3362 uint32_t *reply_result;/* [ref] */
3369 struct spoolss_RouterRefreshPrinterChangeNotify {
3371 struct policy_handle *handle;/* [ref] */
3372 uint32_t change_low;
3373 struct spoolss_NotifyOption *options;/* [unique] */
3377 struct spoolss_NotifyInfo **info;/* [ref] */
3392 struct spoolss_OpenPrinterEx {
3394 const char *printername;/* [unique,charset(UTF16)] */
3395 const char *datatype;/* [unique,charset(UTF16)] */
3396 struct spoolss_DevmodeContainer devmode_ctr;
3397 uint32_t access_mask;
3399 union spoolss_UserLevel userlevel;/* [switch_is(level)] */
3403 struct policy_handle *handle;/* [ref] */
3410 struct spoolss_AddPrinterEx {
3412 const char *server;/* [unique,charset(UTF16)] */
3413 struct spoolss_SetPrinterInfoCtr *info_ctr;/* [ref] */
3414 struct spoolss_DevmodeContainer *devmode_ctr;/* [ref] */
3415 struct sec_desc_buf *secdesc_ctr;/* [ref] */
3416 struct spoolss_UserLevelCtr *userlevel_ctr;/* [ref] */
3420 struct policy_handle *handle;/* [ref] */
3435 struct spoolss_EnumPrinterData {
3437 struct policy_handle *handle;/* [ref] */
3438 uint32_t enum_index;
3439 uint32_t value_offered;
3440 uint32_t data_offered;
3444 const char *value_name;/* [charset(UTF16),size_is(value_offered/2)] */
3445 uint32_t *value_needed;/* [ref] */
3446 enum winreg_Type *type;/* [ref] */
3447 uint8_t *data;/* [ref,flag(LIBNDR_PRINT_ARRAY_HEX),size_is(data_offered)] */
3448 uint32_t *data_needed;/* [ref] */
3455 struct spoolss_DeletePrinterData {
3457 struct policy_handle *handle;/* [ref] */
3458 const char *value_name;/* [charset(UTF16)] */
3492 struct _spoolss_SetPrinterDataEx {
3494 struct policy_handle *handle;/* [ref] */
3495 const char *key_name;/* [charset(UTF16)] */
3496 const char *value_name;/* [charset(UTF16)] */
3497 enum winreg_Type type;
3509 struct __spoolss_SetPrinterDataEx {
3511 enum winreg_Type type;
3515 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
3521 struct spoolss_SetPrinterDataEx {
3523 struct policy_handle *handle;/* [ref] */
3524 const char *key_name;/* [charset(UTF16)] */
3525 const char *value_name;/* [charset(UTF16)] */
3526 enum winreg_Type type;
3527 union spoolss_PrinterData data;/* [subcontext(4),switch_is(type)] */
3528 uint32_t _offered;/* [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */
3538 struct _spoolss_GetPrinterDataEx {
3540 struct policy_handle *handle;/* [ref] */
3541 const char *key_name;/* [charset(UTF16)] */
3542 const char *value_name;/* [charset(UTF16)] */
3547 enum winreg_Type *type;/* [ref] */
3548 DATA_BLOB *data;/* [ref] */
3549 uint32_t *needed;/* [ref] */
3556 struct __spoolss_GetPrinterDataEx {
3558 enum winreg_Type type;
3562 union spoolss_PrinterData *data;/* [ref,switch_is(type)] */
3568 struct spoolss_GetPrinterDataEx {
3570 struct policy_handle *handle;/* [ref] */
3571 const char *key_name;/* [charset(UTF16)] */
3572 const char *value_name;/* [charset(UTF16)] */
3577 enum winreg_Type *type;/* [ref] */
3578 union spoolss_PrinterData *data;/* [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */
3579 uint32_t *needed;/* [ref] */
3586 struct _spoolss_EnumPrinterDataEx {
3588 struct policy_handle *handle;/* [ref] */
3589 const char *key_name;/* [charset(UTF16)] */
3595 uint32_t *needed;/* [ref] */
3596 uint32_t *count;/* [ref] */
3603 struct __spoolss_EnumPrinterDataEx {
3609 struct spoolss_PrinterEnumValues *info;
3615 struct spoolss_EnumPrinterDataEx {
3617 struct policy_handle *handle;/* [ref] */
3618 const char *key_name;/* [charset(UTF16)] */
3623 uint32_t *count;/* [ref] */
3624 struct spoolss_PrinterEnumValues **info;/* [ref,size_is(,*count)] */
3625 uint32_t *needed;/* [ref] */
3632 struct spoolss_EnumPrinterKey {
3634 struct policy_handle *handle;/* [ref] */
3635 const char *key_name;/* [charset(UTF16)] */
3640 uint32_t *_ndr_size;/* [ref] */
3641 union spoolss_KeyNames *key_buffer;/* [subcontext_size(*_ndr_size*2),ref,subcontext(0),switch_is(*_ndr_size)] */
3642 uint32_t *needed;/* [ref] */
3649 struct spoolss_DeletePrinterDataEx {
3651 struct policy_handle *handle;/* [ref] */
3652 const char *key_name;/* [charset(UTF16)] */
3653 const char *value_name;/* [charset(UTF16)] */
3663 struct spoolss_DeletePrinterKey {
3665 struct policy_handle *handle;/* [ref] */
3666 const char *key_name;/* [charset(UTF16)] */
3684 struct spoolss_DeletePrinterDriverEx {
3686 const char *server;/* [unique,charset(UTF16)] */
3687 const char *architecture;/* [charset(UTF16)] */
3688 const char *driver;/* [charset(UTF16)] */
3689 uint32_t delete_flags;
3724 struct spoolss_XcvData {
3726 struct policy_handle *handle;/* [ref] */
3727 const char *function_name;/* [charset(UTF16)] */
3729 uint32_t _in_data_length;/* [value(r->in.in_data.length)] */
3730 uint32_t out_data_size;
3731 uint32_t *status_code;/* [ref] */
3735 uint8_t *out_data;/* [ref,size_is(out_data_size)] */
3736 uint32_t *needed;/* [ref] */
3737 uint32_t *status_code;/* [ref] */
3744 struct spoolss_AddPrinterDriverEx {
3746 const char *servername;/* [unique,charset(UTF16)] */
3747 struct spoolss_AddDriverInfoCtr *info_ctr;/* [ref] */
3854 struct spoolss_GetCorePrinterDrivers {
3856 const char *servername;/* [unique,charset(UTF16)] */
3857 const char *architecture;/* [ref,charset(UTF16)] */
3858 uint32_t core_driver_size;
3859 const char *core_driver_dependencies;/* [ref,charset(UTF16),size_is(core_driver_size)] */
3860 uint32_t core_printer_driver_count;
3864 struct spoolss_CorePrinterDriver *core_printer_drivers;/* [ref,size_is(core_printer_driver_count)] */
3879 struct spoolss_GetPrinterDriverPackagePath {
3881 const char *servername;/* [unique,charset(UTF16)] */
3882 const char *architecture;/* [ref,charset(UTF16)] */
3883 const char *language;/* [unique,charset(UTF16)] */
3884 const char *package_id;/* [ref,charset(UTF16)] */
3885 uint32_t driver_package_cab_size;
3886 const char *driver_package_cab;/* [unique,charset(UTF16),size_is(driver_package_cab_size)] */
3890 uint32_t *required;/* [ref] */
3891 const char *driver_package_cab;/* [unique,charset(UTF16),size_is(driver_package_cab_size)] */
3937 #endif /* _HEADER_spoolss */