s3/docs: Fix typo.
[Samba/gebeck_regimport.git] / librpc / gen_ndr / cli_spoolss.h
blobeb86e8c6a08d50a0366b3f4e09cb2ec78d75b27f
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] [ref,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] [ref,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] [ref,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] [ref,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 const char *server /* [in] [unique,charset(UTF16)] */,
132 const char *environment /* [in] [unique,charset(UTF16)] */,
133 uint32_t level /* [in] */,
134 DATA_BLOB *buffer /* [in] [unique] */,
135 uint32_t offered /* [in] */,
136 union spoolss_PrintProcessorDirectoryInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
137 uint32_t *needed /* [out] [ref] */,
138 WERROR *werror);
139 NTSTATUS rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client *cli,
140 TALLOC_CTX *mem_ctx,
141 struct policy_handle *handle /* [in] [ref] */,
142 uint32_t level /* [in] */,
143 union spoolss_DocumentInfo info /* [in] [switch_is(level)] */,
144 uint32_t *job_id /* [out] [ref] */,
145 WERROR *werror);
146 NTSTATUS rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client *cli,
147 TALLOC_CTX *mem_ctx,
148 struct policy_handle *handle /* [in] [ref] */,
149 WERROR *werror);
150 NTSTATUS rpccli_spoolss_WritePrinter(struct rpc_pipe_client *cli,
151 TALLOC_CTX *mem_ctx,
152 struct policy_handle *handle /* [in] [ref] */,
153 DATA_BLOB data /* [in] */,
154 uint32_t _data_size /* [in] [value(r->in.data.length)] */,
155 uint32_t *num_written /* [out] [ref] */,
156 WERROR *werror);
157 NTSTATUS rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client *cli,
158 TALLOC_CTX *mem_ctx,
159 struct policy_handle *handle /* [in] [ref] */,
160 WERROR *werror);
161 NTSTATUS rpccli_spoolss_AbortPrinter(struct rpc_pipe_client *cli,
162 TALLOC_CTX *mem_ctx,
163 struct policy_handle *handle /* [in] [ref] */,
164 WERROR *werror);
165 NTSTATUS rpccli_spoolss_ReadPrinter(struct rpc_pipe_client *cli,
166 TALLOC_CTX *mem_ctx,
167 struct policy_handle *handle /* [in] [ref] */,
168 uint8_t *data /* [out] [ref,size_is(data_size)] */,
169 uint32_t data_size /* [in] */,
170 uint32_t *_data_size /* [out] [ref] */,
171 WERROR *werror);
172 NTSTATUS rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client *cli,
173 TALLOC_CTX *mem_ctx,
174 struct policy_handle *handle /* [in] [ref] */,
175 WERROR *werror);
176 NTSTATUS rpccli_spoolss_AddJob(struct rpc_pipe_client *cli,
177 TALLOC_CTX *mem_ctx,
178 struct policy_handle *handle /* [in] [ref] */,
179 uint32_t level /* [in] */,
180 uint8_t *buffer /* [in,out] [unique,size_is(offered)] */,
181 uint32_t offered /* [in] */,
182 uint32_t *needed /* [out] [ref] */,
183 WERROR *werror);
184 NTSTATUS rpccli_spoolss_ScheduleJob(struct rpc_pipe_client *cli,
185 TALLOC_CTX *mem_ctx,
186 struct policy_handle *handle /* [in] [ref] */,
187 uint32_t jobid /* [in] */,
188 WERROR *werror);
189 NTSTATUS rpccli_spoolss_GetPrinterData(struct rpc_pipe_client *cli,
190 TALLOC_CTX *mem_ctx,
191 struct policy_handle *handle /* [in] [ref] */,
192 const char *value_name /* [in] [charset(UTF16)] */,
193 uint32_t offered /* [in] */,
194 enum winreg_Type *type /* [out] [ref] */,
195 union spoolss_PrinterData *data /* [out] [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */,
196 uint32_t *needed /* [out] [ref] */,
197 WERROR *werror);
198 NTSTATUS rpccli_spoolss_SetPrinterData(struct rpc_pipe_client *cli,
199 TALLOC_CTX *mem_ctx,
200 struct policy_handle *handle /* [in] [ref] */,
201 const char *value_name /* [in] [charset(UTF16)] */,
202 enum winreg_Type type /* [in] */,
203 union spoolss_PrinterData data /* [in] [subcontext(4),switch_is(type)] */,
204 uint32_t _offered /* [in] [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */,
205 WERROR *werror);
206 NTSTATUS rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client *cli,
207 TALLOC_CTX *mem_ctx,
208 WERROR *werror);
209 NTSTATUS rpccli_spoolss_ClosePrinter(struct rpc_pipe_client *cli,
210 TALLOC_CTX *mem_ctx,
211 struct policy_handle *handle /* [in,out] [ref] */,
212 WERROR *werror);
213 NTSTATUS rpccli_spoolss_AddForm(struct rpc_pipe_client *cli,
214 TALLOC_CTX *mem_ctx,
215 struct policy_handle *handle /* [in] [ref] */,
216 uint32_t level /* [in] */,
217 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
218 WERROR *werror);
219 NTSTATUS rpccli_spoolss_DeleteForm(struct rpc_pipe_client *cli,
220 TALLOC_CTX *mem_ctx,
221 struct policy_handle *handle /* [in] [ref] */,
222 const char *form_name /* [in] [charset(UTF16)] */,
223 WERROR *werror);
224 NTSTATUS rpccli_spoolss_GetForm(struct rpc_pipe_client *cli,
225 TALLOC_CTX *mem_ctx,
226 struct policy_handle *handle /* [in] [ref] */,
227 const char *form_name /* [in] [charset(UTF16)] */,
228 uint32_t level /* [in] */,
229 DATA_BLOB *buffer /* [in] [unique] */,
230 uint32_t offered /* [in] */,
231 union spoolss_FormInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
232 uint32_t *needed /* [out] [ref] */,
233 WERROR *werror);
234 NTSTATUS rpccli_spoolss_SetForm(struct rpc_pipe_client *cli,
235 TALLOC_CTX *mem_ctx,
236 struct policy_handle *handle /* [in] [ref] */,
237 const char *form_name /* [in] [charset(UTF16)] */,
238 uint32_t level /* [in] */,
239 union spoolss_AddFormInfo info /* [in] [switch_is(level)] */,
240 WERROR *werror);
241 NTSTATUS rpccli_spoolss_EnumForms(struct rpc_pipe_client *cli,
242 TALLOC_CTX *mem_ctx,
243 struct policy_handle *handle /* [in] [ref] */,
244 uint32_t level /* [in] */,
245 DATA_BLOB *buffer /* [in] [unique] */,
246 uint32_t offered /* [in] */,
247 uint32_t *count /* [out] [ref] */,
248 union spoolss_FormInfo **info /* [out] [ref,switch_is(level),size_is(,*count)] */,
249 uint32_t *needed /* [out] [ref] */,
250 WERROR *werror);
251 NTSTATUS rpccli_spoolss_EnumPorts(struct rpc_pipe_client *cli,
252 TALLOC_CTX *mem_ctx,
253 const char *servername /* [in] [unique,charset(UTF16)] */,
254 uint32_t level /* [in] */,
255 DATA_BLOB *buffer /* [in] [unique] */,
256 uint32_t offered /* [in] */,
257 uint32_t *count /* [out] [ref] */,
258 union spoolss_PortInfo **info /* [out] [ref,switch_is(level),size_is(,*count)] */,
259 uint32_t *needed /* [out] [ref] */,
260 WERROR *werror);
261 NTSTATUS rpccli_spoolss_EnumMonitors(struct rpc_pipe_client *cli,
262 TALLOC_CTX *mem_ctx,
263 const char *servername /* [in] [unique,charset(UTF16)] */,
264 uint32_t level /* [in] */,
265 DATA_BLOB *buffer /* [in] [unique] */,
266 uint32_t offered /* [in] */,
267 uint32_t *count /* [out] [ref] */,
268 union spoolss_MonitorInfo **info /* [out] [ref,switch_is(level),size_is(,*count)] */,
269 uint32_t *needed /* [out] [ref] */,
270 WERROR *werror);
271 NTSTATUS rpccli_spoolss_AddPort(struct rpc_pipe_client *cli,
272 TALLOC_CTX *mem_ctx,
273 const char *server_name /* [in] [unique,charset(UTF16)] */,
274 uint32_t unknown /* [in] */,
275 const char *monitor_name /* [in] [charset(UTF16)] */,
276 WERROR *werror);
277 NTSTATUS rpccli_spoolss_ConfigurePort(struct rpc_pipe_client *cli,
278 TALLOC_CTX *mem_ctx,
279 WERROR *werror);
280 NTSTATUS rpccli_spoolss_DeletePort(struct rpc_pipe_client *cli,
281 TALLOC_CTX *mem_ctx,
282 WERROR *werror);
283 NTSTATUS rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client *cli,
284 TALLOC_CTX *mem_ctx,
285 WERROR *werror);
286 NTSTATUS rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client *cli,
287 TALLOC_CTX *mem_ctx,
288 WERROR *werror);
289 NTSTATUS rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client *cli,
290 TALLOC_CTX *mem_ctx,
291 WERROR *werror);
292 NTSTATUS rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client *cli,
293 TALLOC_CTX *mem_ctx,
294 WERROR *werror);
295 NTSTATUS rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client *cli,
296 TALLOC_CTX *mem_ctx,
297 WERROR *werror);
298 NTSTATUS rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client *cli,
299 TALLOC_CTX *mem_ctx,
300 WERROR *werror);
301 NTSTATUS rpccli_spoolss_AddMonitor(struct rpc_pipe_client *cli,
302 TALLOC_CTX *mem_ctx,
303 WERROR *werror);
304 NTSTATUS rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client *cli,
305 TALLOC_CTX *mem_ctx,
306 WERROR *werror);
307 NTSTATUS rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client *cli,
308 TALLOC_CTX *mem_ctx,
309 WERROR *werror);
310 NTSTATUS rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client *cli,
311 TALLOC_CTX *mem_ctx,
312 WERROR *werror);
313 NTSTATUS rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client *cli,
314 TALLOC_CTX *mem_ctx,
315 WERROR *werror);
316 NTSTATUS rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client *cli,
317 TALLOC_CTX *mem_ctx,
318 const char *servername /* [in] [unique,charset(UTF16)] */,
319 const char *print_processor_name /* [in] [unique,charset(UTF16)] */,
320 uint32_t level /* [in] */,
321 DATA_BLOB *buffer /* [in] [unique] */,
322 uint32_t offered /* [in] */,
323 uint32_t *count /* [out] [ref] */,
324 union spoolss_PrintProcDataTypesInfo **info /* [out] [ref,switch_is(level),size_is(,*count)] */,
325 uint32_t *needed /* [out] [ref] */,
326 WERROR *werror);
327 NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli,
328 TALLOC_CTX *mem_ctx,
329 struct policy_handle *handle /* [in] [ref] */,
330 const char *data_type /* [in] [unique,charset(UTF16)] */,
331 struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
332 WERROR *werror);
333 NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli,
334 TALLOC_CTX *mem_ctx,
335 struct policy_handle *handle /* [in] [ref] */,
336 const char *architecture /* [in] [unique,charset(UTF16)] */,
337 uint32_t level /* [in] */,
338 DATA_BLOB *buffer /* [in] [unique] */,
339 uint32_t offered /* [in] */,
340 uint32_t client_major_version /* [in] */,
341 uint32_t client_minor_version /* [in] */,
342 union spoolss_DriverInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
343 uint32_t *needed /* [out] [ref] */,
344 uint32_t *server_major_version /* [out] [ref] */,
345 uint32_t *server_minor_version /* [out] [ref] */,
346 WERROR *werror);
347 NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
348 TALLOC_CTX *mem_ctx,
349 WERROR *werror);
350 NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client *cli,
351 TALLOC_CTX *mem_ctx,
352 WERROR *werror);
353 NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli,
354 TALLOC_CTX *mem_ctx,
355 struct policy_handle *handle /* [in] [ref] */,
356 WERROR *werror);
357 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client *cli,
358 TALLOC_CTX *mem_ctx,
359 WERROR *werror);
360 NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli,
361 TALLOC_CTX *mem_ctx,
362 const char *server_name /* [in] [charset(UTF16)] */,
363 uint32_t printer_local /* [in] */,
364 enum winreg_Type type /* [in] */,
365 uint32_t bufsize /* [in] [range(0,512)] */,
366 uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
367 struct policy_handle *handle /* [out] [ref] */,
368 WERROR *werror);
369 NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli,
370 TALLOC_CTX *mem_ctx,
371 struct policy_handle *handle /* [in] [ref] */,
372 uint32_t flags /* [in] */,
373 uint32_t bufsize /* [in] [range(0,512)] */,
374 uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
375 WERROR *werror);
376 NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli,
377 TALLOC_CTX *mem_ctx,
378 struct policy_handle *handle /* [in,out] [ref] */,
379 WERROR *werror);
380 NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli,
381 TALLOC_CTX *mem_ctx,
382 WERROR *werror);
383 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
384 TALLOC_CTX *mem_ctx,
385 WERROR *werror);
386 NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli,
387 TALLOC_CTX *mem_ctx,
388 WERROR *werror);
389 NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli,
390 TALLOC_CTX *mem_ctx,
391 WERROR *werror);
392 NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client *cli,
393 TALLOC_CTX *mem_ctx,
394 struct policy_handle *handle /* [in] [ref] */,
395 uint32_t flags /* [in] */,
396 uint32_t options /* [in] */,
397 const char *local_machine /* [in] [unique,charset(UTF16)] */,
398 uint32_t printer_local /* [in] */,
399 struct spoolss_NotifyOption *notify_options /* [in] [unique] */,
400 WERROR *werror);
401 NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli,
402 TALLOC_CTX *mem_ctx,
403 struct policy_handle *handle /* [in] [ref] */,
404 uint32_t color /* [in] */,
405 uint32_t flags /* [in] */,
406 uint32_t *reply_result /* [out] [ref] */,
407 uint32_t reply_type /* [in] */,
408 union spoolss_ReplyPrinterInfo info /* [in] [switch_is(reply_type)] */,
409 WERROR *werror);
410 NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client *cli,
411 TALLOC_CTX *mem_ctx,
412 struct policy_handle *handle /* [in] [ref] */,
413 uint32_t change_low /* [in] */,
414 struct spoolss_NotifyOption *options /* [in] [unique] */,
415 struct spoolss_NotifyInfo **info /* [out] [ref] */,
416 WERROR *werror);
417 NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli,
418 TALLOC_CTX *mem_ctx,
419 WERROR *werror);
420 NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli,
421 TALLOC_CTX *mem_ctx,
422 const char *printername /* [in] [unique,charset(UTF16)] */,
423 const char *datatype /* [in] [unique,charset(UTF16)] */,
424 struct spoolss_DevmodeContainer devmode_ctr /* [in] */,
425 uint32_t access_mask /* [in] */,
426 uint32_t level /* [in] */,
427 union spoolss_UserLevel userlevel /* [in] [switch_is(level)] */,
428 struct policy_handle *handle /* [out] [ref] */,
429 WERROR *werror);
430 NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli,
431 TALLOC_CTX *mem_ctx,
432 const char *server /* [in] [unique,charset(UTF16)] */,
433 struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
434 struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
435 struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
436 struct spoolss_UserLevelCtr *userlevel_ctr /* [in] [ref] */,
437 struct policy_handle *handle /* [out] [ref] */,
438 WERROR *werror);
439 NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli,
440 TALLOC_CTX *mem_ctx,
441 WERROR *werror);
442 NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli,
443 TALLOC_CTX *mem_ctx,
444 struct policy_handle *handle /* [in] [ref] */,
445 uint32_t enum_index /* [in] */,
446 const char *value_name /* [out] [charset(UTF16),size_is(value_offered/2)] */,
447 uint32_t value_offered /* [in] */,
448 uint32_t *value_needed /* [out] [ref] */,
449 enum winreg_Type *type /* [out] [ref] */,
450 uint8_t *data /* [out] [ref,flag(LIBNDR_PRINT_ARRAY_HEX),size_is(data_offered)] */,
451 uint32_t data_offered /* [in] */,
452 uint32_t *data_needed /* [out] [ref] */,
453 WERROR *werror);
454 NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli,
455 TALLOC_CTX *mem_ctx,
456 struct policy_handle *handle /* [in] [ref] */,
457 const char *value_name /* [in] [charset(UTF16)] */,
458 WERROR *werror);
459 NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli,
460 TALLOC_CTX *mem_ctx,
461 WERROR *werror);
462 NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli,
463 TALLOC_CTX *mem_ctx,
464 WERROR *werror);
465 NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli,
466 TALLOC_CTX *mem_ctx,
467 WERROR *werror);
468 NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli,
469 TALLOC_CTX *mem_ctx,
470 struct policy_handle *handle /* [in] [ref] */,
471 const char *key_name /* [in] [charset(UTF16)] */,
472 const char *value_name /* [in] [charset(UTF16)] */,
473 enum winreg_Type type /* [in] */,
474 uint8_t *buffer /* [in] [ref,size_is(offered)] */,
475 uint32_t offered /* [in] */,
476 WERROR *werror);
477 NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli,
478 TALLOC_CTX *mem_ctx,
479 struct policy_handle *handle /* [in] [ref] */,
480 const char *key_name /* [in] [charset(UTF16)] */,
481 const char *value_name /* [in] [charset(UTF16)] */,
482 enum winreg_Type *type /* [out] [ref] */,
483 uint8_t *buffer /* [out] [ref,size_is(offered)] */,
484 uint32_t offered /* [in] */,
485 uint32_t *needed /* [out] [ref] */,
486 WERROR *werror);
487 NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
488 TALLOC_CTX *mem_ctx,
489 struct policy_handle *handle /* [in] [ref] */,
490 const char *key_name /* [in] [charset(UTF16)] */,
491 uint32_t offered /* [in] */,
492 uint32_t *count /* [out] [ref] */,
493 struct spoolss_PrinterEnumValues **info /* [out] [ref,size_is(,*count)] */,
494 uint32_t *needed /* [out] [ref] */,
495 WERROR *werror);
496 NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli,
497 TALLOC_CTX *mem_ctx,
498 struct policy_handle *handle /* [in] [ref] */,
499 const char *key_name /* [in] [charset(UTF16)] */,
500 const char ** *key_buffer /* [out] [subcontext_size(offered),ref,subcontext(0),flag(LIBNDR_FLAG_STR_NULLTERM)] */,
501 uint32_t offered /* [in] */,
502 uint32_t *needed /* [out] [ref] */,
503 WERROR *werror);
504 NTSTATUS rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client *cli,
505 TALLOC_CTX *mem_ctx,
506 struct policy_handle *handle /* [in] [ref] */,
507 const char *key_name /* [in] [charset(UTF16)] */,
508 const char *value_name /* [in] [charset(UTF16)] */,
509 WERROR *werror);
510 NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli,
511 TALLOC_CTX *mem_ctx,
512 struct policy_handle *handle /* [in] [ref] */,
513 const char *key_name /* [in] [charset(UTF16)] */,
514 WERROR *werror);
515 NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli,
516 TALLOC_CTX *mem_ctx,
517 WERROR *werror);
518 NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli,
519 TALLOC_CTX *mem_ctx,
520 const char *server /* [in] [unique,charset(UTF16)] */,
521 const char *architecture /* [in] [charset(UTF16)] */,
522 const char *driver /* [in] [charset(UTF16)] */,
523 uint32_t delete_flags /* [in] */,
524 uint32_t version /* [in] */,
525 WERROR *werror);
526 NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli,
527 TALLOC_CTX *mem_ctx,
528 WERROR *werror);
529 NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli,
530 TALLOC_CTX *mem_ctx,
531 WERROR *werror);
532 NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli,
533 TALLOC_CTX *mem_ctx,
534 WERROR *werror);
535 NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli,
536 TALLOC_CTX *mem_ctx,
537 struct policy_handle *handle /* [in] [ref] */,
538 const char *function_name /* [in] [charset(UTF16)] */,
539 DATA_BLOB in_data /* [in] */,
540 uint32_t _in_data_length /* [in] [value(r->in.in_data.length)] */,
541 uint8_t *out_data /* [out] [ref,size_is(out_data_size)] */,
542 uint32_t out_data_size /* [in] */,
543 uint32_t *needed /* [out] [ref] */,
544 uint32_t *status_code /* [in,out] [ref] */,
545 WERROR *werror);
546 NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli,
547 TALLOC_CTX *mem_ctx,
548 const char *servername /* [in] [unique,charset(UTF16)] */,
549 struct spoolss_AddDriverInfoCtr *info_ctr /* [in] [ref] */,
550 uint32_t flags /* [in] */,
551 WERROR *werror);
552 NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli,
553 TALLOC_CTX *mem_ctx,
554 WERROR *werror);
555 NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli,
556 TALLOC_CTX *mem_ctx,
557 WERROR *werror);
558 NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli,
559 TALLOC_CTX *mem_ctx,
560 WERROR *werror);
561 NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli,
562 TALLOC_CTX *mem_ctx,
563 WERROR *werror);
564 NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli,
565 TALLOC_CTX *mem_ctx,
566 WERROR *werror);
567 NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli,
568 TALLOC_CTX *mem_ctx,
569 WERROR *werror);
570 #endif /* __CLI_SPOOLSS__ */