s3:registry: add regsubkey_ctr_get_seqnum() to hide implementation
[Samba/gbeck.git] / librpc / gen_ndr / cli_spoolss.h
blob83b2e28729ec4292cf39ba2fbb7ffa059d64b233
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 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 spoolss_PrinterDataType *type /* [out] [ref] */,
195 union spoolss_PrinterData data /* [out] [subcontext_size(offered),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 spoolss_PrinterDataType 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] [unique,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] [unique,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] [unique,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 WERROR *werror);
319 NTSTATUS rpccli_spoolss_ResetPrinter(struct rpc_pipe_client *cli,
320 TALLOC_CTX *mem_ctx,
321 struct policy_handle *handle /* [in] [ref] */,
322 const char *data_type /* [in] [unique,charset(UTF16)] */,
323 struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
324 WERROR *werror);
325 NTSTATUS rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client *cli,
326 TALLOC_CTX *mem_ctx,
327 struct policy_handle *handle /* [in] [ref] */,
328 const char *architecture /* [in] [unique,charset(UTF16)] */,
329 uint32_t level /* [in] */,
330 DATA_BLOB *buffer /* [in] [unique] */,
331 uint32_t offered /* [in] */,
332 uint32_t client_major_version /* [in] */,
333 uint32_t client_minor_version /* [in] */,
334 union spoolss_DriverInfo *info /* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
335 uint32_t *needed /* [out] [ref] */,
336 uint32_t *server_major_version /* [out] [ref] */,
337 uint32_t *server_minor_version /* [out] [ref] */,
338 WERROR *werror);
339 NTSTATUS rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
340 TALLOC_CTX *mem_ctx,
341 WERROR *werror);
342 NTSTATUS rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client *cli,
343 TALLOC_CTX *mem_ctx,
344 WERROR *werror);
345 NTSTATUS rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client *cli,
346 TALLOC_CTX *mem_ctx,
347 struct policy_handle *handle /* [in] [ref] */,
348 WERROR *werror);
349 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client *cli,
350 TALLOC_CTX *mem_ctx,
351 WERROR *werror);
352 NTSTATUS rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client *cli,
353 TALLOC_CTX *mem_ctx,
354 const char *server_name /* [in] [charset(UTF16)] */,
355 uint32_t printer_local /* [in] */,
356 enum winreg_Type type /* [in] */,
357 uint32_t bufsize /* [in] [range(0,512)] */,
358 uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
359 struct policy_handle *handle /* [out] [ref] */,
360 WERROR *werror);
361 NTSTATUS rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client *cli,
362 TALLOC_CTX *mem_ctx,
363 struct policy_handle *handle /* [in] [ref] */,
364 uint32_t flags /* [in] */,
365 uint32_t bufsize /* [in] [range(0,512)] */,
366 uint8_t *buffer /* [in] [unique,size_is(bufsize)] */,
367 WERROR *werror);
368 NTSTATUS rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client *cli,
369 TALLOC_CTX *mem_ctx,
370 struct policy_handle *handle /* [in,out] [ref] */,
371 WERROR *werror);
372 NTSTATUS rpccli_spoolss_AddPortEx(struct rpc_pipe_client *cli,
373 TALLOC_CTX *mem_ctx,
374 WERROR *werror);
375 NTSTATUS rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client *cli,
376 TALLOC_CTX *mem_ctx,
377 WERROR *werror);
378 NTSTATUS rpccli_spoolss_SpoolerInit(struct rpc_pipe_client *cli,
379 TALLOC_CTX *mem_ctx,
380 WERROR *werror);
381 NTSTATUS rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client *cli,
382 TALLOC_CTX *mem_ctx,
383 WERROR *werror);
384 NTSTATUS rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client *cli,
385 TALLOC_CTX *mem_ctx,
386 struct policy_handle *handle /* [in] [ref] */,
387 uint32_t flags /* [in] */,
388 uint32_t options /* [in] */,
389 const char *local_machine /* [in] [unique,charset(UTF16)] */,
390 uint32_t printer_local /* [in] */,
391 struct spoolss_NotifyOption *notify_options /* [in] [unique] */,
392 WERROR *werror);
393 NTSTATUS rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client *cli,
394 TALLOC_CTX *mem_ctx,
395 struct policy_handle *handle /* [in] [ref] */,
396 uint32_t color /* [in] */,
397 uint32_t flags /* [in] */,
398 uint32_t *reply_result /* [out] [ref] */,
399 uint32_t reply_type /* [in] */,
400 union spoolss_ReplyPrinterInfo info /* [in] [switch_is(reply_type)] */,
401 WERROR *werror);
402 NTSTATUS rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client *cli,
403 TALLOC_CTX *mem_ctx,
404 struct policy_handle *handle /* [in] [ref] */,
405 uint32_t change_low /* [in] */,
406 struct spoolss_NotifyOption *options /* [in] [unique] */,
407 struct spoolss_NotifyInfo **info /* [out] [ref] */,
408 WERROR *werror);
409 NTSTATUS rpccli_spoolss_44(struct rpc_pipe_client *cli,
410 TALLOC_CTX *mem_ctx,
411 WERROR *werror);
412 NTSTATUS rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client *cli,
413 TALLOC_CTX *mem_ctx,
414 const char *printername /* [in] [unique,charset(UTF16)] */,
415 const char *datatype /* [in] [unique,charset(UTF16)] */,
416 struct spoolss_DevmodeContainer devmode_ctr /* [in] */,
417 uint32_t access_mask /* [in] */,
418 uint32_t level /* [in] */,
419 union spoolss_UserLevel userlevel /* [in] [switch_is(level)] */,
420 struct policy_handle *handle /* [out] [ref] */,
421 WERROR *werror);
422 NTSTATUS rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client *cli,
423 TALLOC_CTX *mem_ctx,
424 const char *server /* [in] [unique,charset(UTF16)] */,
425 struct spoolss_SetPrinterInfoCtr *info_ctr /* [in] [ref] */,
426 struct spoolss_DevmodeContainer *devmode_ctr /* [in] [ref] */,
427 struct sec_desc_buf *secdesc_ctr /* [in] [ref] */,
428 struct spoolss_UserLevelCtr *userlevel_ctr /* [in] [ref] */,
429 struct policy_handle *handle /* [out] [ref] */,
430 WERROR *werror);
431 NTSTATUS rpccli_spoolss_47(struct rpc_pipe_client *cli,
432 TALLOC_CTX *mem_ctx,
433 WERROR *werror);
434 NTSTATUS rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client *cli,
435 TALLOC_CTX *mem_ctx,
436 struct policy_handle *handle /* [in] [ref] */,
437 uint32_t enum_index /* [in] */,
438 const char *value_name /* [out] [charset(UTF16),size_is(value_offered/2)] */,
439 uint32_t value_offered /* [in] */,
440 uint32_t *value_needed /* [out] [ref] */,
441 uint32_t *printerdata_type /* [out] [ref] */,
442 DATA_BLOB *buffer /* [out] [ref] */,
443 uint32_t data_offered /* [in] */,
444 uint32_t *data_needed /* [out] [ref] */,
445 WERROR *werror);
446 NTSTATUS rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client *cli,
447 TALLOC_CTX *mem_ctx,
448 struct policy_handle *handle /* [in] [ref] */,
449 const char *value_name /* [in] [charset(UTF16)] */,
450 WERROR *werror);
451 NTSTATUS rpccli_spoolss_4a(struct rpc_pipe_client *cli,
452 TALLOC_CTX *mem_ctx,
453 WERROR *werror);
454 NTSTATUS rpccli_spoolss_4b(struct rpc_pipe_client *cli,
455 TALLOC_CTX *mem_ctx,
456 WERROR *werror);
457 NTSTATUS rpccli_spoolss_4c(struct rpc_pipe_client *cli,
458 TALLOC_CTX *mem_ctx,
459 WERROR *werror);
460 NTSTATUS rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client *cli,
461 TALLOC_CTX *mem_ctx,
462 struct policy_handle *handle /* [in] [ref] */,
463 const char *key_name /* [in] [charset(UTF16)] */,
464 const char *value_name /* [in] [charset(UTF16)] */,
465 uint32_t type /* [in] */,
466 uint8_t *buffer /* [in] [ref,size_is(offered)] */,
467 uint32_t offered /* [in] */,
468 WERROR *werror);
469 NTSTATUS rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client *cli,
470 TALLOC_CTX *mem_ctx,
471 struct policy_handle *handle /* [in] [ref] */,
472 const char *key_name /* [in] [charset(UTF16)] */,
473 const char *value_name /* [in] [charset(UTF16)] */,
474 uint32_t *type /* [out] [ref] */,
475 uint8_t *buffer /* [out] [ref,size_is(offered)] */,
476 uint32_t offered /* [in] */,
477 uint32_t *needed /* [out] [ref] */,
478 WERROR *werror);
479 NTSTATUS rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client *cli,
480 TALLOC_CTX *mem_ctx,
481 struct policy_handle *handle /* [in] [ref] */,
482 const char *key_name /* [in] [charset(UTF16)] */,
483 uint8_t *buffer /* [out] [ref,size_is(offered)] */,
484 uint32_t offered /* [in] */,
485 uint32_t *needed /* [out] [ref] */,
486 uint32_t *count /* [out] [ref] */,
487 WERROR *werror);
488 NTSTATUS rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client *cli,
489 TALLOC_CTX *mem_ctx,
490 struct policy_handle *handle /* [in] [ref] */,
491 const char *key_name /* [in] [charset(UTF16)] */,
492 uint16_t *key_buffer /* [out] [ref,size_is(key_buffer_size/2)] */,
493 uint32_t key_buffer_size /* [in] */,
494 uint32_t *needed /* [out] [ref] */,
495 WERROR *werror);
496 NTSTATUS rpccli_spoolss_DeletePrinterDataEx(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 *value_name /* [in] [charset(UTF16)] */,
501 WERROR *werror);
502 NTSTATUS rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client *cli,
503 TALLOC_CTX *mem_ctx,
504 struct policy_handle *handle /* [in] [ref] */,
505 const char *key_name /* [in] [charset(UTF16)] */,
506 WERROR *werror);
507 NTSTATUS rpccli_spoolss_53(struct rpc_pipe_client *cli,
508 TALLOC_CTX *mem_ctx,
509 WERROR *werror);
510 NTSTATUS rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client *cli,
511 TALLOC_CTX *mem_ctx,
512 const char *server /* [in] [unique,charset(UTF16)] */,
513 const char *architecture /* [in] [charset(UTF16)] */,
514 const char *driver /* [in] [charset(UTF16)] */,
515 uint32_t delete_flags /* [in] */,
516 uint32_t version /* [in] */,
517 WERROR *werror);
518 NTSTATUS rpccli_spoolss_55(struct rpc_pipe_client *cli,
519 TALLOC_CTX *mem_ctx,
520 WERROR *werror);
521 NTSTATUS rpccli_spoolss_56(struct rpc_pipe_client *cli,
522 TALLOC_CTX *mem_ctx,
523 WERROR *werror);
524 NTSTATUS rpccli_spoolss_57(struct rpc_pipe_client *cli,
525 TALLOC_CTX *mem_ctx,
526 WERROR *werror);
527 NTSTATUS rpccli_spoolss_XcvData(struct rpc_pipe_client *cli,
528 TALLOC_CTX *mem_ctx,
529 struct policy_handle *handle /* [in] [ref] */,
530 const char *function_name /* [in] [charset(UTF16)] */,
531 DATA_BLOB in_data /* [in] */,
532 uint32_t _in_data_length /* [in] [value(r->in.in_data.length)] */,
533 uint8_t *out_data /* [out] [ref,size_is(out_data_size)] */,
534 uint32_t out_data_size /* [in] */,
535 uint32_t *needed /* [out] [ref] */,
536 uint32_t *status_code /* [in,out] [ref] */,
537 WERROR *werror);
538 NTSTATUS rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client *cli,
539 TALLOC_CTX *mem_ctx,
540 const char *servername /* [in] [unique,charset(UTF16)] */,
541 struct spoolss_AddDriverInfoCtr *info_ctr /* [in] [ref] */,
542 uint32_t flags /* [in] */,
543 WERROR *werror);
544 NTSTATUS rpccli_spoolss_5a(struct rpc_pipe_client *cli,
545 TALLOC_CTX *mem_ctx,
546 WERROR *werror);
547 NTSTATUS rpccli_spoolss_5b(struct rpc_pipe_client *cli,
548 TALLOC_CTX *mem_ctx,
549 WERROR *werror);
550 NTSTATUS rpccli_spoolss_5c(struct rpc_pipe_client *cli,
551 TALLOC_CTX *mem_ctx,
552 WERROR *werror);
553 NTSTATUS rpccli_spoolss_5d(struct rpc_pipe_client *cli,
554 TALLOC_CTX *mem_ctx,
555 WERROR *werror);
556 NTSTATUS rpccli_spoolss_5e(struct rpc_pipe_client *cli,
557 TALLOC_CTX *mem_ctx,
558 WERROR *werror);
559 NTSTATUS rpccli_spoolss_5f(struct rpc_pipe_client *cli,
560 TALLOC_CTX *mem_ctx,
561 WERROR *werror);
562 #endif /* __CLI_SPOOLSS__ */