06e9ec91fce3e953058394f8242535a1d664fc68
[abartlet/samba.git/.git] / librpc / gen_ndr / cli_spoolss.h
1 #include "../librpc/gen_ndr/ndr_spoolss.h"
2 #ifndef __CLI_SPOOLSS__
3 #define __CLI_SPOOLSS__
4 NTSTATUS rpccli_spoolss_EnumPrinters(struct rpc_pipe_client *cli,
5                                      TALLOC_CTX *mem_ctx,
6                                      uint32_t flags /* [in]  */,
7                                      const char *server /* [in] [unique,charset(UTF16)] */,
8                                      uint32_t level /* [in]  */,
9                                      DATA_BLOB *buffer /* [in] [unique] */,
10                                      uint32_t offered /* [in]  */,
11                                      uint32_t *count /* [out] [ref] */,
12                                      union spoolss_PrinterInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
13                                      uint32_t *needed /* [out] [ref] */,
14                                      WERROR *werror);
15 NTSTATUS rpccli_spoolss_OpenPrinter(struct rpc_pipe_client *cli,
16                                     TALLOC_CTX *mem_ctx,
17                                     const char *printername /* [in] [unique,charset(UTF16)] */,
18                                     const char *datatype /* [in] [unique,charset(UTF16)] */,
19                                     struct spoolss_DevmodeContainer devmode_ctr /* [in]  */,
20                                     uint32_t access_mask /* [in]  */,
21                                     struct policy_handle *handle /* [out] [ref] */,
22                                     WERROR *werror);
23 NTSTATUS rpccli_spoolss_SetJob(struct rpc_pipe_client *cli,
24                                TALLOC_CTX *mem_ctx,
25                                struct policy_handle *handle /* [in] [ref] */,
26                                uint32_t job_id /* [in]  */,
27                                struct spoolss_JobInfoContainer *ctr /* [in] [unique] */,
28                                enum spoolss_JobControl command /* [in]  */,
29                                WERROR *werror);
30 NTSTATUS rpccli_spoolss_GetJob(struct rpc_pipe_client *cli,
31                                TALLOC_CTX *mem_ctx,
32                                struct policy_handle *handle /* [in] [ref] */,
33                                uint32_t job_id /* [in]  */,
34                                uint32_t level /* [in]  */,
35                                DATA_BLOB *buffer /* [in] [unique] */,
36                                uint32_t offered /* [in]  */,
37                                union spoolss_JobInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
38                                uint32_t *needed /* [out] [ref] */,
39                                WERROR *werror);
40 NTSTATUS rpccli_spoolss_EnumJobs(struct rpc_pipe_client *cli,
41                                  TALLOC_CTX *mem_ctx,
42                                  struct policy_handle *handle /* [in] [ref] */,
43                                  uint32_t firstjob /* [in]  */,
44                                  uint32_t numjobs /* [in]  */,
45                                  uint32_t level /* [in]  */,
46                                  DATA_BLOB *buffer /* [in] [unique] */,
47                                  uint32_t offered /* [in]  */,
48                                  uint32_t *count /* [out] [ref] */,
49                                  union spoolss_JobInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
50                                  uint32_t *needed /* [out] [ref] */,
51                                  WERROR *werror);
52 NTSTATUS rpccli_spoolss_AddPrinter(struct rpc_pipe_client *cli,
53                                    TALLOC_CTX *mem_ctx,
54                                    WERROR *werror);
55 NTSTATUS rpccli_spoolss_DeletePrinter(struct rpc_pipe_client *cli,
56                                       TALLOC_CTX *mem_ctx,
57                                       struct policy_handle *handle /* [in] [ref] */,
58                                       WERROR *werror);
59 NTSTATUS rpccli_spoolss_SetPrinter(struct rpc_pipe_client *cli,
60                                    TALLOC_CTX *mem_ctx,
61                                    struct policy_handle *handle /* [in] [ref] */,
62                                    struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
63                                    struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
64                                    struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
65                                    enum spoolss_PrinterControl command /* [in]  */,
66                                    WERROR *werror);
67 NTSTATUS rpccli_spoolss_GetPrinter(struct rpc_pipe_client *cli,
68                                    TALLOC_CTX *mem_ctx,
69                                    struct policy_handle *handle /* [in] [ref] */,
70                                    uint32_t level /* [in]  */,
71                                    DATA_BLOB *buffer /* [in] [unique] */,
72                                    uint32_t offered /* [in]  */,
73                                    union spoolss_PrinterInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
74                                    uint32_t *needed /* [out] [ref] */,
75                                    WERROR *werror);
76 NTSTATUS rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client *cli,
77                                          TALLOC_CTX *mem_ctx,
78                                          const char *servername /* [in] [unique,charset(UTF16)] */,
79                                          struct spoolss_AddDriverInfoCtr *info_ctr /* [in] [ref] */,
80                                          WERROR *werror);
81 NTSTATUS rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client *cli,
82                                            TALLOC_CTX *mem_ctx,
83                                            const char *server /* [in] [unique,charset(UTF16)] */,
84                                            const char *environment /* [in] [unique,charset(UTF16)] */,
85                                            uint32_t level /* [in]  */,
86                                            DATA_BLOB *buffer /* [in] [unique] */,
87                                            uint32_t offered /* [in]  */,
88                                            uint32_t *count /* [out] [ref] */,
89                                            union spoolss_DriverInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
90                                            uint32_t *needed /* [out] [ref] */,
91                                            WERROR *werror);
92 NTSTATUS rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client *cli,
93                                          TALLOC_CTX *mem_ctx,
94                                          WERROR *werror);
95 NTSTATUS rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client *cli,
96                                                   TALLOC_CTX *mem_ctx,
97                                                   const char *server /* [in] [unique,charset(UTF16)] */,
98                                                   const char *environment /* [in] [unique,charset(UTF16)] */,
99                                                   uint32_t level /* [in]  */,
100                                                   DATA_BLOB *buffer /* [in] [unique] */,
101                                                   uint32_t offered /* [in]  */,
102                                                   union spoolss_DriverDirectoryInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
103                                                   uint32_t *needed /* [out] [ref] */,
104                                                   WERROR *werror);
105 NTSTATUS rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client *cli,
106                                             TALLOC_CTX *mem_ctx,
107                                             const char *server /* [in] [unique,charset(UTF16)] */,
108                                             const char *architecture /* [in] [charset(UTF16)] */,
109                                             const char *driver /* [in] [charset(UTF16)] */,
110                                             WERROR *werror);
111 NTSTATUS rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client *cli,
112                                           TALLOC_CTX *mem_ctx,
113                                           const char *server /* [in] [unique,charset(UTF16)] */,
114                                           const char *architecture /* [in] [charset(UTF16)] */,
115                                           const char *path_name /* [in] [charset(UTF16)] */,
116                                           const char *print_processor_name /* [in] [charset(UTF16)] */,
117                                           WERROR *werror);
118 NTSTATUS rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client *cli,
119                                             TALLOC_CTX *mem_ctx,
120                                             const char *servername /* [in] [unique,charset(UTF16)] */,
121                                             const char *environment /* [in] [unique,charset(UTF16)] */,
122                                             uint32_t level /* [in]  */,
123                                             DATA_BLOB *buffer /* [in] [unique] */,
124                                             uint32_t offered /* [in]  */,
125                                             uint32_t *count /* [out] [ref] */,
126                                             union spoolss_PrintProcessorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
127                                             uint32_t *needed /* [out] [ref] */,
128                                             WERROR *werror);
129 NTSTATUS rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client *cli,
130                                                    TALLOC_CTX *mem_ctx,
131                                                    WERROR *werror);
132 NTSTATUS rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client *cli,
133                                         TALLOC_CTX *mem_ctx,
134                                         struct policy_handle *handle /* [in] [ref] */,
135                                         uint32_t level /* [in]  */,
136                                         union spoolss_DocumentInfo info /* [in] [switch_is(level)] */,
137                                         uint32_t *job_id /* [out] [ref] */,
138                                         WERROR *werror);
139 NTSTATUS rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client *cli,
140                                          TALLOC_CTX *mem_ctx,
141                                          struct policy_handle *handle /* [in] [ref] */,
142                                          WERROR *werror);
143 NTSTATUS rpccli_spoolss_WritePrinter(struct rpc_pipe_client *cli,
144                                      TALLOC_CTX *mem_ctx,
145                                      struct policy_handle *handle /* [in] [ref] */,
146                                      DATA_BLOB data /* [in]  */,
147                                      uint32_t _data_size /* [in] [value(r->in.data.length)] */,
148                                      uint32_t *num_written /* [out] [ref] */,
149                                      WERROR *werror);
150 NTSTATUS rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client *cli,
151                                        TALLOC_CTX *mem_ctx,
152                                        struct policy_handle *handle /* [in] [ref] */,
153                                        WERROR *werror);
154 NTSTATUS rpccli_spoolss_AbortPrinter(struct rpc_pipe_client *cli,
155                                      TALLOC_CTX *mem_ctx,
156                                      struct policy_handle *handle /* [in] [ref] */,
157                                      WERROR *werror);
158 NTSTATUS rpccli_spoolss_ReadPrinter(struct rpc_pipe_client *cli,
159                                     TALLOC_CTX *mem_ctx,
160                                     struct policy_handle *handle /* [in] [ref] */,
161                                     uint8_t *data /* [out] [ref,size_is(data_size)] */,
162                                     uint32_t data_size /* [in]  */,
163                                     uint32_t *_data_size /* [out] [ref] */,
164                                     WERROR *werror);
165 NTSTATUS rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client *cli,
166                                       TALLOC_CTX *mem_ctx,
167                                       struct policy_handle *handle /* [in] [ref] */,
168                                       WERROR *werror);
169 NTSTATUS rpccli_spoolss_AddJob(struct rpc_pipe_client *cli,
170                                TALLOC_CTX *mem_ctx,
171                                struct policy_handle *handle /* [in] [ref] */,
172                                uint32_t level /* [in]  */,
173                                uint8_t *buffer /* [in,out] [unique,size_is(offered)] */,
174                                uint32_t offered /* [in]  */,
175                                uint32_t *needed /* [out] [ref] */,
176                                WERROR *werror);
177 NTSTATUS rpccli_spoolss_ScheduleJob(struct rpc_pipe_client *cli,
178                                     TALLOC_CTX *mem_ctx,
179                                     struct policy_handle *handle /* [in] [ref] */,
180                                     uint32_t jobid /* [in]  */,
181                                     WERROR *werror);
182 NTSTATUS rpccli_spoolss_GetPrinterData(struct rpc_pipe_client *cli,
183                                        TALLOC_CTX *mem_ctx,
184                                        struct policy_handle *handle /* [in] [ref] */,
185                                        const char *value_name /* [in] [charset(UTF16)] */,
186                                        uint32_t offered /* [in]  */,
187                                        enum spoolss_PrinterDataType *type /* [out] [ref] */,
188                                        union spoolss_PrinterData data /* [out] [subcontext_size(offered),subcontext(4),switch_is(*type)] */,
189                                        uint32_t *needed /* [out] [ref] */,
190                                        WERROR *werror);
191 NTSTATUS rpccli_spoolss_SetPrinterData(struct rpc_pipe_client *cli,
192                                        TALLOC_CTX *mem_ctx,
193                                        struct policy_handle *handle /* [in] [ref] */,
194                                        const char *value_name /* [in] [charset(UTF16)] */,
195                                        enum spoolss_PrinterDataType type /* [in]  */,
196                                        union spoolss_PrinterData data /* [in] [subcontext(4),switch_is(type)] */,
197                                        uint32_t _offered /* [in] [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */,
198                                        WERROR *werror);
199 NTSTATUS rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client *cli,
200                                              TALLOC_CTX *mem_ctx,
201                                              WERROR *werror);
202 NTSTATUS rpccli_spoolss_ClosePrinter(struct rpc_pipe_client *cli,
203                                      TALLOC_CTX *mem_ctx,
204                                      struct policy_handle *handle /* [in,out] [ref] */,
205                                      WERROR *werror);
206 NTSTATUS rpccli_spoolss_AddForm(struct rpc_pipe_client *cli,
207                                 TALLOC_CTX *mem_ctx,
208                                 struct policy_handle *handle /* [in] [ref] */,
209                                 uint32_t level /* [in]  */,
210                                 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
211                                 WERROR *werror);
212 NTSTATUS rpccli_spoolss_DeleteForm(struct rpc_pipe_client *cli,
213                                    TALLOC_CTX *mem_ctx,
214                                    struct policy_handle *handle /* [in] [ref] */,
215                                    const char *form_name /* [in] [charset(UTF16)] */,
216                                    WERROR *werror);
217 NTSTATUS rpccli_spoolss_GetForm(struct rpc_pipe_client *cli,
218                                 TALLOC_CTX *mem_ctx,
219                                 struct policy_handle *handle /* [in] [ref] */,
220                                 const char *form_name /* [in] [charset(UTF16)] */,
221                                 uint32_t level /* [in]  */,
222                                 DATA_BLOB *buffer /* [in] [unique] */,
223                                 uint32_t offered /* [in]  */,
224                                 union spoolss_FormInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
225                                 uint32_t *needed /* [out] [ref] */,
226                                 WERROR *werror);
227 NTSTATUS rpccli_spoolss_SetForm(struct rpc_pipe_client *cli,
228                                 TALLOC_CTX *mem_ctx,
229                                 struct policy_handle *handle /* [in] [ref] */,
230                                 const char *form_name /* [in] [charset(UTF16)] */,
231                                 uint32_t level /* [in]  */,
232                                 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
233                                 WERROR *werror);
234 NTSTATUS rpccli_spoolss_EnumForms(struct rpc_pipe_client *cli,
235                                   TALLOC_CTX *mem_ctx,
236                                   struct policy_handle *handle /* [in] [ref] */,
237                                   uint32_t level /* [in]  */,
238                                   DATA_BLOB *buffer /* [in] [unique] */,
239                                   uint32_t offered /* [in]  */,
240                                   uint32_t *count /* [out] [ref] */,
241                                   union spoolss_FormInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
242                                   uint32_t *needed /* [out] [ref] */,
243                                   WERROR *werror);
244 NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli,
245                                   TALLOC_CTX *mem_ctx,
246                                   const char *servername /* [in] [unique,charset(UTF16)] */,
247                                   uint32_t level /* [in]  */,
248                                   DATA_BLOB *buffer /* [in] [unique] */,
249                                   uint32_t offered /* [in]  */,
250                                   uint32_t *count /* [out] [ref] */,
251                                   union spoolss_PortInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
252                                   uint32_t *needed /* [out] [ref] */,
253                                   WERROR *werror);
254 NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli,
255                                      TALLOC_CTX *mem_ctx,
256                                      const char *servername /* [in] [unique,charset(UTF16)] */,
257                                      uint32_t level /* [in]  */,
258                                      DATA_BLOB *buffer /* [in] [unique] */,
259                                      uint32_t offered /* [in]  */,
260                                      uint32_t *count /* [out] [ref] */,
261                                      union spoolss_MonitorInfo *info /* [out] [unique,switch_is(level),size_is(*count)] */,
262                                      uint32_t *needed /* [out] [ref] */,
263                                      WERROR *werror);
264 NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli,
265                                 TALLOC_CTX *mem_ctx,
266                                 const char *server_name /* [in] [unique,charset(UTF16)] */,
267                                 uint32_t unknown /* [in]  */,
268                                 const char *monitor_name /* [in] [charset(UTF16)] */,
269                                 WERROR *werror);
270 NTSTATUS rpccli_spoolss_ConfigurePort(struct rpc_pipe_client *cli,
271                                       TALLOC_CTX *mem_ctx,
272                                       WERROR *werror);
273 NTSTATUS rpccli_spoolss_DeletePort(struct rpc_pipe_client *cli,
274                                    TALLOC_CTX *mem_ctx,
275                                    WERROR *werror);
276 NTSTATUS rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client *cli,
277                                         TALLOC_CTX *mem_ctx,
278                                         WERROR *werror);
279 NTSTATUS rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client *cli,
280                                                  TALLOC_CTX *mem_ctx,
281                                                  WERROR *werror);
282 NTSTATUS rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client *cli,
283                                         TALLOC_CTX *mem_ctx,
284                                         WERROR *werror);
285 NTSTATUS rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client *cli,
286                                              TALLOC_CTX *mem_ctx,
287                                              WERROR *werror);
288 NTSTATUS rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client *cli,
289                                                 TALLOC_CTX *mem_ctx,
290                                                 WERROR *werror);
291 NTSTATUS rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client *cli,
292                                           TALLOC_CTX *mem_ctx,
293                                           WERROR *werror);
294 NTSTATUS rpccli_spoolss_AddMonitor(struct rpc_pipe_client *cli,
295                                    TALLOC_CTX *mem_ctx,
296                                    WERROR *werror);
297 NTSTATUS rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client *cli,
298                                       TALLOC_CTX *mem_ctx,
299                                       WERROR *werror);
300 NTSTATUS rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client *cli,
301                                              TALLOC_CTX *mem_ctx,
302                                              WERROR *werror);
303 NTSTATUS rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client *cli,
304                                          TALLOC_CTX *mem_ctx,
305                                          WERROR *werror);
306 NTSTATUS rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client *cli,
307                                             TALLOC_CTX *mem_ctx,
308                                             WERROR *werror);
309 NTSTATUS rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client *cli,
310                                                TALLOC_CTX *mem_ctx,
311                                                WERROR *werror);
312 NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli,
313                                      TALLOC_CTX *mem_ctx,
314                                      struct policy_handle *handle /* [in] [ref] */,
315                                      const char *data_type /* [in] [unique,charset(UTF16)] */,
316                                      struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
317                                      WERROR *werror);
318 NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli,
319                                           TALLOC_CTX *mem_ctx,
320                                           struct policy_handle *handle /* [in] [ref] */,
321                                           const char *architecture /* [in] [unique,charset(UTF16)] */,
322                                           uint32_t level /* [in]  */,
323                                           DATA_BLOB *buffer /* [in] [unique] */,
324                                           uint32_t offered /* [in]  */,
325                                           uint32_t client_major_version /* [in]  */,
326                                           uint32_t client_minor_version /* [in]  */,
327                                           DATA_BLOB *info /* [out] [unique] */,
328                                           uint32_t *needed /* [out] [ref] */,
329                                           uint32_t *server_major_version /* [out] [ref] */,
330                                           uint32_t *server_minor_version /* [out] [ref] */,
331                                           WERROR *werror);
332 NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
333                                                            TALLOC_CTX *mem_ctx,
334                                                            WERROR *werror);
335 NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client *cli,
336                                                           TALLOC_CTX *mem_ctx,
337                                                           WERROR *werror);
338 NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli,
339                                                TALLOC_CTX *mem_ctx,
340                                                struct policy_handle *handle /* [in] [ref] */,
341                                                WERROR *werror);
342 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client *cli,
343                                                                     TALLOC_CTX *mem_ctx,
344                                                                     WERROR *werror);
345 NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli,
346                                          TALLOC_CTX *mem_ctx,
347                                          const char *server_name /* [in] [charset(UTF16)] */,
348                                          uint32_t printer_local /* [in]  */,
349                                          enum winreg_Type type /* [in]  */,
350                                          uint32_t bufsize /* [in] [range(0,512)] */,
351                                          uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
352                                          struct policy_handle *handle /* [out] [ref] */,
353                                          WERROR *werror);
354 NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli,
355                                            TALLOC_CTX *mem_ctx,
356                                            struct policy_handle *handle /* [in] [ref] */,
357                                            uint32_t flags /* [in]  */,
358                                            uint32_t bufsize /* [in] [range(0,512)] */,
359                                            uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
360                                            WERROR *werror);
361 NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli,
362                                           TALLOC_CTX *mem_ctx,
363                                           struct policy_handle *handle /* [in,out] [ref] */,
364                                           WERROR *werror);
365 NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli,
366                                   TALLOC_CTX *mem_ctx,
367                                   WERROR *werror);
368 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
369                                                                  TALLOC_CTX *mem_ctx,
370                                                                  WERROR *werror);
371 NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli,
372                                     TALLOC_CTX *mem_ctx,
373                                     WERROR *werror);
374 NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli,
375                                        TALLOC_CTX *mem_ctx,
376                                        WERROR *werror);
377 NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client *cli,
378                                                              TALLOC_CTX *mem_ctx,
379                                                              struct policy_handle *handle /* [in] [ref] */,
380                                                              uint32_t flags /* [in]  */,
381                                                              uint32_t options /* [in]  */,
382                                                              const char *local_machine /* [in] [unique,charset(UTF16)] */,
383                                                              uint32_t printer_local /* [in]  */,
384                                                              struct spoolss_NotifyOption *notify_options /* [in] [unique] */,
385                                                              WERROR *werror);
386 NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli,
387                                              TALLOC_CTX *mem_ctx,
388                                              struct policy_handle *handle /* [in] [ref] */,
389                                              uint32_t color /* [in]  */,
390                                              uint32_t flags /* [in]  */,
391                                              uint32_t *reply_result /* [out] [ref] */,
392                                              uint32_t reply_type /* [in]  */,
393                                              union spoolss_ReplyPrinterInfo info /* [in] [switch_is(reply_type)] */,
394                                              WERROR *werror);
395 NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client *cli,
396                                                          TALLOC_CTX *mem_ctx,
397                                                          struct policy_handle *handle /* [in] [ref] */,
398                                                          uint32_t change_low /* [in]  */,
399                                                          struct spoolss_NotifyOption *options /* [in] [unique] */,
400                                                          struct spoolss_NotifyInfo **info /* [out] [ref] */,
401                                                          WERROR *werror);
402 NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli,
403                            TALLOC_CTX *mem_ctx,
404                            WERROR *werror);
405 NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli,
406                                       TALLOC_CTX *mem_ctx,
407                                       const char *printername /* [in] [unique,charset(UTF16)] */,
408                                       const char *datatype /* [in] [unique,charset(UTF16)] */,
409                                       struct spoolss_DevmodeContainer devmode_ctr /* [in]  */,
410                                       uint32_t access_mask /* [in]  */,
411                                       uint32_t level /* [in]  */,
412                                       union spoolss_UserLevel userlevel /* [in] [switch_is(level)] */,
413                                       struct policy_handle *handle /* [out] [ref] */,
414                                       WERROR *werror);
415 NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli,
416                                      TALLOC_CTX *mem_ctx,
417                                      const char *server /* [in] [unique,charset(UTF16)] */,
418                                      struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
419                                      struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
420                                      struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
421                                      struct spoolss_UserLevelCtr *userlevel_ctr /* [in] [ref] */,
422                                      struct policy_handle *handle /* [out] [ref] */,
423                                      WERROR *werror);
424 NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli,
425                            TALLOC_CTX *mem_ctx,
426                            WERROR *werror);
427 NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli,
428                                         TALLOC_CTX *mem_ctx,
429                                         struct policy_handle *handle /* [in] [ref] */,
430                                         uint32_t enum_index /* [in]  */,
431                                         const char *value_name /* [out] [charset(UTF16),size_is(value_offered/2)] */,
432                                         uint32_t value_offered /* [in]  */,
433                                         uint32_t *value_needed /* [out] [ref] */,
434                                         uint32_t *printerdata_type /* [out] [ref] */,
435                                         DATA_BLOB *buffer /* [out] [ref] */,
436                                         uint32_t data_offered /* [in]  */,
437                                         uint32_t *data_needed /* [out] [ref] */,
438                                         WERROR *werror);
439 NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli,
440                                           TALLOC_CTX *mem_ctx,
441                                           struct policy_handle *handle /* [in] [ref] */,
442                                           const char *value_name /* [in] [charset(UTF16)] */,
443                                           WERROR *werror);
444 NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli,
445                            TALLOC_CTX *mem_ctx,
446                            WERROR *werror);
447 NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli,
448                            TALLOC_CTX *mem_ctx,
449                            WERROR *werror);
450 NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli,
451                            TALLOC_CTX *mem_ctx,
452                            WERROR *werror);
453 NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli,
454                                          TALLOC_CTX *mem_ctx,
455                                          struct policy_handle *handle /* [in] [ref] */,
456                                          const char *key_name /* [in] [charset(UTF16)] */,
457                                          const char *value_name /* [in] [charset(UTF16)] */,
458                                          uint32_t type /* [in]  */,
459                                          uint8_t *buffer /* [in] [ref,size_is(offered)] */,
460                                          uint32_t offered /* [in]  */,
461                                          WERROR *werror);
462 NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli,
463                                          TALLOC_CTX *mem_ctx,
464                                          struct policy_handle *handle /* [in] [ref] */,
465                                          const char *key_name /* [in] [charset(UTF16)] */,
466                                          const char *value_name /* [in] [charset(UTF16)] */,
467                                          uint32_t *type /* [out] [ref] */,
468                                          uint8_t *buffer /* [out] [ref,size_is(offered)] */,
469                                          uint32_t offered /* [in]  */,
470                                          uint32_t *needed /* [out] [ref] */,
471                                          WERROR *werror);
472 NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
473                                           TALLOC_CTX *mem_ctx,
474                                           struct policy_handle *handle /* [in] [ref] */,
475                                           const char *key_name /* [in] [charset(UTF16)] */,
476                                           uint8_t *buffer /* [out] [ref,size_is(offered)] */,
477                                           uint32_t offered /* [in]  */,
478                                           uint32_t *needed /* [out] [ref] */,
479                                           uint32_t *count /* [out] [ref] */,
480                                           WERROR *werror);
481 NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli,
482                                        TALLOC_CTX *mem_ctx,
483                                        struct policy_handle *handle /* [in] [ref] */,
484                                        const char *key_name /* [in] [charset(UTF16)] */,
485                                        uint16_t *key_buffer /* [out] [ref,size_is(key_buffer_size/2)] */,
486                                        uint32_t key_buffer_size /* [in]  */,
487                                        uint32_t *needed /* [out] [ref] */,
488                                        WERROR *werror);
489 NTSTATUS rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client *cli,
490                                             TALLOC_CTX *mem_ctx,
491                                             struct policy_handle *handle /* [in] [ref] */,
492                                             const char *key_name /* [in] [charset(UTF16)] */,
493                                             const char *value_name /* [in] [charset(UTF16)] */,
494                                             WERROR *werror);
495 NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli,
496                                          TALLOC_CTX *mem_ctx,
497                                          struct policy_handle *handle /* [in] [ref] */,
498                                          const char *key_name /* [in] [charset(UTF16)] */,
499                                          WERROR *werror);
500 NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli,
501                            TALLOC_CTX *mem_ctx,
502                            WERROR *werror);
503 NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli,
504                                               TALLOC_CTX *mem_ctx,
505                                               const char *server /* [in] [unique,charset(UTF16)] */,
506                                               const char *architecture /* [in] [charset(UTF16)] */,
507                                               const char *driver /* [in] [charset(UTF16)] */,
508                                               uint32_t delete_flags /* [in]  */,
509                                               uint32_t version /* [in]  */,
510                                               WERROR *werror);
511 NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli,
512                            TALLOC_CTX *mem_ctx,
513                            WERROR *werror);
514 NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli,
515                            TALLOC_CTX *mem_ctx,
516                            WERROR *werror);
517 NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli,
518                            TALLOC_CTX *mem_ctx,
519                            WERROR *werror);
520 NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli,
521                                 TALLOC_CTX *mem_ctx,
522                                 struct policy_handle *handle /* [in] [ref] */,
523                                 const char *function_name /* [in] [charset(UTF16)] */,
524                                 DATA_BLOB in_data /* [in]  */,
525                                 uint32_t _in_data_length /* [in] [value(r->in.in_data.length)] */,
526                                 uint8_t *out_data /* [out] [ref,size_is(out_data_size)] */,
527                                 uint32_t out_data_size /* [in]  */,
528                                 uint32_t *needed /* [out] [ref] */,
529                                 uint32_t *status_code /* [in,out] [ref] */,
530                                 WERROR *werror);
531 NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli,
532                                            TALLOC_CTX *mem_ctx,
533                                            const char *servername /* [in] [unique,charset(UTF16)] */,
534                                            struct spoolss_AddDriverInfoCtr *info_ctr /* [in] [ref] */,
535                                            uint32_t flags /* [in]  */,
536                                            WERROR *werror);
537 NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli,
538                            TALLOC_CTX *mem_ctx,
539                            WERROR *werror);
540 NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli,
541                            TALLOC_CTX *mem_ctx,
542                            WERROR *werror);
543 NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli,
544                            TALLOC_CTX *mem_ctx,
545                            WERROR *werror);
546 NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli,
547                            TALLOC_CTX *mem_ctx,
548                            WERROR *werror);
549 NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli,
550                            TALLOC_CTX *mem_ctx,
551                            WERROR *werror);
552 NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli,
553                            TALLOC_CTX *mem_ctx,
554                            WERROR *werror);
555 #endif /* __CLI_SPOOLSS__ */