2b557d25d2a87da23ba1f3f5234d5324d54df628
[gd/samba/.git] / source4 / librpc / idl / spoolss.idl
1 #include "idl_types.h"
2
3 /*
4   spoolss interface definitions
5 */
6
7 [ uuid("12345678-1234-abcd-ef00-0123456789ab"),
8   version(1.0),
9   endpoint("ncacn_np:[\\pipe\\spoolss]"),
10   pointer_default(unique),
11   pointer_default_top(unique),
12   helpstring("Spooler SubSystem"),
13   depends(security)
14 ] interface spoolss
15 {
16         typedef struct {
17                 uint16 year;
18                 uint16 month;
19                 uint16 day_of_week;
20                 uint16 day;
21                 uint16 hour;
22                 uint16 minute;
23                 uint16 second;
24                 uint16 millisecond;
25         } spoolss_Time;
26
27         typedef struct {
28                 [relative] nstring *printername;
29                 [relative] nstring *servername;
30                 uint32 cjobs;
31                 uint32 total_jobs;
32                 uint32 total_bytes;
33                 spoolss_Time time;              
34                 uint32 global_counter;
35                 uint32 total_pages;
36                 uint32 version;
37                 uint32 unknown10;
38                 uint32 unknown11;
39                 uint32 unknown12;
40                 uint32 session_counter;
41                 uint32 unknown14;
42                 uint32 printer_errors;
43                 uint32 unknown16;
44                 uint32 unknown17;
45                 uint32 unknown18;
46                 uint32 unknown19;
47                 uint32 change_id;
48                 uint32 unknown21;
49                 uint32 status;
50                 uint32 unknown23;
51                 uint32 c_setprinter;
52                 uint16 unknown25;
53                 uint16 unknown26;
54                 uint32 unknown27;
55                 uint32 unknown28;
56                 uint32 unknown29;
57         } spoolss_PrinterInfo0;
58
59         typedef struct {
60                 string32 devicename;
61                 uint16 specversion;
62                 uint16 driverversion;
63                 uint16 size;
64                 [value(r->driverextra_data.length)] uint16 __driverextra_length;
65                 uint32 fields;
66                 uint16 orientation;
67                 uint16 papersize;
68                 uint16 paperlength;
69                 uint16 paperwidth;
70                 uint16 scale;
71                 uint16 copies;
72                 uint16 defaultsource;
73                 uint16 printquality;
74                 uint16 color;
75                 uint16 duplex;
76                 uint16 yresolution;
77                 uint16 ttoption;
78                 uint16 collate;
79                 string32 formname;
80                 uint16 logpixels;
81                 uint32 bitsperpel;
82                 uint32 pelswidth;
83                 uint32 pelsheight;
84                 uint32 displayflags;
85                 uint32 displayfrequency;
86                 uint32 icmmethod;
87                 uint32 icmintent;
88                 uint32 mediatype;
89                 uint32 dithertype;
90                 uint32 reserved1;
91                 uint32 reserved2;
92                 uint32 panningwidth;
93                 uint32 panningheight;
94                 [subcontext_size(__driverextra_length),subcontext(0),flag(NDR_REMAINING)] DATA_BLOB driverextra_data;
95         } spoolss_DeviceMode;
96
97         typedef [public] bitmap {
98                 PRINTER_ENUM_DEFAULT     = 0x00000001,
99                 PRINTER_ENUM_LOCAL       = 0x00000002,
100                 PRINTER_ENUM_CONNECTIONS = 0x00000004,
101                 PRINTER_ENUM_FAVORITE    = 0x00000004,
102                 PRINTER_ENUM_NAME        = 0x00000008,
103                 PRINTER_ENUM_REMOTE      = 0x00000010,
104                 PRINTER_ENUM_SHARED      = 0x00000020,
105                 PRINTER_ENUM_NETWORK     = 0x00000040,
106                 PRINTER_ENUM_EXPAND      = 0x00004000,
107                 PRINTER_ENUM_CONTAINER   = 0x00008000,
108                 PRINTER_ENUM_ICON1       = 0x00010000,
109                 PRINTER_ENUM_ICON2       = 0x00020000,
110                 PRINTER_ENUM_ICON3       = 0x00040000,
111                 PRINTER_ENUM_ICON4       = 0x00080000,
112                 PRINTER_ENUM_ICON5       = 0x00100000,
113                 PRINTER_ENUM_ICON6       = 0x00200000,
114                 PRINTER_ENUM_ICON7       = 0x00400000,
115                 PRINTER_ENUM_ICON8       = 0x00800000,
116                 PRINTER_ENUM_HIDE        = 0x01000000
117         } spoolss_EnumPrinterFlags;
118
119         typedef struct {
120                 spoolss_EnumPrinterFlags flags;
121                 [relative] nstring *name;
122                 [relative] nstring *description;
123                 [relative] nstring *comment;
124         } spoolss_PrinterInfo1;
125
126         typedef bitmap {
127                 PRINTER_ATTRIBUTE_QUEUED                = 0x00000001,
128                 PRINTER_ATTRIBUTE_DIRECT                = 0x00000002,
129                 PRINTER_ATTRIBUTE_DEFAULT               = 0x00000004,
130                 PRINTER_ATTRIBUTE_SHARED                = 0x00000008,
131                 PRINTER_ATTRIBUTE_NETWORK               = 0x00000010,
132                 PRINTER_ATTRIBUTE_HIDDEN                = 0x00000020,
133                 PRINTER_ATTRIBUTE_LOCAL                 = 0x00000040,
134                 PRINTER_ATTRIBUTE_ENABLE_DEVQ           = 0x00000080,
135                 PRINTER_ATTRIBUTE_KEEPPRINTEDJOBS       = 0x00000100,
136                 PRINTER_ATTRIBUTE_DO_COMPLETE_FIRST     = 0x00000200,
137                 PRINTER_ATTRIBUTE_WORK_OFFLINE          = 0x00000400,
138                 PRINTER_ATTRIBUTE_ENABLE_BIDI           = 0x00000800,
139                 PRINTER_ATTRIBUTE_RAW_ONLY              = 0x00001000,
140                 PRINTER_ATTRIBUTE_PUBLISHED             = 0x00002000,
141                 PRINTER_ATTRIBUTE_FAX                   = 0x00004000,
142                 PRINTER_ATTRIBUTE_TS                    = 0x00008000
143         } spoolss_PrinterAttributes;
144
145         typedef bitmap {
146                 PRINTER_STATUS_PAUSED           = 0x00000001,
147                 PRINTER_STATUS_ERROR            = 0x00000002,
148                 PRINTER_STATUS_PENDING_DELETION = 0x00000004,
149                 PRINTER_STATUS_PAPER_JAM        = 0x00000008,
150                 PRINTER_STATUS_PAPER_OUT        = 0x00000010,
151                 PRINTER_STATUS_MANUAL_FEED      = 0x00000020,
152                 PRINTER_STATUS_PAPER_PROBLEM    = 0x00000040,
153                 PRINTER_STATUS_OFFLINE          = 0x00000080,
154                 PRINTER_STATUS_IO_ACTIVE        = 0x00000100,
155                 PRINTER_STATUS_BUSY             = 0x00000200,
156                 PRINTER_STATUS_PRINTING         = 0x00000400,
157                 PRINTER_STATUS_OUTPUT_BIN_FULL  = 0x00000800,
158                 PRINTER_STATUS_NOT_AVAILABLE    = 0x00001000,
159                 PRINTER_STATUS_WAITING          = 0x00002000,
160                 PRINTER_STATUS_PROCESSING       = 0x00004000,
161                 PRINTER_STATUS_INITIALIZING     = 0x00008000,
162                 PRINTER_STATUS_WARMING_UP       = 0x00010000,
163                 PRINTER_STATUS_TONER_LOW        = 0x00020000,
164                 PRINTER_STATUS_NO_TONER         = 0x00040000,
165                 PRINTER_STATUS_PAGE_PUNT        = 0x00080000,
166                 PRINTER_STATUS_USER_INTERVENTION= 0x00100000,
167                 PRINTER_STATUS_OUT_OF_MEMORY    = 0x00200000,
168                 PRINTER_STATUS_DOOR_OPEN        = 0x00400000,
169                 PRINTER_STATUS_SERVER_UNKNOWN   = 0x00800000,
170                 PRINTER_STATUS_POWER_SAVE       = 0x01000000
171         } spoolss_PrinterStatus;
172
173         typedef struct {
174                 [relative] nstring *servername;
175                 [relative] nstring *printername;
176                 [relative] nstring *sharename;
177                 [relative] nstring *portname;
178                 [relative] nstring *drivername;
179                 [relative] nstring *comment;
180                 [relative] nstring *location;
181                 [relative,subcontext(0)] spoolss_DeviceMode *devmode;
182                 [relative] nstring *sepfile;
183                 [relative] nstring *printprocessor;
184                 [relative] nstring *datatype;
185                 [relative] nstring *parameters;
186                 [relative,subcontext(0)] security_descriptor *secdesc;
187                 spoolss_PrinterAttributes attributes;
188                 uint32 priority;
189                 uint32 defaultpriority;
190                 uint32 starttime;
191                 uint32 untiltime;
192                 spoolss_PrinterStatus status;
193                 uint32 cjobs;
194                 uint32 averageppm;
195         } spoolss_PrinterInfo2;
196
197         typedef struct {
198                 [relative,subcontext(0)] security_descriptor *secdesc;
199         } spoolss_PrinterInfo3;
200
201         typedef struct {
202                 [relative] nstring *printername;
203                 [relative] nstring *servername;
204                 spoolss_PrinterAttributes attributes;
205         } spoolss_PrinterInfo4;
206
207         typedef struct {
208                 [relative] nstring *printername;
209                 [relative] nstring *portname;
210                 spoolss_PrinterAttributes attributes;
211                 uint32 device_not_selected_timeout;
212                 uint32 transmission_retry_timeout;
213         } spoolss_PrinterInfo5;
214
215         typedef struct {
216                 spoolss_PrinterStatus status;
217         } spoolss_PrinterInfo6;
218
219         typedef bitmap {
220                 DSPRINT_PUBLISH         = 0x00000001,
221                 DSPRINT_UPDATE          = 0x00000002,
222                 DSPRINT_UNPUBLISH       = 0x00000004,
223                 DSPRINT_REPUBLISH       = 0x00000008,
224                 DSPRINT_PENDING         = 0x80000000
225         } spoolss_DsPrintAction;
226
227         typedef struct {
228                 [relative] nstring *guid; /* text form of printer guid */
229                 spoolss_DsPrintAction action;
230         } spoolss_PrinterInfo7;
231
232         typedef struct {
233                 [relative,subcontext(0)] spoolss_DeviceMode *devmode;
234         } spoolss_DeviceModeInfo;
235
236         typedef [nodiscriminant,relative_base,public] union {
237                 [case(0)] spoolss_PrinterInfo0 info0;
238                 [case(1)] spoolss_PrinterInfo1 info1;
239                 [case(2)] spoolss_PrinterInfo2 info2;
240                 [case(3)] spoolss_PrinterInfo3 info3;
241                 [case(4)] spoolss_PrinterInfo4 info4;
242                 [case(5)] spoolss_PrinterInfo5 info5;
243                 [case(6)] spoolss_PrinterInfo6 info6;
244                 [case(7)] spoolss_PrinterInfo7 info7;
245                 [case(8)] spoolss_DeviceModeInfo info8;
246                 [case(9)] spoolss_DeviceModeInfo info9;
247                 [default];
248         } spoolss_PrinterInfo;
249
250         /******************/
251         /* Function: 0x00 */
252         /* we are using this as internal parsing code */
253         [public,noopnum,noprint] WERROR _spoolss_EnumPrinters(
254                 [in] spoolss_EnumPrinterFlags flags,
255                 [in] unistr *server,
256                 [in] uint32 level,
257                 [in] DATA_BLOB *buffer,
258                 [in] uint32 offered,
259                 [out] DATA_BLOB *info,
260                 [out] uint32 needed,
261                 [out] uint32 count
262         );
263         [public,noopnum,noprint] void __spoolss_EnumPrinters(
264                 [in] uint32 level,
265                 [in] uint32 count,
266                 [out,switch_is(level)] spoolss_PrinterInfo info[count]
267         );
268         [nopull,nopush] WERROR spoolss_EnumPrinters(
269                 [in] spoolss_EnumPrinterFlags flags,
270                 [in] unistr *server,
271                 [in] uint32 level,
272                 [in] DATA_BLOB *buffer,
273                 [in] uint32 offered,
274                 /* what we have here is a subcontext containing an array of no discriminant unions
275                  * and the array has no size in front
276                  */
277                 [out,switch_is(level),size_is(count)] spoolss_PrinterInfo *info,
278                 [out] uint32 needed,
279                 [out] uint32 count
280         );
281
282         /******************/
283         /* Function: 0x01 */
284         typedef struct {
285                 uint32 size;
286                 [subcontext(4),subcontext_size(size)] spoolss_DeviceMode *devmode;
287         } spoolss_DevmodeContainer;
288
289         WERROR spoolss_OpenPrinter(
290                 [in] unistr *printername,
291                 [in] unistr *datatype,
292                 [in] spoolss_DevmodeContainer devmode_ctr,
293                 [in] uint32 access_mask,
294                 [out,ref] policy_handle *handle
295         );
296
297         /******************/
298         /* Function: 0x02 */
299         typedef struct {
300                 uint32 job_id;
301                 [relative] nstring *printer_name;
302                 [relative] nstring *server_name;
303                 [relative] nstring *user_name;
304                 [relative] nstring *document_name;
305                 [relative] nstring *data_type;
306                 [relative] nstring *text_status;
307                 uint32 status;
308                 uint32 priority;
309                 uint32 position;
310                 uint32 total_pages;
311                 uint32 pages_printed;
312                 spoolss_Time time;
313         } spoolss_JobInfo1;
314
315         typedef [nodiscriminant,relative_base,public] union {
316                 [case(1)] spoolss_JobInfo1 info1;
317                 [case(2)]; /* TODO */
318                 [case(3)]; /* TODO */
319                 [default];
320         } spoolss_JobInfo;
321
322         typedef struct {
323                 uint32 level;
324                 [switch_is(level)] spoolss_JobInfo info;
325         } spoolss_JobInfoContainer;
326
327         typedef [v1_enum] enum {
328                 SPOOLSS_JOB_CONTROL_PAUSE               = 1,
329                 SPOOLSS_JOB_CONTROL_RESUME              = 2,
330                 SPOOLSS_JOB_CONTROL_CANCEL              = 3,
331                 SPOOLSS_JOB_CONTROL_RESTART             = 4,
332                 SPOOLSS_JOB_CONTROL_DELETE              = 5,
333                 SPOOLSS_JOB_CONTROL_SEND_TO_PRINTER     = 6,
334                 SPOOLSS_JOB_CONTROL_LAST_PAGE_EJECTED   = 7
335         } spoolss_JobControl;
336
337         WERROR spoolss_SetJob(
338                 [in,ref] policy_handle *handle,
339                 [in] uint32 job_id,
340                 [in] spoolss_JobInfoContainer *ctr,
341                 [in] spoolss_JobControl command
342         );
343
344         /******************/
345         /* Function: 0x03 */
346         WERROR spoolss_GetJob(
347                 [in,ref] policy_handle *handle,
348                 [in]     uint32 job_id,
349                 [in]     uint32 level,
350                 [in]     DATA_BLOB *buffer,
351                 [in]     uint32 offered,
352                 [out,subcontext(4),switch_is(level)] spoolss_JobInfo *info,
353                 [out]    uint32 needed
354         );
355
356         /******************/
357         /* Function: 0x04 */
358         [public,noopnum,noprint] WERROR _spoolss_EnumJobs(
359                 [in,ref] policy_handle *handle,
360                 [in]     uint32 firstjob,
361                 [in]     uint32 numjobs,
362                 [in]     uint32 level,
363                 [in]     DATA_BLOB *buffer,
364                 [in]     uint32 offered,
365                 [out]    DATA_BLOB *info,
366                 [out]    uint32 needed,
367                 [out]    uint32 count
368         );
369         [public,noopnum,noprint] void __spoolss_EnumJobs(
370                 [in] uint32 level,
371                 [in] uint32 count,
372                 [out,switch_is(level)] spoolss_JobInfo info[count]
373         );
374         [nopull,nopush] WERROR spoolss_EnumJobs(
375                 [in,ref] policy_handle *handle,
376                 [in]     uint32 firstjob,
377                 [in]     uint32 numjobs,
378                 [in]     uint32 level,
379                 [in]     DATA_BLOB *buffer,
380                 [in]     uint32 offered,
381                 [out,switch_is(level),size_is(count)] spoolss_JobInfo *info,
382                 [out]    uint32 needed,
383                 [out]    uint32 count
384         );
385
386         /******************/
387         /* Function: 0x05 */
388         WERROR spoolss_AddPrinter(
389                 /* This function is not implemented in Samba 3 as no
390                    clients have been observed using it. */
391         );
392
393         /******************/
394         /* Function: 0x06 */
395         WERROR spoolss_DeletePrinter(
396         );
397
398         /******************/
399         /* Function: 0x07 */
400         typedef [v1_enum] enum {
401                 SPOOLSS_PRINTER_CONTROL_UNPAUSE    = 0,
402                 SPOOLSS_PRINTER_CONTROL_PAUSE      = 1,
403                 SPOOLSS_PRINTER_CONTROL_RESUME     = 2,
404                 SPOOLSS_PRINTER_CONTROL_PURGE      = 3,
405                 SPOOLSS_PRINTER_CONTROL_SET_STATUS = 4
406         } spoolss_PrinterControl;
407
408         typedef [switch_type(uint32)] union {
409                 [case(0)] spoolss_PrinterInfo0 *info0;
410                 [case(1)] spoolss_PrinterInfo1 *info1;
411                 [case(2)] spoolss_PrinterInfo2 *info2;
412                 [case(3)] spoolss_PrinterInfo3 *info3;
413                 [case(4)] spoolss_PrinterInfo4 *info4;
414                 [case(5)] spoolss_PrinterInfo5 *info5;
415                 [case(6)] spoolss_PrinterInfo6 *info6;
416                 [case(7)] spoolss_PrinterInfo7 *info7;
417                 [case(8)] spoolss_DeviceModeInfo *info8;
418                 [case(9)] spoolss_DeviceModeInfo *info9;
419                 [default];
420         } spoolss_SetPrinterInfo;
421
422         typedef struct {
423                 uint32 size;
424                 [subcontext(4),subcontext_size(size)] security_descriptor *sd;
425         } spoolss_SecDescContainer;
426
427         WERROR spoolss_SetPrinter(
428                 [in,ref] policy_handle *handle,
429                 [in] uint32 level,
430                 [in,switch_is(level)] spoolss_SetPrinterInfo info,
431                 [in] spoolss_DevmodeContainer devmode_ctr,
432                 [in] spoolss_SecDescContainer secdesc_ctr,
433                 [in] spoolss_PrinterControl command
434         );
435
436         /******************/
437         /* Function: 0x08 */
438         WERROR spoolss_GetPrinter(
439                 [in,ref] policy_handle *handle,
440                 [in]     uint32 level,
441                 [in]     DATA_BLOB *buffer,
442                 [in]     uint32 offered,
443                 [out,subcontext(4),switch_is(level)] spoolss_PrinterInfo *info,
444                 [out]    uint32 needed
445         );
446
447         /******************/
448         /* Function: 0x09 */
449         WERROR spoolss_AddPrinterDriver(
450         );
451
452         typedef struct {
453                 [relative] nstring *driver_name;
454         } spoolss_DriverInfo1;
455
456         typedef [v1_enum] enum {
457                 SPOOLSS_DRIVER_VERSION_9X       = 0,
458                 SPOOLSS_DRIVER_VERSION_NT35     = 1,
459                 SPOOLSS_DRIVER_VERSION_NT4      = 2,
460                 SPOOLSS_DRIVER_VERSION_200X     = 3
461         } spoolss_DriverOSVersion;
462
463         typedef struct {
464                 spoolss_DriverOSVersion version;
465                 [relative] nstring *driver_name;
466                 [relative] nstring *architecture;
467                 [relative] nstring *driver_path;
468                 [relative] nstring *data_file;
469                 [relative] nstring *config_file;
470         } spoolss_DriverInfo2;
471
472         typedef struct {
473                 spoolss_DriverOSVersion version;
474                 [relative] nstring *driver_name;
475                 [relative] nstring *architecture;
476                 [relative] nstring *driver_path;
477                 [relative] nstring *data_file;
478                 [relative] nstring *config_file;
479                 [relative] nstring *help_file;
480                 [relative] nstring_array *dependent_files;
481                 [relative] nstring *monitor_name;
482                 [relative] nstring *default_datatype;
483         } spoolss_DriverInfo3;
484
485         typedef struct {
486                 spoolss_DriverOSVersion version;
487                 [relative] nstring *driver_name;
488                 [relative] nstring *architecture;
489                 [relative] nstring *driver_path;
490                 [relative] nstring *data_file;
491                 [relative] nstring *config_file;
492                 [relative] nstring *help_file;
493                 [relative] nstring_array *dependent_files;
494                 [relative] nstring *monitor_name;
495                 [relative] nstring *default_datatype;
496                 [relative] nstring_array *previous_names;
497         } spoolss_DriverInfo4;
498
499         typedef struct {
500                 spoolss_DriverOSVersion version;
501                 [relative] nstring *driver_name;
502                 [relative] nstring *architecture;
503                 [relative] nstring *driver_path;
504                 [relative] nstring *data_file;
505                 [relative] nstring *config_file;
506                 uint32 driver_attributes;
507                 uint32 config_version;
508                 uint32 driver_version;
509         } spoolss_DriverInfo5;
510
511         typedef struct {
512                 spoolss_DriverOSVersion version;
513                 [relative] nstring *driver_name;
514                 [relative] nstring *architecture;
515                 [relative] nstring *driver_path;
516                 [relative] nstring *data_file;
517                 [relative] nstring *config_file;
518                 [relative] nstring *help_file;
519                 [relative] nstring_array *dependent_files;
520                 [relative] nstring *monitor_name;
521                 [relative] nstring *default_datatype;
522                 [relative] nstring_array *previous_names;
523                 NTTIME driver_data;
524                 hyper driver_version;
525                 [relative] nstring *manufacturer_name;
526                 [relative] nstring *manufacturer_url;
527                 [relative] nstring *hardware_id;
528                 [relative] nstring *provider;
529         } spoolss_DriverInfo6;
530
531         typedef [nodiscriminant,relative_base,public] union {
532                 [case(1)] spoolss_DriverInfo1 info1;
533                 [case(2)] spoolss_DriverInfo2 info2;
534                 [case(3)] spoolss_DriverInfo3 info3;
535                 [case(4)] spoolss_DriverInfo4 info4;
536                 [case(5)] spoolss_DriverInfo5 info5;
537                 [case(6)] spoolss_DriverInfo6 info6;
538                 [default];
539         } spoolss_DriverInfo;
540
541         /******************/
542         /* Function: 0x0a */
543         [public,noopnum,noprint] WERROR _spoolss_EnumPrinterDrivers(
544                 [in] unistr *server,
545                 [in] unistr *environment,
546                 [in] uint32 level,
547                 [in] DATA_BLOB *buffer,
548                 [in] uint32 offered,
549                 [out] DATA_BLOB *info,
550                 [out] uint32 needed,
551                 [out] uint32 count
552         );
553         [public,noopnum,noprint] void __spoolss_EnumPrinterDrivers(
554                 [in] uint32 level,
555                 [in] uint32 count,
556                 [out,switch_is(level)] spoolss_DriverInfo info[count]
557         );
558         [nopull,nopush] WERROR spoolss_EnumPrinterDrivers(
559                 [in] unistr *server,
560                 [in] unistr *environment,
561                 [in] uint32 level,
562                 [in] DATA_BLOB *buffer,
563                 [in] uint32 offered,
564                 [out,switch_is(level),size_is(count)] spoolss_DriverInfo *info,
565                 [out] uint32 needed,
566                 [out] uint32 count
567         );
568
569         /******************/
570         /* Function: 0x0b */
571         WERROR spoolss_GetPrinterDriver(
572         );
573
574         /******************/
575         /* Function: 0x0c */
576         WERROR spoolss_GetPrinterDriverDirectory(
577         );
578
579         /******************/
580         /* Function: 0x0d */
581         WERROR spoolss_DeletePrinterDriver(
582                 [in,ref] policy_handle *handle,
583                 [in] unistr *server,
584                 [in] unistr architecture,
585                 [in] unistr driver
586         );
587
588         /******************/
589         /* Function: 0x0e */
590         WERROR spoolss_AddPrintProcessor(
591         );
592
593         /******************/
594         /* Function: 0x0f */
595         typedef struct {
596                 [relative] nstring *print_processor_name;
597         } spoolss_PrintProcessorInfo1;
598
599         typedef [nodiscriminant,relative_base,public] union {
600                 [case(1)] spoolss_PrintProcessorInfo1 info1;
601                 [default];
602         } spoolss_PrintProcessorInfo;
603
604         [public,noopnum,noprint] WERROR _spoolss_EnumPrintProcessors(
605                 [in] unistr *servername,
606                 [in] unistr *environment,
607                 [in] uint32 level,
608                 [in] DATA_BLOB *buffer,
609                 [in] uint32 offered,
610                 [out] DATA_BLOB *info,
611                 [out] uint32 needed,
612                 [out] uint32 count
613         );
614         [public,noopnum,noprint] void __spoolss_EnumPrintProcessors(
615                 [in] uint32 level,
616                 [in] uint32 count,
617                 [out,switch_is(level)] spoolss_PrintProcessorInfo info[count]
618         );
619         [nopull,nopush] WERROR spoolss_EnumPrintProcessors(
620                 [in] unistr *servername,
621                 [in] unistr *environment,
622                 [in] uint32 level,
623                 [in] DATA_BLOB *buffer,
624                 [in] uint32 offered,
625                 [out,switch_is(level),size_is(count)] spoolss_PrintProcessorInfo *info,
626                 [out] uint32 needed,
627                 [out] uint32 count
628         );
629
630         /******************/
631         /* Function: 0x10 */
632         WERROR spoolss_GetPrintProcessorDirectory(
633         );
634
635         /******************/
636         /* Function: 0x11 */
637         typedef struct {
638                 unistr *document_name;
639                 unistr *output_file;
640                 unistr *datatype;
641         } spoolss_DocumentInfo1;
642
643         typedef [switch_type(uint32)] union {
644                 [case(1)] spoolss_DocumentInfo1 *info1;
645                 [case(2)]; /* TODO */
646                 [case(3)]; /* TODO */
647                 [default];
648         } spoolss_DocumentInfo;
649
650         WERROR spoolss_StartDocPrinter(
651                 [in,ref] policy_handle *handle,
652                 [in] uint32 level,
653                 [in,switch_is(level)] spoolss_DocumentInfo info,
654                 [out] uint32 job_id
655         );
656
657         /******************/
658         /* Function: 0x12 */
659         WERROR spoolss_StartPagePrinter(
660                 [in,ref] policy_handle *handle
661         );
662
663         /******************/
664         /* Function: 0x13 */
665         WERROR spoolss_WritePrinter(
666                 [in,ref] policy_handle *handle,
667                 [in] DATA_BLOB data,
668                 [in,value(r->in.data.length)] uint32 _data_size,
669                 [out] uint32 num_written
670         );
671
672         /******************/
673         /* Function: 0x14 */
674         WERROR spoolss_EndPagePrinter(
675                 [in,ref] policy_handle *handle
676         );
677
678         /******************/
679         /* Function: 0x15 */
680         WERROR spoolss_AbortPrinter(
681                 [in,ref] policy_handle *handle
682         );
683
684         /******************/
685         /* Function: 0x16 */
686         WERROR spoolss_ReadPrinter(
687                 [in,ref] policy_handle *handle,
688                 [in] uint32 data_size,
689                 [out] DATA_BLOB data,
690                 [out,value(r->out.data.length)] uint32 _data_size
691         );
692
693         /******************/
694         /* Function: 0x17 */
695         WERROR spoolss_EndDocPrinter(
696                 [in,ref] policy_handle *handle
697         );
698
699         /******************/
700         /* Function: 0x18 */
701         WERROR spoolss_AddJob(
702         );
703
704         /******************/
705         /* Function: 0x19 */
706         WERROR spoolss_ScheduleJob(
707         );
708
709         /******************/
710         /* Function: 0x1a */
711         const string SPOOLSS_ARCHITECTURE_NT_X86                = "Windows NT x86";
712
713         typedef [v1_enum] enum {
714                 SPOOLSS_PRINTER_DATA_TYPE_NULL = 0,
715                 SPOOLSS_PRINTER_DATA_TYPE_STRING = 1,
716                 SPOOLSS_PRINTER_DATA_TYPE_UINT32 = 4
717         } spoolss_PrinterDataType;
718
719         typedef [nodiscriminant,gensize] union {
720                 [case(SPOOLSS_PRINTER_DATA_TYPE_NULL)];
721                 [case(SPOOLSS_PRINTER_DATA_TYPE_STRING)] nstring string;
722                 [case(SPOOLSS_PRINTER_DATA_TYPE_UINT32)] uint32 value;
723                 [default,flag(NDR_REMAINING)] DATA_BLOB data;
724         } spoolss_PrinterData;
725
726         [noopnum,nopush,noprint,public] WERROR _spoolss_GetPrinterData(
727                 [in,ref] policy_handle *handle,
728                 [in] unistr value_name,
729                 [in] uint32 offered,
730                 [out] spoolss_PrinterDataType type,
731                 [out] DATA_BLOB data,
732                 [out] uint32 needed
733         );
734         [noopnum,nopush,noprint,public] void __spoolss_GetPrinterData(
735                 [in] spoolss_PrinterDataType type,
736                 [out,switch_is(type)] spoolss_PrinterData data
737         );
738         [nopull] WERROR spoolss_GetPrinterData(
739                 [in,ref] policy_handle *handle,
740                 [in] unistr value_name,
741                 [in] uint32 offered,
742                 [out] spoolss_PrinterDataType type,
743                 [out,subcontext(4),switch_is(type)] spoolss_PrinterData data,
744                 [out] uint32 needed
745         );
746
747         /******************/
748         /* Function: 0x1b */
749         [noopnum,nopull,noprint,public] WERROR _spoolss_SetPrinterData(
750                 [in,ref] policy_handle *handle,
751                 [in] unistr value_name,
752                 [in] spoolss_PrinterDataType type,
753                 [in] DATA_BLOB data,
754                 [in] uint32 _offered
755         );
756         [noopnum,nopull,noprint,public] void __spoolss_SetPrinterData(
757                 [in] spoolss_PrinterDataType type,
758                 [out,switch_is(type)] spoolss_PrinterData data
759         );
760         [nopush] WERROR spoolss_SetPrinterData(
761                 [in,ref] policy_handle *handle,
762                 [in] unistr value_name,
763                 [in] spoolss_PrinterDataType type,
764                 [in,subcontext(4),switch_is(type)] spoolss_PrinterData data,
765                 [in,value(ndr_size_spoolss_PrinterData(&data,type,flags))] uint32 _offered
766         );
767
768         /******************/
769         /* Function: 0x1c */
770         WERROR spoolss_WaitForPrinterChange(
771         );
772
773         /******************/
774         /* Function: 0x1d */
775         WERROR spoolss_ClosePrinter(
776                 [in,out,ref]     policy_handle *handle
777         );
778
779         /******************/
780         /* Function: 0x1e */
781         typedef [v1_enum] enum {
782                 SPOOLSS_FORM_USER       = 0,
783                 SPOOLSS_FORM_BUILTIN    = 1,
784                 SPOOLSS_FORM_PRINTER    = 2
785         } spoolss_FormFlags;
786
787         typedef struct {
788                 uint32 width;
789                 uint32 height;
790         } spoolss_FormSize;
791
792         typedef struct {
793                 uint32 left;
794                 uint32 top;
795                 uint32 right;
796                 uint32 bottom;
797         } spoolss_FormArea;
798
799         typedef struct {
800                 spoolss_FormFlags flags;
801                 [relative] unistr *form_name;
802                 spoolss_FormSize size;
803                 spoolss_FormArea area;
804         } spoolss_AddFormInfo1;
805
806         typedef [switch_type(uint32)] union {
807                 [case(1)] spoolss_AddFormInfo1 *info1;
808         } spoolss_AddFormInfo;
809
810         WERROR spoolss_AddForm(
811                 [in,ref] policy_handle *handle,
812                 [in] uint32 level,
813                 [in,switch_is(level)] spoolss_AddFormInfo info
814         );
815
816         /******************/
817         /* Function: 0x1f */
818         WERROR spoolss_DeleteForm(
819                 [in,ref] policy_handle *handle,
820                 [in] unistr form_name
821         );
822
823         /******************/
824         /* Function: 0x20 */
825         typedef struct {
826                 spoolss_FormFlags flags;
827                 [relative] nstring *form_name;
828                 spoolss_FormSize size;
829                 spoolss_FormArea area;
830         } spoolss_FormInfo1;
831
832         WERROR spoolss_GetForm(
833                 [in,ref] policy_handle *handle,
834                 [in] unistr form_name,
835                 [in] uint32 level,
836                 [in] DATA_BLOB *buffer,
837                 [in] uint32 offered,
838                 [out,subcontext(4),switch_is(level)] spoolss_FormInfo *info,
839                 [out] uint32 needed
840         );
841
842         typedef struct {
843                 spoolss_FormFlags flags;
844                 unistr *form_name;
845                 spoolss_FormSize size;
846                 spoolss_FormArea area;
847         } spoolss_SetFormInfo1;
848
849         typedef [switch_type(uint32)] union {
850                 [case(1)] spoolss_SetFormInfo1 *info1;
851         } spoolss_SetFormInfo;
852
853         /******************/
854         /* Function: 0x21 */
855         WERROR spoolss_SetForm(
856                 [in,ref] policy_handle *handle,
857                 [in] unistr form_name,
858                 [in] uint32 level,
859                 [in,switch_is(level)] spoolss_SetFormInfo info
860         );
861
862         typedef [nodiscriminant,relative_base,public] union {
863                 [case(1)] spoolss_FormInfo1 info1;
864                 [default];
865         } spoolss_FormInfo;
866
867         /******************/
868         /* Function: 0x22 */
869         [public,noopnum,noprint] WERROR _spoolss_EnumForms(
870                 [in,ref] policy_handle *handle,
871                 [in]     uint32 level,
872                 [in]     DATA_BLOB *buffer,
873                 [in]     uint32 offered,
874                 [out]    DATA_BLOB *info,
875                 [out]    uint32 needed,
876                 [out]    uint32 count
877         );
878         [public,noopnum,noprint] void __spoolss_EnumForms(
879                 [in] uint32 level,
880                 [in] uint32 count,
881                 [out,switch_is(level)] spoolss_FormInfo info[count]
882         );
883         [nopull,nopush] WERROR spoolss_EnumForms(
884                 [in,ref] policy_handle *handle,
885                 [in]     uint32 level,
886                 [in]     DATA_BLOB *buffer,
887                 [in]     uint32 offered,
888                 [out,switch_is(level),size_is(count)] spoolss_FormInfo *info,
889                 [out] uint32 needed,
890                 [out] uint32 count
891         );
892
893         typedef struct {
894                 [relative] nstring *port_name;
895         } spoolss_PortInfo1;
896
897         typedef bitmap {
898                 SPOOLSS_PORT_TYPE_WRITE         = 0x00000001,
899                 SPOOLSS_PORT_TYPE_READ          = 0x00000002,
900                 SPOOLSS_PORT_TYPE_REDIRECTED    = 0x00000004,
901                 SPOOLSS_PORT_TYPE_NET_ATTACHED  = 0x00000008
902         } spoolss_PortType;
903
904         typedef struct {
905                 [relative] nstring *port_name;
906                 [relative] nstring *monitor_name;
907                 [relative] nstring *description;
908                 spoolss_PortType port_type;
909                 uint32 reserved;
910         } spoolss_PortInfo2;
911
912         typedef [nodiscriminant,relative_base,public] union {
913                 [case(1)] spoolss_PortInfo1 info1;
914                 [case(2)] spoolss_PortInfo2 info2;
915                 [case(3)]; /* TODO */
916                 [default];
917         } spoolss_PortInfo;
918
919         /******************/
920         /* Function: 0x23 */
921         [public,noopnum,noprint] WERROR _spoolss_EnumPorts(
922                 [in] unistr *servername,
923                 [in] uint32 level,
924                 [in] DATA_BLOB *buffer,
925                 [in] uint32 offered,
926                 [out] DATA_BLOB *info,
927                 [out] uint32 needed,
928                 [out] uint32 count
929         );
930         [public,noopnum,noprint] void __spoolss_EnumPorts(
931                 [in] uint32 level,
932                 [in] uint32 count,
933                 [out,switch_is(level)] spoolss_PortInfo info[count]
934         );
935         [nopull,nopush] WERROR spoolss_EnumPorts(
936                 [in] unistr *servername,
937                 [in] uint32 level,
938                 [in] DATA_BLOB *buffer,
939                 [in] uint32 offered,
940                 [out,switch_is(level),size_is(count)] spoolss_PortInfo *info,
941                 [out] uint32 needed,
942                 [out] uint32 count
943         );
944
945         /******************/
946         /* Function: 0x24 */
947         typedef struct {
948                 [relative] nstring *monitor_name;
949         } spoolss_MonitorInfo1;
950
951         typedef struct {
952                 [relative] nstring *monitor_name;
953                 [relative] nstring *environment;
954                 [relative] nstring *dll_name;
955         } spoolss_MonitorInfo2;
956
957         typedef [nodiscriminant,relative_base,public] union {
958                 [case(1)] spoolss_MonitorInfo1 info1;
959                 [case(2)] spoolss_MonitorInfo2 info2;
960                 [default];
961         } spoolss_MonitorInfo;
962
963         [public,noopnum,noprint] WERROR _spoolss_EnumMonitors(
964                 [in] unistr *servername,
965                 [in] uint32 level,
966                 [in] DATA_BLOB *buffer,
967                 [in] uint32 offered,
968                 [out] DATA_BLOB *info,
969                 [out] uint32 needed,
970                 [out] uint32 count
971         );
972         [public,noopnum,noprint] void __spoolss_EnumMonitors(
973                 [in] uint32 level,
974                 [in] uint32 count,
975                 [out,switch_is(level)] spoolss_MonitorInfo info[count]
976         );
977         [nopull,nopush] WERROR spoolss_EnumMonitors(
978                 [in] unistr *servername,
979                 [in] uint32 level,
980                 [in] DATA_BLOB *buffer,
981                 [in] uint32 offered,
982                 [out,switch_is(level),size_is(count)] spoolss_MonitorInfo *info,
983                 [out] uint32 needed,
984                 [out] uint32 count
985         );
986
987         /******************/
988         /* Function: 0x25 */
989         WERROR spoolss_AddPort(
990                [in] unistr *server_name,
991                [in] uint32 unknown,
992                [in] unistr monitor_name
993         );
994
995         /******************/
996         /* Function: 0x26 */
997         WERROR spoolss_ConfigurePort(
998         );
999
1000         /******************/
1001         /* Function: 0x27 */
1002         WERROR spoolss_DeletePort(
1003         );
1004
1005         /******************/
1006         /* Function: 0x28 */
1007         WERROR spoolss_CreatePrinterIC(
1008         );
1009
1010         /******************/
1011         /* Function: 0x29 */
1012         WERROR spoolss_PlayGDIScriptOnPrinterIC(
1013         );
1014
1015         /******************/
1016         /* Function: 0x2a */
1017         WERROR spoolss_DeletePrinterIC(
1018         );
1019
1020         /******************/
1021         /* Function: 0x2b */
1022         WERROR spoolss_AddPrinterConnection(
1023         );
1024
1025         /******************/
1026         /* Function: 0x2c */
1027         WERROR spoolss_DeletePrinterConnection(
1028         );
1029
1030         /******************/
1031         /* Function: 0x2d */
1032         WERROR spoolss_PrinterMessageBox(
1033                 /* Marked as obsolete in MSDN.  "Not necessary and has
1034                    no effect". */
1035         );
1036
1037         /******************/
1038         /* Function: 0x2e */
1039         WERROR spoolss_AddMonitor(
1040         );
1041
1042         /******************/
1043         /* Function: 0x2f */
1044         WERROR spoolss_DeleteMonitor(
1045         );
1046
1047         /******************/
1048         /* Function: 0x30 */
1049         WERROR spoolss_DeletePrintProcessor(
1050         );
1051
1052         /******************/
1053         /* Function: 0x31 */
1054         WERROR spoolss_AddPrintProvidor(
1055         );
1056
1057         /******************/
1058         /* Function: 0x32 */
1059         WERROR spoolss_DeletePrintProvidor(
1060         );
1061
1062         /******************/
1063         /* Function: 0x33 */
1064         WERROR spoolss_EnumPrintProcDataTypes(
1065         );
1066
1067         /******************/
1068         /* Function: 0x34 */
1069         WERROR spoolss_ResetPrinter(
1070         );
1071
1072         /******************/
1073         /* Function: 0x35 */
1074         WERROR spoolss_GetPrinterDriver2(
1075                 [in,ref] policy_handle *handle,
1076                 [in]     unistr *architecture,
1077                 [in]     uint32 level,
1078                 [in]     DATA_BLOB *buffer,
1079                 [in]     uint32 offered,
1080                 [in]     uint32 client_major_version,
1081                 [in]     uint32 client_minor_version,
1082                 [out]    DATA_BLOB *info,
1083                 [out]    uint32 needed,
1084                 [out]    uint32 server_major_version,
1085                 [out]    uint32 server_minor_version
1086         );
1087
1088         /******************/
1089         /* Function: 0x36 */
1090         WERROR spoolss_FindFirstPrinterChangeNotification(
1091         );
1092
1093         /******************/
1094         /* Function: 0x37 */
1095         WERROR spoolss_FindNextPrinterChangeNotification(
1096         );
1097
1098         /******************/
1099         /* Function: 0x38 */
1100         WERROR spoolss_FindClosePrinterNotify(
1101         );
1102
1103         /******************/
1104         /* Function: 0x39 */
1105         WERROR spoolss_RouterFindFirstPrinterChangeNotificationOld(
1106         );
1107
1108         /******************/
1109         /* Function: 0x3a */
1110         WERROR spoolss_ReplyOpenPrinter(
1111         );
1112
1113         /******************/
1114         /* Function: 0x3b */
1115         WERROR spoolss_RouterReplyPrinter(
1116         );
1117
1118         /******************/
1119         /* Function: 0x3c */
1120         WERROR spoolss_ReplyClosePrinter(
1121         );
1122
1123         /******************/
1124         /* Function: 0x3d */
1125         WERROR spoolss_AddPortEx(
1126         );
1127
1128         /******************/
1129         /* Function: 0x3e */
1130         WERROR spoolss_RouterFindFirstPrinterChangeNotification(
1131         );
1132
1133         /******************/
1134         /* Function: 0x3f */
1135         WERROR spoolss_SpoolerInit(
1136         );
1137
1138         /******************/
1139         /* Function: 0x40 */
1140         WERROR spoolss_ResetPrinterEx(
1141         );
1142
1143         /******************/
1144         /* Function: 0x41 */
1145         typedef [flag(NDR_PAHEX)] struct {
1146                 uint16 u1;
1147                 uint16 u2;
1148                 uint32 u3;
1149                 uint32 u4;
1150                 uint32 count;
1151                 [size_is(count)] uint16 *array;
1152         } spoolss_RemoteFindFirstPrinterChangeNotifyEx_t2;
1153
1154         typedef struct {
1155                 uint32 u1;
1156                 uint32 u2;
1157                 uint32 count;
1158                 [size_is(count)] spoolss_RemoteFindFirstPrinterChangeNotifyEx_t2 *t2;
1159         } spoolss_RemoteFindFirstPrinterChangeNotifyEx_t1;
1160
1161         WERROR spoolss_RemoteFindFirstPrinterChangeNotifyEx(
1162                 [in,ref] policy_handle *handle,
1163                 [in] uint32 u1,
1164                 [in] uint32 u2,
1165                 [in] unistr *str,
1166                 [in] uint32 u3,
1167                 [in] spoolss_RemoteFindFirstPrinterChangeNotifyEx_t1 *t1
1168         );
1169
1170         /******************/
1171         /* Function: 0x42 */
1172         WERROR spoolss_RouterRefreshPrinterChangeNotification(
1173         );
1174
1175         /******************/
1176         /* Function: 0x43 */
1177         WERROR spoolss_RemoteFindNextPrinterChangeNotifyEx(
1178         );
1179
1180         /******************/
1181         /* Function: 0x44 */
1182         WERROR spoolss_44(
1183         );
1184
1185         typedef struct {
1186                 uint32 size;
1187                 unistr *client;
1188                 unistr *user;
1189                 uint32 build;
1190                 uint32 major;
1191                 uint32 minor;
1192                 uint32 processor;
1193         } spoolss_UserLevel1;
1194
1195         typedef union {
1196                 [case(1)]  spoolss_UserLevel1 *level1;
1197         } spoolss_UserLevel;
1198
1199         /******************/
1200         /* Function: 0x45 */
1201         WERROR spoolss_OpenPrinterEx(
1202                 [in]                  unistr *printername,
1203                 [in]                  unistr *datatype,
1204                 [in]                  spoolss_DevmodeContainer devmode_ctr,
1205                 [in]                  uint32 access_mask,
1206                 [in]                  uint32 level,
1207                 [in,switch_is(level)] spoolss_UserLevel userlevel,
1208                 [out,ref]             policy_handle *handle
1209         );
1210
1211         /******************/
1212         /* Function: 0x46 */
1213         WERROR spoolss_AddPrinterEx(
1214                 [in] unistr *server,
1215                 [in] uint32 level,
1216                 [in,switch_is(level)] spoolss_PrinterInfo *info,
1217                 [in] spoolss_DevmodeContainer devmode_ctr,
1218                 [in] security_descriptor *secdesc,
1219                 [in] uint32 ulevel,
1220                 [in,switch_is(ulevel)] spoolss_UserLevel userlevel
1221         );
1222
1223         /******************/
1224         /* Function: 0x47 */
1225         WERROR spoolss_47(
1226         );
1227
1228         /******************/
1229         /* Function: 0x48 */
1230         WERROR spoolss_EnumPrinterData(
1231                 [in,ref] policy_handle *handle,
1232                 [in]     uint32 enum_index,
1233                 [in]     uint32 value_offered,
1234                 [out]    lstring value_name,
1235                 [out]    uint32 value_needed,
1236                 [out]    uint32 printerdata_type,
1237                 [out]    DATA_BLOB buffer,
1238                 [in,out,ref] uint32 *data_size
1239         );
1240
1241         /******************/
1242         /* Function: 0x49 */
1243         WERROR spoolss_DeletePrinterData(
1244                 [in,ref] policy_handle *handle,
1245                 [in] unistr value_name
1246         );
1247
1248         /******************/
1249         /* Function: 0x4a */
1250         WERROR spoolss_4a(
1251         );
1252
1253         /******************/
1254         /* Function: 0x4b */
1255         WERROR spoolss_4b(
1256         );
1257
1258         /******************/
1259         /* Function: 0x4c */
1260         WERROR spoolss_4c(
1261         );
1262
1263         /******************/
1264         /* Function: 0x4d */
1265         WERROR spoolss_SetPrinterDataEx(
1266                 [in,ref] policy_handle *handle,
1267                 [in]     unistr key_name,
1268                 [in]     unistr value_name,
1269                 [in]     uint32 type,
1270                 [in]     DATA_BLOB buffer,
1271                 [in]     uint32 offered
1272         );
1273
1274         /******************/
1275         /* Function: 0x4e */
1276         WERROR spoolss_GetPrinterDataEx(
1277                 [in,ref] policy_handle *handle,
1278                 [in]     unistr key_name,
1279                 [in]     unistr value_name,
1280                 [in]     uint32 offered,
1281                 [out]    uint32 type,
1282                 [out]    DATA_BLOB buffer,
1283                 [out]    uint32 needed
1284         );
1285
1286         /******************/
1287         /* Function: 0x4f */
1288         WERROR spoolss_EnumPrinterDataEx(
1289                 [in,ref] policy_handle *handle,
1290                 [in]     unistr key_name,
1291                 [in]     uint32 offered,
1292                 [out]    DATA_BLOB buffer,
1293                 [out]    uint32 needed,
1294                 [out]    uint32 count
1295         );
1296
1297         /******************/
1298         /* Function: 0x50 */
1299         WERROR spoolss_EnumPrinterKey(
1300         );
1301
1302         /******************/
1303         /* Function: 0x51 */
1304         WERROR spoolss_DeletePrinterDataEx(
1305                 [in,ref] policy_handle *handle,
1306                 [in] unistr key_name,
1307                 [in] unistr value_name
1308         );
1309
1310         /******************/
1311         /* Function: 0x52 */
1312         WERROR spoolss_DeletePrinterKey(
1313         );
1314
1315         /******************/
1316         /* Function: 0x53 */
1317         WERROR spoolss_53(
1318         );
1319
1320         /******************/
1321         /* Function: 0x54 */
1322         WERROR spoolss_DeletePrinterDriverEx(
1323         );
1324
1325         /******************/
1326         /* Function: 0x55 */
1327         WERROR spoolss_55(
1328         );
1329
1330         /******************/
1331         /* Function: 0x56 */
1332         WERROR spoolss_56(
1333         );
1334
1335         /******************/
1336         /* Function: 0x57 */
1337         WERROR spoolss_57(
1338         );
1339
1340         /******************/
1341         /* Function: 0x58 */
1342         WERROR spoolss_58(
1343         );
1344
1345         /******************/
1346         /* Function: 0x59 */
1347         WERROR spoolss_AddPrinterDriverEx(
1348         );
1349
1350         /******************/
1351         /* Function: 0x5a */
1352         WERROR spoolss_5a(
1353         );
1354
1355         /******************/
1356         /* Function: 0x5b */
1357         WERROR spoolss_5b(
1358         );
1359
1360         /******************/
1361         /* Function: 0x5c */
1362         WERROR spoolss_5c(
1363         );
1364
1365         /******************/
1366         /* Function: 0x5d */
1367         WERROR spoolss_5d(
1368         );
1369
1370         /******************/
1371         /* Function: 0x5e */
1372         WERROR spoolss_5e(
1373         );
1374
1375         /******************/
1376         /* Function: 0x5f */
1377         WERROR spoolss_5f(
1378         );
1379 }