1 #include "../librpc/gen_ndr/ndr_spoolss.h"
2 #ifndef __CLI_SPOOLSS__
3 #define __CLI_SPOOLSS__
4 struct tevent_req
*rpccli_spoolss_EnumPrinters_send(TALLOC_CTX
*mem_ctx
,
5 struct tevent_context
*ev
,
6 struct rpc_pipe_client
*cli
,
7 uint32_t _flags
/* [in] */,
8 const char *_server
/* [in] [unique,charset(UTF16)] */,
9 uint32_t _level
/* [in] */,
10 DATA_BLOB
*_buffer
/* [in] [unique] */,
11 uint32_t _offered
/* [in] */,
12 uint32_t *_count
/* [out] [ref] */,
13 union spoolss_PrinterInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
14 uint32_t *_needed
/* [out] [ref] */);
15 NTSTATUS
rpccli_spoolss_EnumPrinters_recv(struct tevent_req
*req
,
18 NTSTATUS
rpccli_spoolss_EnumPrinters(struct rpc_pipe_client
*cli
,
20 uint32_t flags
/* [in] */,
21 const char *server
/* [in] [unique,charset(UTF16)] */,
22 uint32_t level
/* [in] */,
23 DATA_BLOB
*buffer
/* [in] [unique] */,
24 uint32_t offered
/* [in] */,
25 uint32_t *count
/* [out] [ref] */,
26 union spoolss_PrinterInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
27 uint32_t *needed
/* [out] [ref] */,
29 struct tevent_req
*rpccli_spoolss_OpenPrinter_send(TALLOC_CTX
*mem_ctx
,
30 struct tevent_context
*ev
,
31 struct rpc_pipe_client
*cli
,
32 const char *_printername
/* [in] [unique,charset(UTF16)] */,
33 const char *_datatype
/* [in] [unique,charset(UTF16)] */,
34 struct spoolss_DevmodeContainer _devmode_ctr
/* [in] */,
35 uint32_t _access_mask
/* [in] */,
36 struct policy_handle
*_handle
/* [out] [ref] */);
37 NTSTATUS
rpccli_spoolss_OpenPrinter_recv(struct tevent_req
*req
,
40 NTSTATUS
rpccli_spoolss_OpenPrinter(struct rpc_pipe_client
*cli
,
42 const char *printername
/* [in] [unique,charset(UTF16)] */,
43 const char *datatype
/* [in] [unique,charset(UTF16)] */,
44 struct spoolss_DevmodeContainer devmode_ctr
/* [in] */,
45 uint32_t access_mask
/* [in] */,
46 struct policy_handle
*handle
/* [out] [ref] */,
48 struct tevent_req
*rpccli_spoolss_SetJob_send(TALLOC_CTX
*mem_ctx
,
49 struct tevent_context
*ev
,
50 struct rpc_pipe_client
*cli
,
51 struct policy_handle
*_handle
/* [in] [ref] */,
52 uint32_t _job_id
/* [in] */,
53 struct spoolss_JobInfoContainer
*_ctr
/* [in] [unique] */,
54 enum spoolss_JobControl _command
/* [in] */);
55 NTSTATUS
rpccli_spoolss_SetJob_recv(struct tevent_req
*req
,
58 NTSTATUS
rpccli_spoolss_SetJob(struct rpc_pipe_client
*cli
,
60 struct policy_handle
*handle
/* [in] [ref] */,
61 uint32_t job_id
/* [in] */,
62 struct spoolss_JobInfoContainer
*ctr
/* [in] [unique] */,
63 enum spoolss_JobControl command
/* [in] */,
65 struct tevent_req
*rpccli_spoolss_GetJob_send(TALLOC_CTX
*mem_ctx
,
66 struct tevent_context
*ev
,
67 struct rpc_pipe_client
*cli
,
68 struct policy_handle
*_handle
/* [in] [ref] */,
69 uint32_t _job_id
/* [in] */,
70 uint32_t _level
/* [in] */,
71 DATA_BLOB
*_buffer
/* [in] [unique] */,
72 uint32_t _offered
/* [in] */,
73 union spoolss_JobInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
74 uint32_t *_needed
/* [out] [ref] */);
75 NTSTATUS
rpccli_spoolss_GetJob_recv(struct tevent_req
*req
,
78 NTSTATUS
rpccli_spoolss_GetJob(struct rpc_pipe_client
*cli
,
80 struct policy_handle
*handle
/* [in] [ref] */,
81 uint32_t job_id
/* [in] */,
82 uint32_t level
/* [in] */,
83 DATA_BLOB
*buffer
/* [in] [unique] */,
84 uint32_t offered
/* [in] */,
85 union spoolss_JobInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
86 uint32_t *needed
/* [out] [ref] */,
88 struct tevent_req
*rpccli_spoolss_EnumJobs_send(TALLOC_CTX
*mem_ctx
,
89 struct tevent_context
*ev
,
90 struct rpc_pipe_client
*cli
,
91 struct policy_handle
*_handle
/* [in] [ref] */,
92 uint32_t _firstjob
/* [in] */,
93 uint32_t _numjobs
/* [in] */,
94 uint32_t _level
/* [in] */,
95 DATA_BLOB
*_buffer
/* [in] [unique] */,
96 uint32_t _offered
/* [in] */,
97 uint32_t *_count
/* [out] [ref] */,
98 union spoolss_JobInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
99 uint32_t *_needed
/* [out] [ref] */);
100 NTSTATUS
rpccli_spoolss_EnumJobs_recv(struct tevent_req
*req
,
103 NTSTATUS
rpccli_spoolss_EnumJobs(struct rpc_pipe_client
*cli
,
105 struct policy_handle
*handle
/* [in] [ref] */,
106 uint32_t firstjob
/* [in] */,
107 uint32_t numjobs
/* [in] */,
108 uint32_t level
/* [in] */,
109 DATA_BLOB
*buffer
/* [in] [unique] */,
110 uint32_t offered
/* [in] */,
111 uint32_t *count
/* [out] [ref] */,
112 union spoolss_JobInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
113 uint32_t *needed
/* [out] [ref] */,
115 struct tevent_req
*rpccli_spoolss_AddPrinter_send(TALLOC_CTX
*mem_ctx
,
116 struct tevent_context
*ev
,
117 struct rpc_pipe_client
*cli
,
118 const char *_server
/* [in] [unique,charset(UTF16)] */,
119 struct spoolss_SetPrinterInfoCtr
*_info_ctr
/* [in] [ref] */,
120 struct spoolss_DevmodeContainer
*_devmode_ctr
/* [in] [ref] */,
121 struct sec_desc_buf
*_secdesc_ctr
/* [in] [ref] */,
122 struct policy_handle
*_handle
/* [out] [ref] */);
123 NTSTATUS
rpccli_spoolss_AddPrinter_recv(struct tevent_req
*req
,
126 NTSTATUS
rpccli_spoolss_AddPrinter(struct rpc_pipe_client
*cli
,
128 const char *server
/* [in] [unique,charset(UTF16)] */,
129 struct spoolss_SetPrinterInfoCtr
*info_ctr
/* [in] [ref] */,
130 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
131 struct sec_desc_buf
*secdesc_ctr
/* [in] [ref] */,
132 struct policy_handle
*handle
/* [out] [ref] */,
134 struct tevent_req
*rpccli_spoolss_DeletePrinter_send(TALLOC_CTX
*mem_ctx
,
135 struct tevent_context
*ev
,
136 struct rpc_pipe_client
*cli
,
137 struct policy_handle
*_handle
/* [in] [ref] */);
138 NTSTATUS
rpccli_spoolss_DeletePrinter_recv(struct tevent_req
*req
,
141 NTSTATUS
rpccli_spoolss_DeletePrinter(struct rpc_pipe_client
*cli
,
143 struct policy_handle
*handle
/* [in] [ref] */,
145 struct tevent_req
*rpccli_spoolss_SetPrinter_send(TALLOC_CTX
*mem_ctx
,
146 struct tevent_context
*ev
,
147 struct rpc_pipe_client
*cli
,
148 struct policy_handle
*_handle
/* [in] [ref] */,
149 struct spoolss_SetPrinterInfoCtr
*_info_ctr
/* [in] [ref] */,
150 struct spoolss_DevmodeContainer
*_devmode_ctr
/* [in] [ref] */,
151 struct sec_desc_buf
*_secdesc_ctr
/* [in] [ref] */,
152 enum spoolss_PrinterControl _command
/* [in] */);
153 NTSTATUS
rpccli_spoolss_SetPrinter_recv(struct tevent_req
*req
,
156 NTSTATUS
rpccli_spoolss_SetPrinter(struct rpc_pipe_client
*cli
,
158 struct policy_handle
*handle
/* [in] [ref] */,
159 struct spoolss_SetPrinterInfoCtr
*info_ctr
/* [in] [ref] */,
160 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
161 struct sec_desc_buf
*secdesc_ctr
/* [in] [ref] */,
162 enum spoolss_PrinterControl command
/* [in] */,
164 struct tevent_req
*rpccli_spoolss_GetPrinter_send(TALLOC_CTX
*mem_ctx
,
165 struct tevent_context
*ev
,
166 struct rpc_pipe_client
*cli
,
167 struct policy_handle
*_handle
/* [in] [ref] */,
168 uint32_t _level
/* [in] */,
169 DATA_BLOB
*_buffer
/* [in] [unique] */,
170 uint32_t _offered
/* [in] */,
171 union spoolss_PrinterInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
172 uint32_t *_needed
/* [out] [ref] */);
173 NTSTATUS
rpccli_spoolss_GetPrinter_recv(struct tevent_req
*req
,
176 NTSTATUS
rpccli_spoolss_GetPrinter(struct rpc_pipe_client
*cli
,
178 struct policy_handle
*handle
/* [in] [ref] */,
179 uint32_t level
/* [in] */,
180 DATA_BLOB
*buffer
/* [in] [unique] */,
181 uint32_t offered
/* [in] */,
182 union spoolss_PrinterInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
183 uint32_t *needed
/* [out] [ref] */,
185 struct tevent_req
*rpccli_spoolss_AddPrinterDriver_send(TALLOC_CTX
*mem_ctx
,
186 struct tevent_context
*ev
,
187 struct rpc_pipe_client
*cli
,
188 const char *_servername
/* [in] [unique,charset(UTF16)] */,
189 struct spoolss_AddDriverInfoCtr
*_info_ctr
/* [in] [ref] */);
190 NTSTATUS
rpccli_spoolss_AddPrinterDriver_recv(struct tevent_req
*req
,
193 NTSTATUS
rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client
*cli
,
195 const char *servername
/* [in] [unique,charset(UTF16)] */,
196 struct spoolss_AddDriverInfoCtr
*info_ctr
/* [in] [ref] */,
198 struct tevent_req
*rpccli_spoolss_EnumPrinterDrivers_send(TALLOC_CTX
*mem_ctx
,
199 struct tevent_context
*ev
,
200 struct rpc_pipe_client
*cli
,
201 const char *_server
/* [in] [unique,charset(UTF16)] */,
202 const char *_environment
/* [in] [unique,charset(UTF16)] */,
203 uint32_t _level
/* [in] */,
204 DATA_BLOB
*_buffer
/* [in] [unique] */,
205 uint32_t _offered
/* [in] */,
206 uint32_t *_count
/* [out] [ref] */,
207 union spoolss_DriverInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
208 uint32_t *_needed
/* [out] [ref] */);
209 NTSTATUS
rpccli_spoolss_EnumPrinterDrivers_recv(struct tevent_req
*req
,
212 NTSTATUS
rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client
*cli
,
214 const char *server
/* [in] [unique,charset(UTF16)] */,
215 const char *environment
/* [in] [unique,charset(UTF16)] */,
216 uint32_t level
/* [in] */,
217 DATA_BLOB
*buffer
/* [in] [unique] */,
218 uint32_t offered
/* [in] */,
219 uint32_t *count
/* [out] [ref] */,
220 union spoolss_DriverInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
221 uint32_t *needed
/* [out] [ref] */,
223 struct tevent_req
*rpccli_spoolss_GetPrinterDriver_send(TALLOC_CTX
*mem_ctx
,
224 struct tevent_context
*ev
,
225 struct rpc_pipe_client
*cli
,
226 struct policy_handle
*_handle
/* [in] [ref] */,
227 const char *_architecture
/* [in] [unique,charset(UTF16)] */,
228 uint32_t _level
/* [in] */,
229 DATA_BLOB
*_buffer
/* [in] [unique] */,
230 uint32_t _offered
/* [in] */,
231 union spoolss_DriverInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
232 uint32_t *_needed
/* [out] [ref] */);
233 NTSTATUS
rpccli_spoolss_GetPrinterDriver_recv(struct tevent_req
*req
,
236 NTSTATUS
rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client
*cli
,
238 struct policy_handle
*handle
/* [in] [ref] */,
239 const char *architecture
/* [in] [unique,charset(UTF16)] */,
240 uint32_t level
/* [in] */,
241 DATA_BLOB
*buffer
/* [in] [unique] */,
242 uint32_t offered
/* [in] */,
243 union spoolss_DriverInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
244 uint32_t *needed
/* [out] [ref] */,
246 struct tevent_req
*rpccli_spoolss_GetPrinterDriverDirectory_send(TALLOC_CTX
*mem_ctx
,
247 struct tevent_context
*ev
,
248 struct rpc_pipe_client
*cli
,
249 const char *_server
/* [in] [unique,charset(UTF16)] */,
250 const char *_environment
/* [in] [unique,charset(UTF16)] */,
251 uint32_t _level
/* [in] */,
252 DATA_BLOB
*_buffer
/* [in] [unique] */,
253 uint32_t _offered
/* [in] */,
254 union spoolss_DriverDirectoryInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
255 uint32_t *_needed
/* [out] [ref] */);
256 NTSTATUS
rpccli_spoolss_GetPrinterDriverDirectory_recv(struct tevent_req
*req
,
259 NTSTATUS
rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client
*cli
,
261 const char *server
/* [in] [unique,charset(UTF16)] */,
262 const char *environment
/* [in] [unique,charset(UTF16)] */,
263 uint32_t level
/* [in] */,
264 DATA_BLOB
*buffer
/* [in] [unique] */,
265 uint32_t offered
/* [in] */,
266 union spoolss_DriverDirectoryInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
267 uint32_t *needed
/* [out] [ref] */,
269 struct tevent_req
*rpccli_spoolss_DeletePrinterDriver_send(TALLOC_CTX
*mem_ctx
,
270 struct tevent_context
*ev
,
271 struct rpc_pipe_client
*cli
,
272 const char *_server
/* [in] [unique,charset(UTF16)] */,
273 const char *_architecture
/* [in] [charset(UTF16)] */,
274 const char *_driver
/* [in] [charset(UTF16)] */);
275 NTSTATUS
rpccli_spoolss_DeletePrinterDriver_recv(struct tevent_req
*req
,
278 NTSTATUS
rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client
*cli
,
280 const char *server
/* [in] [unique,charset(UTF16)] */,
281 const char *architecture
/* [in] [charset(UTF16)] */,
282 const char *driver
/* [in] [charset(UTF16)] */,
284 struct tevent_req
*rpccli_spoolss_AddPrintProcessor_send(TALLOC_CTX
*mem_ctx
,
285 struct tevent_context
*ev
,
286 struct rpc_pipe_client
*cli
,
287 const char *_server
/* [in] [unique,charset(UTF16)] */,
288 const char *_architecture
/* [in] [charset(UTF16)] */,
289 const char *_path_name
/* [in] [charset(UTF16)] */,
290 const char *_print_processor_name
/* [in] [charset(UTF16)] */);
291 NTSTATUS
rpccli_spoolss_AddPrintProcessor_recv(struct tevent_req
*req
,
294 NTSTATUS
rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client
*cli
,
296 const char *server
/* [in] [unique,charset(UTF16)] */,
297 const char *architecture
/* [in] [charset(UTF16)] */,
298 const char *path_name
/* [in] [charset(UTF16)] */,
299 const char *print_processor_name
/* [in] [charset(UTF16)] */,
301 struct tevent_req
*rpccli_spoolss_EnumPrintProcessors_send(TALLOC_CTX
*mem_ctx
,
302 struct tevent_context
*ev
,
303 struct rpc_pipe_client
*cli
,
304 const char *_servername
/* [in] [unique,charset(UTF16)] */,
305 const char *_environment
/* [in] [unique,charset(UTF16)] */,
306 uint32_t _level
/* [in] */,
307 DATA_BLOB
*_buffer
/* [in] [unique] */,
308 uint32_t _offered
/* [in] */,
309 uint32_t *_count
/* [out] [ref] */,
310 union spoolss_PrintProcessorInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
311 uint32_t *_needed
/* [out] [ref] */);
312 NTSTATUS
rpccli_spoolss_EnumPrintProcessors_recv(struct tevent_req
*req
,
315 NTSTATUS
rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client
*cli
,
317 const char *servername
/* [in] [unique,charset(UTF16)] */,
318 const char *environment
/* [in] [unique,charset(UTF16)] */,
319 uint32_t level
/* [in] */,
320 DATA_BLOB
*buffer
/* [in] [unique] */,
321 uint32_t offered
/* [in] */,
322 uint32_t *count
/* [out] [ref] */,
323 union spoolss_PrintProcessorInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
324 uint32_t *needed
/* [out] [ref] */,
326 struct tevent_req
*rpccli_spoolss_GetPrintProcessorDirectory_send(TALLOC_CTX
*mem_ctx
,
327 struct tevent_context
*ev
,
328 struct rpc_pipe_client
*cli
,
329 const char *_server
/* [in] [unique,charset(UTF16)] */,
330 const char *_environment
/* [in] [unique,charset(UTF16)] */,
331 uint32_t _level
/* [in] */,
332 DATA_BLOB
*_buffer
/* [in] [unique] */,
333 uint32_t _offered
/* [in] */,
334 union spoolss_PrintProcessorDirectoryInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
335 uint32_t *_needed
/* [out] [ref] */);
336 NTSTATUS
rpccli_spoolss_GetPrintProcessorDirectory_recv(struct tevent_req
*req
,
339 NTSTATUS
rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client
*cli
,
341 const char *server
/* [in] [unique,charset(UTF16)] */,
342 const char *environment
/* [in] [unique,charset(UTF16)] */,
343 uint32_t level
/* [in] */,
344 DATA_BLOB
*buffer
/* [in] [unique] */,
345 uint32_t offered
/* [in] */,
346 union spoolss_PrintProcessorDirectoryInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
347 uint32_t *needed
/* [out] [ref] */,
349 struct tevent_req
*rpccli_spoolss_StartDocPrinter_send(TALLOC_CTX
*mem_ctx
,
350 struct tevent_context
*ev
,
351 struct rpc_pipe_client
*cli
,
352 struct policy_handle
*_handle
/* [in] [ref] */,
353 uint32_t _level
/* [in] */,
354 union spoolss_DocumentInfo _info
/* [in] [switch_is(level)] */,
355 uint32_t *_job_id
/* [out] [ref] */);
356 NTSTATUS
rpccli_spoolss_StartDocPrinter_recv(struct tevent_req
*req
,
359 NTSTATUS
rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client
*cli
,
361 struct policy_handle
*handle
/* [in] [ref] */,
362 uint32_t level
/* [in] */,
363 union spoolss_DocumentInfo info
/* [in] [switch_is(level)] */,
364 uint32_t *job_id
/* [out] [ref] */,
366 struct tevent_req
*rpccli_spoolss_StartPagePrinter_send(TALLOC_CTX
*mem_ctx
,
367 struct tevent_context
*ev
,
368 struct rpc_pipe_client
*cli
,
369 struct policy_handle
*_handle
/* [in] [ref] */);
370 NTSTATUS
rpccli_spoolss_StartPagePrinter_recv(struct tevent_req
*req
,
373 NTSTATUS
rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client
*cli
,
375 struct policy_handle
*handle
/* [in] [ref] */,
377 struct tevent_req
*rpccli_spoolss_WritePrinter_send(TALLOC_CTX
*mem_ctx
,
378 struct tevent_context
*ev
,
379 struct rpc_pipe_client
*cli
,
380 struct policy_handle
*_handle
/* [in] [ref] */,
381 DATA_BLOB _data
/* [in] */,
382 uint32_t __data_size
/* [in] [value(r->in.data.length)] */,
383 uint32_t *_num_written
/* [out] [ref] */);
384 NTSTATUS
rpccli_spoolss_WritePrinter_recv(struct tevent_req
*req
,
387 NTSTATUS
rpccli_spoolss_WritePrinter(struct rpc_pipe_client
*cli
,
389 struct policy_handle
*handle
/* [in] [ref] */,
390 DATA_BLOB data
/* [in] */,
391 uint32_t _data_size
/* [in] [value(r->in.data.length)] */,
392 uint32_t *num_written
/* [out] [ref] */,
394 struct tevent_req
*rpccli_spoolss_EndPagePrinter_send(TALLOC_CTX
*mem_ctx
,
395 struct tevent_context
*ev
,
396 struct rpc_pipe_client
*cli
,
397 struct policy_handle
*_handle
/* [in] [ref] */);
398 NTSTATUS
rpccli_spoolss_EndPagePrinter_recv(struct tevent_req
*req
,
401 NTSTATUS
rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client
*cli
,
403 struct policy_handle
*handle
/* [in] [ref] */,
405 struct tevent_req
*rpccli_spoolss_AbortPrinter_send(TALLOC_CTX
*mem_ctx
,
406 struct tevent_context
*ev
,
407 struct rpc_pipe_client
*cli
,
408 struct policy_handle
*_handle
/* [in] [ref] */);
409 NTSTATUS
rpccli_spoolss_AbortPrinter_recv(struct tevent_req
*req
,
412 NTSTATUS
rpccli_spoolss_AbortPrinter(struct rpc_pipe_client
*cli
,
414 struct policy_handle
*handle
/* [in] [ref] */,
416 struct tevent_req
*rpccli_spoolss_ReadPrinter_send(TALLOC_CTX
*mem_ctx
,
417 struct tevent_context
*ev
,
418 struct rpc_pipe_client
*cli
,
419 struct policy_handle
*_handle
/* [in] [ref] */,
420 uint8_t *_data
/* [out] [ref,size_is(data_size)] */,
421 uint32_t _data_size
/* [in] */,
422 uint32_t *__data_size
/* [out] [ref] */);
423 NTSTATUS
rpccli_spoolss_ReadPrinter_recv(struct tevent_req
*req
,
426 NTSTATUS
rpccli_spoolss_ReadPrinter(struct rpc_pipe_client
*cli
,
428 struct policy_handle
*handle
/* [in] [ref] */,
429 uint8_t *data
/* [out] [ref,size_is(data_size)] */,
430 uint32_t data_size
/* [in] */,
431 uint32_t *_data_size
/* [out] [ref] */,
433 struct tevent_req
*rpccli_spoolss_EndDocPrinter_send(TALLOC_CTX
*mem_ctx
,
434 struct tevent_context
*ev
,
435 struct rpc_pipe_client
*cli
,
436 struct policy_handle
*_handle
/* [in] [ref] */);
437 NTSTATUS
rpccli_spoolss_EndDocPrinter_recv(struct tevent_req
*req
,
440 NTSTATUS
rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client
*cli
,
442 struct policy_handle
*handle
/* [in] [ref] */,
444 struct tevent_req
*rpccli_spoolss_AddJob_send(TALLOC_CTX
*mem_ctx
,
445 struct tevent_context
*ev
,
446 struct rpc_pipe_client
*cli
,
447 struct policy_handle
*_handle
/* [in] [ref] */,
448 uint32_t _level
/* [in] */,
449 uint8_t *_buffer
/* [in,out] [unique,size_is(offered)] */,
450 uint32_t _offered
/* [in] */,
451 uint32_t *_needed
/* [out] [ref] */);
452 NTSTATUS
rpccli_spoolss_AddJob_recv(struct tevent_req
*req
,
455 NTSTATUS
rpccli_spoolss_AddJob(struct rpc_pipe_client
*cli
,
457 struct policy_handle
*handle
/* [in] [ref] */,
458 uint32_t level
/* [in] */,
459 uint8_t *buffer
/* [in,out] [unique,size_is(offered)] */,
460 uint32_t offered
/* [in] */,
461 uint32_t *needed
/* [out] [ref] */,
463 struct tevent_req
*rpccli_spoolss_ScheduleJob_send(TALLOC_CTX
*mem_ctx
,
464 struct tevent_context
*ev
,
465 struct rpc_pipe_client
*cli
,
466 struct policy_handle
*_handle
/* [in] [ref] */,
467 uint32_t _jobid
/* [in] */);
468 NTSTATUS
rpccli_spoolss_ScheduleJob_recv(struct tevent_req
*req
,
471 NTSTATUS
rpccli_spoolss_ScheduleJob(struct rpc_pipe_client
*cli
,
473 struct policy_handle
*handle
/* [in] [ref] */,
474 uint32_t jobid
/* [in] */,
476 struct tevent_req
*rpccli_spoolss_GetPrinterData_send(TALLOC_CTX
*mem_ctx
,
477 struct tevent_context
*ev
,
478 struct rpc_pipe_client
*cli
,
479 struct policy_handle
*_handle
/* [in] [ref] */,
480 const char *_value_name
/* [in] [charset(UTF16)] */,
481 enum winreg_Type
*_type
/* [out] [ref] */,
482 uint8_t *_data
/* [out] [ref,size_is(offered)] */,
483 uint32_t _offered
/* [in] */,
484 uint32_t *_needed
/* [out] [ref] */);
485 NTSTATUS
rpccli_spoolss_GetPrinterData_recv(struct tevent_req
*req
,
488 NTSTATUS
rpccli_spoolss_GetPrinterData(struct rpc_pipe_client
*cli
,
490 struct policy_handle
*handle
/* [in] [ref] */,
491 const char *value_name
/* [in] [charset(UTF16)] */,
492 enum winreg_Type
*type
/* [out] [ref] */,
493 uint8_t *data
/* [out] [ref,size_is(offered)] */,
494 uint32_t offered
/* [in] */,
495 uint32_t *needed
/* [out] [ref] */,
497 struct tevent_req
*rpccli_spoolss_SetPrinterData_send(TALLOC_CTX
*mem_ctx
,
498 struct tevent_context
*ev
,
499 struct rpc_pipe_client
*cli
,
500 struct policy_handle
*_handle
/* [in] [ref] */,
501 const char *_value_name
/* [in] [charset(UTF16)] */,
502 enum winreg_Type _type
/* [in] */,
503 uint8_t *_data
/* [in] [ref,size_is(offered)] */,
504 uint32_t _offered
/* [in] */);
505 NTSTATUS
rpccli_spoolss_SetPrinterData_recv(struct tevent_req
*req
,
508 NTSTATUS
rpccli_spoolss_SetPrinterData(struct rpc_pipe_client
*cli
,
510 struct policy_handle
*handle
/* [in] [ref] */,
511 const char *value_name
/* [in] [charset(UTF16)] */,
512 enum winreg_Type type
/* [in] */,
513 uint8_t *data
/* [in] [ref,size_is(offered)] */,
514 uint32_t offered
/* [in] */,
516 struct tevent_req
*rpccli_spoolss_WaitForPrinterChange_send(TALLOC_CTX
*mem_ctx
,
517 struct tevent_context
*ev
,
518 struct rpc_pipe_client
*cli
);
519 NTSTATUS
rpccli_spoolss_WaitForPrinterChange_recv(struct tevent_req
*req
,
522 NTSTATUS
rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client
*cli
,
525 struct tevent_req
*rpccli_spoolss_ClosePrinter_send(TALLOC_CTX
*mem_ctx
,
526 struct tevent_context
*ev
,
527 struct rpc_pipe_client
*cli
,
528 struct policy_handle
*_handle
/* [in,out] [ref] */);
529 NTSTATUS
rpccli_spoolss_ClosePrinter_recv(struct tevent_req
*req
,
532 NTSTATUS
rpccli_spoolss_ClosePrinter(struct rpc_pipe_client
*cli
,
534 struct policy_handle
*handle
/* [in,out] [ref] */,
536 struct tevent_req
*rpccli_spoolss_AddForm_send(TALLOC_CTX
*mem_ctx
,
537 struct tevent_context
*ev
,
538 struct rpc_pipe_client
*cli
,
539 struct policy_handle
*_handle
/* [in] [ref] */,
540 uint32_t _level
/* [in] */,
541 union spoolss_AddFormInfo _info
/* [in] [switch_is(level)] */);
542 NTSTATUS
rpccli_spoolss_AddForm_recv(struct tevent_req
*req
,
545 NTSTATUS
rpccli_spoolss_AddForm(struct rpc_pipe_client
*cli
,
547 struct policy_handle
*handle
/* [in] [ref] */,
548 uint32_t level
/* [in] */,
549 union spoolss_AddFormInfo info
/* [in] [switch_is(level)] */,
551 struct tevent_req
*rpccli_spoolss_DeleteForm_send(TALLOC_CTX
*mem_ctx
,
552 struct tevent_context
*ev
,
553 struct rpc_pipe_client
*cli
,
554 struct policy_handle
*_handle
/* [in] [ref] */,
555 const char *_form_name
/* [in] [charset(UTF16)] */);
556 NTSTATUS
rpccli_spoolss_DeleteForm_recv(struct tevent_req
*req
,
559 NTSTATUS
rpccli_spoolss_DeleteForm(struct rpc_pipe_client
*cli
,
561 struct policy_handle
*handle
/* [in] [ref] */,
562 const char *form_name
/* [in] [charset(UTF16)] */,
564 struct tevent_req
*rpccli_spoolss_GetForm_send(TALLOC_CTX
*mem_ctx
,
565 struct tevent_context
*ev
,
566 struct rpc_pipe_client
*cli
,
567 struct policy_handle
*_handle
/* [in] [ref] */,
568 const char *_form_name
/* [in] [charset(UTF16)] */,
569 uint32_t _level
/* [in] */,
570 DATA_BLOB
*_buffer
/* [in] [unique] */,
571 uint32_t _offered
/* [in] */,
572 union spoolss_FormInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
573 uint32_t *_needed
/* [out] [ref] */);
574 NTSTATUS
rpccli_spoolss_GetForm_recv(struct tevent_req
*req
,
577 NTSTATUS
rpccli_spoolss_GetForm(struct rpc_pipe_client
*cli
,
579 struct policy_handle
*handle
/* [in] [ref] */,
580 const char *form_name
/* [in] [charset(UTF16)] */,
581 uint32_t level
/* [in] */,
582 DATA_BLOB
*buffer
/* [in] [unique] */,
583 uint32_t offered
/* [in] */,
584 union spoolss_FormInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
585 uint32_t *needed
/* [out] [ref] */,
587 struct tevent_req
*rpccli_spoolss_SetForm_send(TALLOC_CTX
*mem_ctx
,
588 struct tevent_context
*ev
,
589 struct rpc_pipe_client
*cli
,
590 struct policy_handle
*_handle
/* [in] [ref] */,
591 const char *_form_name
/* [in] [charset(UTF16)] */,
592 uint32_t _level
/* [in] */,
593 union spoolss_AddFormInfo _info
/* [in] [switch_is(level)] */);
594 NTSTATUS
rpccli_spoolss_SetForm_recv(struct tevent_req
*req
,
597 NTSTATUS
rpccli_spoolss_SetForm(struct rpc_pipe_client
*cli
,
599 struct policy_handle
*handle
/* [in] [ref] */,
600 const char *form_name
/* [in] [charset(UTF16)] */,
601 uint32_t level
/* [in] */,
602 union spoolss_AddFormInfo info
/* [in] [switch_is(level)] */,
604 struct tevent_req
*rpccli_spoolss_EnumForms_send(TALLOC_CTX
*mem_ctx
,
605 struct tevent_context
*ev
,
606 struct rpc_pipe_client
*cli
,
607 struct policy_handle
*_handle
/* [in] [ref] */,
608 uint32_t _level
/* [in] */,
609 DATA_BLOB
*_buffer
/* [in] [unique] */,
610 uint32_t _offered
/* [in] */,
611 uint32_t *_count
/* [out] [ref] */,
612 union spoolss_FormInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
613 uint32_t *_needed
/* [out] [ref] */);
614 NTSTATUS
rpccli_spoolss_EnumForms_recv(struct tevent_req
*req
,
617 NTSTATUS
rpccli_spoolss_EnumForms(struct rpc_pipe_client
*cli
,
619 struct policy_handle
*handle
/* [in] [ref] */,
620 uint32_t level
/* [in] */,
621 DATA_BLOB
*buffer
/* [in] [unique] */,
622 uint32_t offered
/* [in] */,
623 uint32_t *count
/* [out] [ref] */,
624 union spoolss_FormInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
625 uint32_t *needed
/* [out] [ref] */,
627 struct tevent_req
*rpccli_spoolss_EnumPorts_send(TALLOC_CTX
*mem_ctx
,
628 struct tevent_context
*ev
,
629 struct rpc_pipe_client
*cli
,
630 const char *_servername
/* [in] [unique,charset(UTF16)] */,
631 uint32_t _level
/* [in] */,
632 DATA_BLOB
*_buffer
/* [in] [unique] */,
633 uint32_t _offered
/* [in] */,
634 uint32_t *_count
/* [out] [ref] */,
635 union spoolss_PortInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
636 uint32_t *_needed
/* [out] [ref] */);
637 NTSTATUS
rpccli_spoolss_EnumPorts_recv(struct tevent_req
*req
,
640 NTSTATUS
rpccli_spoolss_EnumPorts(struct rpc_pipe_client
*cli
,
642 const char *servername
/* [in] [unique,charset(UTF16)] */,
643 uint32_t level
/* [in] */,
644 DATA_BLOB
*buffer
/* [in] [unique] */,
645 uint32_t offered
/* [in] */,
646 uint32_t *count
/* [out] [ref] */,
647 union spoolss_PortInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
648 uint32_t *needed
/* [out] [ref] */,
650 struct tevent_req
*rpccli_spoolss_EnumMonitors_send(TALLOC_CTX
*mem_ctx
,
651 struct tevent_context
*ev
,
652 struct rpc_pipe_client
*cli
,
653 const char *_servername
/* [in] [unique,charset(UTF16)] */,
654 uint32_t _level
/* [in] */,
655 DATA_BLOB
*_buffer
/* [in] [unique] */,
656 uint32_t _offered
/* [in] */,
657 uint32_t *_count
/* [out] [ref] */,
658 union spoolss_MonitorInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
659 uint32_t *_needed
/* [out] [ref] */);
660 NTSTATUS
rpccli_spoolss_EnumMonitors_recv(struct tevent_req
*req
,
663 NTSTATUS
rpccli_spoolss_EnumMonitors(struct rpc_pipe_client
*cli
,
665 const char *servername
/* [in] [unique,charset(UTF16)] */,
666 uint32_t level
/* [in] */,
667 DATA_BLOB
*buffer
/* [in] [unique] */,
668 uint32_t offered
/* [in] */,
669 uint32_t *count
/* [out] [ref] */,
670 union spoolss_MonitorInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
671 uint32_t *needed
/* [out] [ref] */,
673 struct tevent_req
*rpccli_spoolss_AddPort_send(TALLOC_CTX
*mem_ctx
,
674 struct tevent_context
*ev
,
675 struct rpc_pipe_client
*cli
,
676 const char *_server_name
/* [in] [unique,charset(UTF16)] */,
677 uint32_t _unknown
/* [in] */,
678 const char *_monitor_name
/* [in] [charset(UTF16)] */);
679 NTSTATUS
rpccli_spoolss_AddPort_recv(struct tevent_req
*req
,
682 NTSTATUS
rpccli_spoolss_AddPort(struct rpc_pipe_client
*cli
,
684 const char *server_name
/* [in] [unique,charset(UTF16)] */,
685 uint32_t unknown
/* [in] */,
686 const char *monitor_name
/* [in] [charset(UTF16)] */,
688 struct tevent_req
*rpccli_spoolss_ConfigurePort_send(TALLOC_CTX
*mem_ctx
,
689 struct tevent_context
*ev
,
690 struct rpc_pipe_client
*cli
);
691 NTSTATUS
rpccli_spoolss_ConfigurePort_recv(struct tevent_req
*req
,
694 NTSTATUS
rpccli_spoolss_ConfigurePort(struct rpc_pipe_client
*cli
,
697 struct tevent_req
*rpccli_spoolss_DeletePort_send(TALLOC_CTX
*mem_ctx
,
698 struct tevent_context
*ev
,
699 struct rpc_pipe_client
*cli
);
700 NTSTATUS
rpccli_spoolss_DeletePort_recv(struct tevent_req
*req
,
703 NTSTATUS
rpccli_spoolss_DeletePort(struct rpc_pipe_client
*cli
,
706 struct tevent_req
*rpccli_spoolss_CreatePrinterIC_send(TALLOC_CTX
*mem_ctx
,
707 struct tevent_context
*ev
,
708 struct rpc_pipe_client
*cli
,
709 struct policy_handle
*_handle
/* [in] [ref] */,
710 struct policy_handle
*_gdi_handle
/* [out] [ref] */,
711 struct spoolss_DevmodeContainer
*_devmode_ctr
/* [in] [ref] */);
712 NTSTATUS
rpccli_spoolss_CreatePrinterIC_recv(struct tevent_req
*req
,
715 NTSTATUS
rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client
*cli
,
717 struct policy_handle
*handle
/* [in] [ref] */,
718 struct policy_handle
*gdi_handle
/* [out] [ref] */,
719 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
721 struct tevent_req
*rpccli_spoolss_PlayGDIScriptOnPrinterIC_send(TALLOC_CTX
*mem_ctx
,
722 struct tevent_context
*ev
,
723 struct rpc_pipe_client
*cli
);
724 NTSTATUS
rpccli_spoolss_PlayGDIScriptOnPrinterIC_recv(struct tevent_req
*req
,
727 NTSTATUS
rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client
*cli
,
730 struct tevent_req
*rpccli_spoolss_DeletePrinterIC_send(TALLOC_CTX
*mem_ctx
,
731 struct tevent_context
*ev
,
732 struct rpc_pipe_client
*cli
,
733 struct policy_handle
*_gdi_handle
/* [in,out] [ref] */);
734 NTSTATUS
rpccli_spoolss_DeletePrinterIC_recv(struct tevent_req
*req
,
737 NTSTATUS
rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client
*cli
,
739 struct policy_handle
*gdi_handle
/* [in,out] [ref] */,
741 struct tevent_req
*rpccli_spoolss_AddPrinterConnection_send(TALLOC_CTX
*mem_ctx
,
742 struct tevent_context
*ev
,
743 struct rpc_pipe_client
*cli
);
744 NTSTATUS
rpccli_spoolss_AddPrinterConnection_recv(struct tevent_req
*req
,
747 NTSTATUS
rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client
*cli
,
750 struct tevent_req
*rpccli_spoolss_DeletePrinterConnection_send(TALLOC_CTX
*mem_ctx
,
751 struct tevent_context
*ev
,
752 struct rpc_pipe_client
*cli
);
753 NTSTATUS
rpccli_spoolss_DeletePrinterConnection_recv(struct tevent_req
*req
,
756 NTSTATUS
rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client
*cli
,
759 struct tevent_req
*rpccli_spoolss_PrinterMessageBox_send(TALLOC_CTX
*mem_ctx
,
760 struct tevent_context
*ev
,
761 struct rpc_pipe_client
*cli
);
762 NTSTATUS
rpccli_spoolss_PrinterMessageBox_recv(struct tevent_req
*req
,
765 NTSTATUS
rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client
*cli
,
768 struct tevent_req
*rpccli_spoolss_AddMonitor_send(TALLOC_CTX
*mem_ctx
,
769 struct tevent_context
*ev
,
770 struct rpc_pipe_client
*cli
);
771 NTSTATUS
rpccli_spoolss_AddMonitor_recv(struct tevent_req
*req
,
774 NTSTATUS
rpccli_spoolss_AddMonitor(struct rpc_pipe_client
*cli
,
777 struct tevent_req
*rpccli_spoolss_DeleteMonitor_send(TALLOC_CTX
*mem_ctx
,
778 struct tevent_context
*ev
,
779 struct rpc_pipe_client
*cli
);
780 NTSTATUS
rpccli_spoolss_DeleteMonitor_recv(struct tevent_req
*req
,
783 NTSTATUS
rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client
*cli
,
786 struct tevent_req
*rpccli_spoolss_DeletePrintProcessor_send(TALLOC_CTX
*mem_ctx
,
787 struct tevent_context
*ev
,
788 struct rpc_pipe_client
*cli
);
789 NTSTATUS
rpccli_spoolss_DeletePrintProcessor_recv(struct tevent_req
*req
,
792 NTSTATUS
rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client
*cli
,
795 struct tevent_req
*rpccli_spoolss_AddPrintProvidor_send(TALLOC_CTX
*mem_ctx
,
796 struct tevent_context
*ev
,
797 struct rpc_pipe_client
*cli
);
798 NTSTATUS
rpccli_spoolss_AddPrintProvidor_recv(struct tevent_req
*req
,
801 NTSTATUS
rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client
*cli
,
804 struct tevent_req
*rpccli_spoolss_DeletePrintProvidor_send(TALLOC_CTX
*mem_ctx
,
805 struct tevent_context
*ev
,
806 struct rpc_pipe_client
*cli
);
807 NTSTATUS
rpccli_spoolss_DeletePrintProvidor_recv(struct tevent_req
*req
,
810 NTSTATUS
rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client
*cli
,
813 struct tevent_req
*rpccli_spoolss_EnumPrintProcDataTypes_send(TALLOC_CTX
*mem_ctx
,
814 struct tevent_context
*ev
,
815 struct rpc_pipe_client
*cli
,
816 const char *_servername
/* [in] [unique,charset(UTF16)] */,
817 const char *_print_processor_name
/* [in] [unique,charset(UTF16)] */,
818 uint32_t _level
/* [in] */,
819 DATA_BLOB
*_buffer
/* [in] [unique] */,
820 uint32_t _offered
/* [in] */,
821 uint32_t *_count
/* [out] [ref] */,
822 union spoolss_PrintProcDataTypesInfo
**_info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
823 uint32_t *_needed
/* [out] [ref] */);
824 NTSTATUS
rpccli_spoolss_EnumPrintProcDataTypes_recv(struct tevent_req
*req
,
827 NTSTATUS
rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client
*cli
,
829 const char *servername
/* [in] [unique,charset(UTF16)] */,
830 const char *print_processor_name
/* [in] [unique,charset(UTF16)] */,
831 uint32_t level
/* [in] */,
832 DATA_BLOB
*buffer
/* [in] [unique] */,
833 uint32_t offered
/* [in] */,
834 uint32_t *count
/* [out] [ref] */,
835 union spoolss_PrintProcDataTypesInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
836 uint32_t *needed
/* [out] [ref] */,
838 struct tevent_req
*rpccli_spoolss_ResetPrinter_send(TALLOC_CTX
*mem_ctx
,
839 struct tevent_context
*ev
,
840 struct rpc_pipe_client
*cli
,
841 struct policy_handle
*_handle
/* [in] [ref] */,
842 const char *_data_type
/* [in] [unique,charset(UTF16)] */,
843 struct spoolss_DevmodeContainer
*_devmode_ctr
/* [in] [ref] */);
844 NTSTATUS
rpccli_spoolss_ResetPrinter_recv(struct tevent_req
*req
,
847 NTSTATUS
rpccli_spoolss_ResetPrinter(struct rpc_pipe_client
*cli
,
849 struct policy_handle
*handle
/* [in] [ref] */,
850 const char *data_type
/* [in] [unique,charset(UTF16)] */,
851 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
853 struct tevent_req
*rpccli_spoolss_GetPrinterDriver2_send(TALLOC_CTX
*mem_ctx
,
854 struct tevent_context
*ev
,
855 struct rpc_pipe_client
*cli
,
856 struct policy_handle
*_handle
/* [in] [ref] */,
857 const char *_architecture
/* [in] [unique,charset(UTF16)] */,
858 uint32_t _level
/* [in] */,
859 DATA_BLOB
*_buffer
/* [in] [unique] */,
860 uint32_t _offered
/* [in] */,
861 uint32_t _client_major_version
/* [in] */,
862 uint32_t _client_minor_version
/* [in] */,
863 union spoolss_DriverInfo
*_info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
864 uint32_t *_needed
/* [out] [ref] */,
865 uint32_t *_server_major_version
/* [out] [ref] */,
866 uint32_t *_server_minor_version
/* [out] [ref] */);
867 NTSTATUS
rpccli_spoolss_GetPrinterDriver2_recv(struct tevent_req
*req
,
870 NTSTATUS
rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client
*cli
,
872 struct policy_handle
*handle
/* [in] [ref] */,
873 const char *architecture
/* [in] [unique,charset(UTF16)] */,
874 uint32_t level
/* [in] */,
875 DATA_BLOB
*buffer
/* [in] [unique] */,
876 uint32_t offered
/* [in] */,
877 uint32_t client_major_version
/* [in] */,
878 uint32_t client_minor_version
/* [in] */,
879 union spoolss_DriverInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
880 uint32_t *needed
/* [out] [ref] */,
881 uint32_t *server_major_version
/* [out] [ref] */,
882 uint32_t *server_minor_version
/* [out] [ref] */,
884 struct tevent_req
*rpccli_spoolss_FindFirstPrinterChangeNotification_send(TALLOC_CTX
*mem_ctx
,
885 struct tevent_context
*ev
,
886 struct rpc_pipe_client
*cli
);
887 NTSTATUS
rpccli_spoolss_FindFirstPrinterChangeNotification_recv(struct tevent_req
*req
,
890 NTSTATUS
rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
893 struct tevent_req
*rpccli_spoolss_FindNextPrinterChangeNotification_send(TALLOC_CTX
*mem_ctx
,
894 struct tevent_context
*ev
,
895 struct rpc_pipe_client
*cli
);
896 NTSTATUS
rpccli_spoolss_FindNextPrinterChangeNotification_recv(struct tevent_req
*req
,
899 NTSTATUS
rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client
*cli
,
902 struct tevent_req
*rpccli_spoolss_FindClosePrinterNotify_send(TALLOC_CTX
*mem_ctx
,
903 struct tevent_context
*ev
,
904 struct rpc_pipe_client
*cli
,
905 struct policy_handle
*_handle
/* [in] [ref] */);
906 NTSTATUS
rpccli_spoolss_FindClosePrinterNotify_recv(struct tevent_req
*req
,
909 NTSTATUS
rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client
*cli
,
911 struct policy_handle
*handle
/* [in] [ref] */,
913 struct tevent_req
*rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld_send(TALLOC_CTX
*mem_ctx
,
914 struct tevent_context
*ev
,
915 struct rpc_pipe_client
*cli
);
916 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld_recv(struct tevent_req
*req
,
919 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client
*cli
,
922 struct tevent_req
*rpccli_spoolss_ReplyOpenPrinter_send(TALLOC_CTX
*mem_ctx
,
923 struct tevent_context
*ev
,
924 struct rpc_pipe_client
*cli
,
925 const char *_server_name
/* [in] [charset(UTF16)] */,
926 uint32_t _printer_local
/* [in] */,
927 enum winreg_Type _type
/* [in] */,
928 uint32_t _bufsize
/* [in] [range(0,512)] */,
929 uint8_t *_buffer
/* [in] [unique,size_is(bufsize)] */,
930 struct policy_handle
*_handle
/* [out] [ref] */);
931 NTSTATUS
rpccli_spoolss_ReplyOpenPrinter_recv(struct tevent_req
*req
,
934 NTSTATUS
rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client
*cli
,
936 const char *server_name
/* [in] [charset(UTF16)] */,
937 uint32_t printer_local
/* [in] */,
938 enum winreg_Type type
/* [in] */,
939 uint32_t bufsize
/* [in] [range(0,512)] */,
940 uint8_t *buffer
/* [in] [unique,size_is(bufsize)] */,
941 struct policy_handle
*handle
/* [out] [ref] */,
943 struct tevent_req
*rpccli_spoolss_RouterReplyPrinter_send(TALLOC_CTX
*mem_ctx
,
944 struct tevent_context
*ev
,
945 struct rpc_pipe_client
*cli
,
946 struct policy_handle
*_handle
/* [in] [ref] */,
947 uint32_t _flags
/* [in] */,
948 uint32_t _bufsize
/* [in] [range(0,512)] */,
949 uint8_t *_buffer
/* [in] [unique,size_is(bufsize)] */);
950 NTSTATUS
rpccli_spoolss_RouterReplyPrinter_recv(struct tevent_req
*req
,
953 NTSTATUS
rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client
*cli
,
955 struct policy_handle
*handle
/* [in] [ref] */,
956 uint32_t flags
/* [in] */,
957 uint32_t bufsize
/* [in] [range(0,512)] */,
958 uint8_t *buffer
/* [in] [unique,size_is(bufsize)] */,
960 struct tevent_req
*rpccli_spoolss_ReplyClosePrinter_send(TALLOC_CTX
*mem_ctx
,
961 struct tevent_context
*ev
,
962 struct rpc_pipe_client
*cli
,
963 struct policy_handle
*_handle
/* [in,out] [ref] */);
964 NTSTATUS
rpccli_spoolss_ReplyClosePrinter_recv(struct tevent_req
*req
,
967 NTSTATUS
rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client
*cli
,
969 struct policy_handle
*handle
/* [in,out] [ref] */,
971 struct tevent_req
*rpccli_spoolss_AddPortEx_send(TALLOC_CTX
*mem_ctx
,
972 struct tevent_context
*ev
,
973 struct rpc_pipe_client
*cli
);
974 NTSTATUS
rpccli_spoolss_AddPortEx_recv(struct tevent_req
*req
,
977 NTSTATUS
rpccli_spoolss_AddPortEx(struct rpc_pipe_client
*cli
,
980 struct tevent_req
*rpccli_spoolss_RouterFindFirstPrinterChangeNotification_send(TALLOC_CTX
*mem_ctx
,
981 struct tevent_context
*ev
,
982 struct rpc_pipe_client
*cli
);
983 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotification_recv(struct tevent_req
*req
,
986 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
989 struct tevent_req
*rpccli_spoolss_SpoolerInit_send(TALLOC_CTX
*mem_ctx
,
990 struct tevent_context
*ev
,
991 struct rpc_pipe_client
*cli
);
992 NTSTATUS
rpccli_spoolss_SpoolerInit_recv(struct tevent_req
*req
,
995 NTSTATUS
rpccli_spoolss_SpoolerInit(struct rpc_pipe_client
*cli
,
998 struct tevent_req
*rpccli_spoolss_ResetPrinterEx_send(TALLOC_CTX
*mem_ctx
,
999 struct tevent_context
*ev
,
1000 struct rpc_pipe_client
*cli
);
1001 NTSTATUS
rpccli_spoolss_ResetPrinterEx_recv(struct tevent_req
*req
,
1002 TALLOC_CTX
*mem_ctx
,
1004 NTSTATUS
rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client
*cli
,
1005 TALLOC_CTX
*mem_ctx
,
1007 struct tevent_req
*rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx_send(TALLOC_CTX
*mem_ctx
,
1008 struct tevent_context
*ev
,
1009 struct rpc_pipe_client
*cli
,
1010 struct policy_handle
*_handle
/* [in] [ref] */,
1011 uint32_t _flags
/* [in] */,
1012 uint32_t _options
/* [in] */,
1013 const char *_local_machine
/* [in] [unique,charset(UTF16)] */,
1014 uint32_t _printer_local
/* [in] */,
1015 struct spoolss_NotifyOption
*_notify_options
/* [in] [unique] */);
1016 NTSTATUS
rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx_recv(struct tevent_req
*req
,
1017 TALLOC_CTX
*mem_ctx
,
1019 NTSTATUS
rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client
*cli
,
1020 TALLOC_CTX
*mem_ctx
,
1021 struct policy_handle
*handle
/* [in] [ref] */,
1022 uint32_t flags
/* [in] */,
1023 uint32_t options
/* [in] */,
1024 const char *local_machine
/* [in] [unique,charset(UTF16)] */,
1025 uint32_t printer_local
/* [in] */,
1026 struct spoolss_NotifyOption
*notify_options
/* [in] [unique] */,
1028 struct tevent_req
*rpccli_spoolss_RouterReplyPrinterEx_send(TALLOC_CTX
*mem_ctx
,
1029 struct tevent_context
*ev
,
1030 struct rpc_pipe_client
*cli
,
1031 struct policy_handle
*_handle
/* [in] [ref] */,
1032 uint32_t _color
/* [in] */,
1033 uint32_t _flags
/* [in] */,
1034 uint32_t *_reply_result
/* [out] [ref] */,
1035 uint32_t _reply_type
/* [in] */,
1036 union spoolss_ReplyPrinterInfo _info
/* [in] [switch_is(reply_type)] */);
1037 NTSTATUS
rpccli_spoolss_RouterReplyPrinterEx_recv(struct tevent_req
*req
,
1038 TALLOC_CTX
*mem_ctx
,
1040 NTSTATUS
rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client
*cli
,
1041 TALLOC_CTX
*mem_ctx
,
1042 struct policy_handle
*handle
/* [in] [ref] */,
1043 uint32_t color
/* [in] */,
1044 uint32_t flags
/* [in] */,
1045 uint32_t *reply_result
/* [out] [ref] */,
1046 uint32_t reply_type
/* [in] */,
1047 union spoolss_ReplyPrinterInfo info
/* [in] [switch_is(reply_type)] */,
1049 struct tevent_req
*rpccli_spoolss_RouterRefreshPrinterChangeNotify_send(TALLOC_CTX
*mem_ctx
,
1050 struct tevent_context
*ev
,
1051 struct rpc_pipe_client
*cli
,
1052 struct policy_handle
*_handle
/* [in] [ref] */,
1053 uint32_t _change_low
/* [in] */,
1054 struct spoolss_NotifyOption
*_options
/* [in] [unique] */,
1055 struct spoolss_NotifyInfo
**_info
/* [out] [ref] */);
1056 NTSTATUS
rpccli_spoolss_RouterRefreshPrinterChangeNotify_recv(struct tevent_req
*req
,
1057 TALLOC_CTX
*mem_ctx
,
1059 NTSTATUS
rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client
*cli
,
1060 TALLOC_CTX
*mem_ctx
,
1061 struct policy_handle
*handle
/* [in] [ref] */,
1062 uint32_t change_low
/* [in] */,
1063 struct spoolss_NotifyOption
*options
/* [in] [unique] */,
1064 struct spoolss_NotifyInfo
**info
/* [out] [ref] */,
1066 struct tevent_req
*rpccli_spoolss_44_send(TALLOC_CTX
*mem_ctx
,
1067 struct tevent_context
*ev
,
1068 struct rpc_pipe_client
*cli
);
1069 NTSTATUS
rpccli_spoolss_44_recv(struct tevent_req
*req
,
1070 TALLOC_CTX
*mem_ctx
,
1072 NTSTATUS
rpccli_spoolss_44(struct rpc_pipe_client
*cli
,
1073 TALLOC_CTX
*mem_ctx
,
1075 struct tevent_req
*rpccli_spoolss_OpenPrinterEx_send(TALLOC_CTX
*mem_ctx
,
1076 struct tevent_context
*ev
,
1077 struct rpc_pipe_client
*cli
,
1078 const char *_printername
/* [in] [unique,charset(UTF16)] */,
1079 const char *_datatype
/* [in] [unique,charset(UTF16)] */,
1080 struct spoolss_DevmodeContainer _devmode_ctr
/* [in] */,
1081 uint32_t _access_mask
/* [in] */,
1082 uint32_t _level
/* [in] */,
1083 union spoolss_UserLevel _userlevel
/* [in] [switch_is(level)] */,
1084 struct policy_handle
*_handle
/* [out] [ref] */);
1085 NTSTATUS
rpccli_spoolss_OpenPrinterEx_recv(struct tevent_req
*req
,
1086 TALLOC_CTX
*mem_ctx
,
1088 NTSTATUS
rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client
*cli
,
1089 TALLOC_CTX
*mem_ctx
,
1090 const char *printername
/* [in] [unique,charset(UTF16)] */,
1091 const char *datatype
/* [in] [unique,charset(UTF16)] */,
1092 struct spoolss_DevmodeContainer devmode_ctr
/* [in] */,
1093 uint32_t access_mask
/* [in] */,
1094 uint32_t level
/* [in] */,
1095 union spoolss_UserLevel userlevel
/* [in] [switch_is(level)] */,
1096 struct policy_handle
*handle
/* [out] [ref] */,
1098 struct tevent_req
*rpccli_spoolss_AddPrinterEx_send(TALLOC_CTX
*mem_ctx
,
1099 struct tevent_context
*ev
,
1100 struct rpc_pipe_client
*cli
,
1101 const char *_server
/* [in] [unique,charset(UTF16)] */,
1102 struct spoolss_SetPrinterInfoCtr
*_info_ctr
/* [in] [ref] */,
1103 struct spoolss_DevmodeContainer
*_devmode_ctr
/* [in] [ref] */,
1104 struct sec_desc_buf
*_secdesc_ctr
/* [in] [ref] */,
1105 struct spoolss_UserLevelCtr
*_userlevel_ctr
/* [in] [ref] */,
1106 struct policy_handle
*_handle
/* [out] [ref] */);
1107 NTSTATUS
rpccli_spoolss_AddPrinterEx_recv(struct tevent_req
*req
,
1108 TALLOC_CTX
*mem_ctx
,
1110 NTSTATUS
rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client
*cli
,
1111 TALLOC_CTX
*mem_ctx
,
1112 const char *server
/* [in] [unique,charset(UTF16)] */,
1113 struct spoolss_SetPrinterInfoCtr
*info_ctr
/* [in] [ref] */,
1114 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
1115 struct sec_desc_buf
*secdesc_ctr
/* [in] [ref] */,
1116 struct spoolss_UserLevelCtr
*userlevel_ctr
/* [in] [ref] */,
1117 struct policy_handle
*handle
/* [out] [ref] */,
1119 struct tevent_req
*rpccli_spoolss_47_send(TALLOC_CTX
*mem_ctx
,
1120 struct tevent_context
*ev
,
1121 struct rpc_pipe_client
*cli
);
1122 NTSTATUS
rpccli_spoolss_47_recv(struct tevent_req
*req
,
1123 TALLOC_CTX
*mem_ctx
,
1125 NTSTATUS
rpccli_spoolss_47(struct rpc_pipe_client
*cli
,
1126 TALLOC_CTX
*mem_ctx
,
1128 struct tevent_req
*rpccli_spoolss_EnumPrinterData_send(TALLOC_CTX
*mem_ctx
,
1129 struct tevent_context
*ev
,
1130 struct rpc_pipe_client
*cli
,
1131 struct policy_handle
*_handle
/* [in] [ref] */,
1132 uint32_t _enum_index
/* [in] */,
1133 const char *_value_name
/* [out] [charset(UTF16),size_is(value_offered/2)] */,
1134 uint32_t _value_offered
/* [in] */,
1135 uint32_t *_value_needed
/* [out] [ref] */,
1136 enum winreg_Type
*_type
/* [out] [ref] */,
1137 uint8_t *_data
/* [out] [ref,flag(LIBNDR_PRINT_ARRAY_HEX),size_is(data_offered)] */,
1138 uint32_t _data_offered
/* [in] */,
1139 uint32_t *_data_needed
/* [out] [ref] */);
1140 NTSTATUS
rpccli_spoolss_EnumPrinterData_recv(struct tevent_req
*req
,
1141 TALLOC_CTX
*mem_ctx
,
1143 NTSTATUS
rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client
*cli
,
1144 TALLOC_CTX
*mem_ctx
,
1145 struct policy_handle
*handle
/* [in] [ref] */,
1146 uint32_t enum_index
/* [in] */,
1147 const char *value_name
/* [out] [charset(UTF16),size_is(value_offered/2)] */,
1148 uint32_t value_offered
/* [in] */,
1149 uint32_t *value_needed
/* [out] [ref] */,
1150 enum winreg_Type
*type
/* [out] [ref] */,
1151 uint8_t *data
/* [out] [ref,flag(LIBNDR_PRINT_ARRAY_HEX),size_is(data_offered)] */,
1152 uint32_t data_offered
/* [in] */,
1153 uint32_t *data_needed
/* [out] [ref] */,
1155 struct tevent_req
*rpccli_spoolss_DeletePrinterData_send(TALLOC_CTX
*mem_ctx
,
1156 struct tevent_context
*ev
,
1157 struct rpc_pipe_client
*cli
,
1158 struct policy_handle
*_handle
/* [in] [ref] */,
1159 const char *_value_name
/* [in] [charset(UTF16)] */);
1160 NTSTATUS
rpccli_spoolss_DeletePrinterData_recv(struct tevent_req
*req
,
1161 TALLOC_CTX
*mem_ctx
,
1163 NTSTATUS
rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client
*cli
,
1164 TALLOC_CTX
*mem_ctx
,
1165 struct policy_handle
*handle
/* [in] [ref] */,
1166 const char *value_name
/* [in] [charset(UTF16)] */,
1168 struct tevent_req
*rpccli_spoolss_4a_send(TALLOC_CTX
*mem_ctx
,
1169 struct tevent_context
*ev
,
1170 struct rpc_pipe_client
*cli
);
1171 NTSTATUS
rpccli_spoolss_4a_recv(struct tevent_req
*req
,
1172 TALLOC_CTX
*mem_ctx
,
1174 NTSTATUS
rpccli_spoolss_4a(struct rpc_pipe_client
*cli
,
1175 TALLOC_CTX
*mem_ctx
,
1177 struct tevent_req
*rpccli_spoolss_4b_send(TALLOC_CTX
*mem_ctx
,
1178 struct tevent_context
*ev
,
1179 struct rpc_pipe_client
*cli
);
1180 NTSTATUS
rpccli_spoolss_4b_recv(struct tevent_req
*req
,
1181 TALLOC_CTX
*mem_ctx
,
1183 NTSTATUS
rpccli_spoolss_4b(struct rpc_pipe_client
*cli
,
1184 TALLOC_CTX
*mem_ctx
,
1186 struct tevent_req
*rpccli_spoolss_4c_send(TALLOC_CTX
*mem_ctx
,
1187 struct tevent_context
*ev
,
1188 struct rpc_pipe_client
*cli
);
1189 NTSTATUS
rpccli_spoolss_4c_recv(struct tevent_req
*req
,
1190 TALLOC_CTX
*mem_ctx
,
1192 NTSTATUS
rpccli_spoolss_4c(struct rpc_pipe_client
*cli
,
1193 TALLOC_CTX
*mem_ctx
,
1195 struct tevent_req
*rpccli_spoolss_SetPrinterDataEx_send(TALLOC_CTX
*mem_ctx
,
1196 struct tevent_context
*ev
,
1197 struct rpc_pipe_client
*cli
,
1198 struct policy_handle
*_handle
/* [in] [ref] */,
1199 const char *_key_name
/* [in] [charset(UTF16)] */,
1200 const char *_value_name
/* [in] [charset(UTF16)] */,
1201 enum winreg_Type _type
/* [in] */,
1202 uint8_t *_data
/* [in] [ref,size_is(offered)] */,
1203 uint32_t _offered
/* [in] */);
1204 NTSTATUS
rpccli_spoolss_SetPrinterDataEx_recv(struct tevent_req
*req
,
1205 TALLOC_CTX
*mem_ctx
,
1207 NTSTATUS
rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client
*cli
,
1208 TALLOC_CTX
*mem_ctx
,
1209 struct policy_handle
*handle
/* [in] [ref] */,
1210 const char *key_name
/* [in] [charset(UTF16)] */,
1211 const char *value_name
/* [in] [charset(UTF16)] */,
1212 enum winreg_Type type
/* [in] */,
1213 uint8_t *data
/* [in] [ref,size_is(offered)] */,
1214 uint32_t offered
/* [in] */,
1216 struct tevent_req
*rpccli_spoolss_GetPrinterDataEx_send(TALLOC_CTX
*mem_ctx
,
1217 struct tevent_context
*ev
,
1218 struct rpc_pipe_client
*cli
,
1219 struct policy_handle
*_handle
/* [in] [ref] */,
1220 const char *_key_name
/* [in] [charset(UTF16)] */,
1221 const char *_value_name
/* [in] [charset(UTF16)] */,
1222 enum winreg_Type
*_type
/* [out] [ref] */,
1223 uint8_t *_data
/* [out] [ref,size_is(offered)] */,
1224 uint32_t _offered
/* [in] */,
1225 uint32_t *_needed
/* [out] [ref] */);
1226 NTSTATUS
rpccli_spoolss_GetPrinterDataEx_recv(struct tevent_req
*req
,
1227 TALLOC_CTX
*mem_ctx
,
1229 NTSTATUS
rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client
*cli
,
1230 TALLOC_CTX
*mem_ctx
,
1231 struct policy_handle
*handle
/* [in] [ref] */,
1232 const char *key_name
/* [in] [charset(UTF16)] */,
1233 const char *value_name
/* [in] [charset(UTF16)] */,
1234 enum winreg_Type
*type
/* [out] [ref] */,
1235 uint8_t *data
/* [out] [ref,size_is(offered)] */,
1236 uint32_t offered
/* [in] */,
1237 uint32_t *needed
/* [out] [ref] */,
1239 struct tevent_req
*rpccli_spoolss_EnumPrinterDataEx_send(TALLOC_CTX
*mem_ctx
,
1240 struct tevent_context
*ev
,
1241 struct rpc_pipe_client
*cli
,
1242 struct policy_handle
*_handle
/* [in] [ref] */,
1243 const char *_key_name
/* [in] [charset(UTF16)] */,
1244 uint32_t _offered
/* [in] */,
1245 uint32_t *_count
/* [out] [ref] */,
1246 struct spoolss_PrinterEnumValues
**_info
/* [out] [ref,size_is(,*count)] */,
1247 uint32_t *_needed
/* [out] [ref] */);
1248 NTSTATUS
rpccli_spoolss_EnumPrinterDataEx_recv(struct tevent_req
*req
,
1249 TALLOC_CTX
*mem_ctx
,
1251 NTSTATUS
rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client
*cli
,
1252 TALLOC_CTX
*mem_ctx
,
1253 struct policy_handle
*handle
/* [in] [ref] */,
1254 const char *key_name
/* [in] [charset(UTF16)] */,
1255 uint32_t offered
/* [in] */,
1256 uint32_t *count
/* [out] [ref] */,
1257 struct spoolss_PrinterEnumValues
**info
/* [out] [ref,size_is(,*count)] */,
1258 uint32_t *needed
/* [out] [ref] */,
1260 struct tevent_req
*rpccli_spoolss_EnumPrinterKey_send(TALLOC_CTX
*mem_ctx
,
1261 struct tevent_context
*ev
,
1262 struct rpc_pipe_client
*cli
,
1263 struct policy_handle
*_handle
/* [in] [ref] */,
1264 const char *_key_name
/* [in] [charset(UTF16)] */,
1265 uint32_t *__ndr_size
/* [out] [ref] */,
1266 union spoolss_KeyNames
*_key_buffer
/* [out] [subcontext_size(*_ndr_size*2),ref,subcontext(0),switch_is(*_ndr_size)] */,
1267 uint32_t _offered
/* [in] */,
1268 uint32_t *_needed
/* [out] [ref] */);
1269 NTSTATUS
rpccli_spoolss_EnumPrinterKey_recv(struct tevent_req
*req
,
1270 TALLOC_CTX
*mem_ctx
,
1272 NTSTATUS
rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client
*cli
,
1273 TALLOC_CTX
*mem_ctx
,
1274 struct policy_handle
*handle
/* [in] [ref] */,
1275 const char *key_name
/* [in] [charset(UTF16)] */,
1276 uint32_t *_ndr_size
/* [out] [ref] */,
1277 union spoolss_KeyNames
*key_buffer
/* [out] [subcontext_size(*_ndr_size*2),ref,subcontext(0),switch_is(*_ndr_size)] */,
1278 uint32_t offered
/* [in] */,
1279 uint32_t *needed
/* [out] [ref] */,
1281 struct tevent_req
*rpccli_spoolss_DeletePrinterDataEx_send(TALLOC_CTX
*mem_ctx
,
1282 struct tevent_context
*ev
,
1283 struct rpc_pipe_client
*cli
,
1284 struct policy_handle
*_handle
/* [in] [ref] */,
1285 const char *_key_name
/* [in] [charset(UTF16)] */,
1286 const char *_value_name
/* [in] [charset(UTF16)] */);
1287 NTSTATUS
rpccli_spoolss_DeletePrinterDataEx_recv(struct tevent_req
*req
,
1288 TALLOC_CTX
*mem_ctx
,
1290 NTSTATUS
rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client
*cli
,
1291 TALLOC_CTX
*mem_ctx
,
1292 struct policy_handle
*handle
/* [in] [ref] */,
1293 const char *key_name
/* [in] [charset(UTF16)] */,
1294 const char *value_name
/* [in] [charset(UTF16)] */,
1296 struct tevent_req
*rpccli_spoolss_DeletePrinterKey_send(TALLOC_CTX
*mem_ctx
,
1297 struct tevent_context
*ev
,
1298 struct rpc_pipe_client
*cli
,
1299 struct policy_handle
*_handle
/* [in] [ref] */,
1300 const char *_key_name
/* [in] [charset(UTF16)] */);
1301 NTSTATUS
rpccli_spoolss_DeletePrinterKey_recv(struct tevent_req
*req
,
1302 TALLOC_CTX
*mem_ctx
,
1304 NTSTATUS
rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client
*cli
,
1305 TALLOC_CTX
*mem_ctx
,
1306 struct policy_handle
*handle
/* [in] [ref] */,
1307 const char *key_name
/* [in] [charset(UTF16)] */,
1309 struct tevent_req
*rpccli_spoolss_53_send(TALLOC_CTX
*mem_ctx
,
1310 struct tevent_context
*ev
,
1311 struct rpc_pipe_client
*cli
);
1312 NTSTATUS
rpccli_spoolss_53_recv(struct tevent_req
*req
,
1313 TALLOC_CTX
*mem_ctx
,
1315 NTSTATUS
rpccli_spoolss_53(struct rpc_pipe_client
*cli
,
1316 TALLOC_CTX
*mem_ctx
,
1318 struct tevent_req
*rpccli_spoolss_DeletePrinterDriverEx_send(TALLOC_CTX
*mem_ctx
,
1319 struct tevent_context
*ev
,
1320 struct rpc_pipe_client
*cli
,
1321 const char *_server
/* [in] [unique,charset(UTF16)] */,
1322 const char *_architecture
/* [in] [charset(UTF16)] */,
1323 const char *_driver
/* [in] [charset(UTF16)] */,
1324 uint32_t _delete_flags
/* [in] */,
1325 uint32_t _version
/* [in] */);
1326 NTSTATUS
rpccli_spoolss_DeletePrinterDriverEx_recv(struct tevent_req
*req
,
1327 TALLOC_CTX
*mem_ctx
,
1329 NTSTATUS
rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client
*cli
,
1330 TALLOC_CTX
*mem_ctx
,
1331 const char *server
/* [in] [unique,charset(UTF16)] */,
1332 const char *architecture
/* [in] [charset(UTF16)] */,
1333 const char *driver
/* [in] [charset(UTF16)] */,
1334 uint32_t delete_flags
/* [in] */,
1335 uint32_t version
/* [in] */,
1337 struct tevent_req
*rpccli_spoolss_55_send(TALLOC_CTX
*mem_ctx
,
1338 struct tevent_context
*ev
,
1339 struct rpc_pipe_client
*cli
);
1340 NTSTATUS
rpccli_spoolss_55_recv(struct tevent_req
*req
,
1341 TALLOC_CTX
*mem_ctx
,
1343 NTSTATUS
rpccli_spoolss_55(struct rpc_pipe_client
*cli
,
1344 TALLOC_CTX
*mem_ctx
,
1346 struct tevent_req
*rpccli_spoolss_56_send(TALLOC_CTX
*mem_ctx
,
1347 struct tevent_context
*ev
,
1348 struct rpc_pipe_client
*cli
);
1349 NTSTATUS
rpccli_spoolss_56_recv(struct tevent_req
*req
,
1350 TALLOC_CTX
*mem_ctx
,
1352 NTSTATUS
rpccli_spoolss_56(struct rpc_pipe_client
*cli
,
1353 TALLOC_CTX
*mem_ctx
,
1355 struct tevent_req
*rpccli_spoolss_57_send(TALLOC_CTX
*mem_ctx
,
1356 struct tevent_context
*ev
,
1357 struct rpc_pipe_client
*cli
);
1358 NTSTATUS
rpccli_spoolss_57_recv(struct tevent_req
*req
,
1359 TALLOC_CTX
*mem_ctx
,
1361 NTSTATUS
rpccli_spoolss_57(struct rpc_pipe_client
*cli
,
1362 TALLOC_CTX
*mem_ctx
,
1364 struct tevent_req
*rpccli_spoolss_XcvData_send(TALLOC_CTX
*mem_ctx
,
1365 struct tevent_context
*ev
,
1366 struct rpc_pipe_client
*cli
,
1367 struct policy_handle
*_handle
/* [in] [ref] */,
1368 const char *_function_name
/* [in] [charset(UTF16)] */,
1369 DATA_BLOB _in_data
/* [in] */,
1370 uint32_t __in_data_length
/* [in] [value(r->in.in_data.length)] */,
1371 uint8_t *_out_data
/* [out] [ref,size_is(out_data_size)] */,
1372 uint32_t _out_data_size
/* [in] */,
1373 uint32_t *_needed
/* [out] [ref] */,
1374 uint32_t *_status_code
/* [in,out] [ref] */);
1375 NTSTATUS
rpccli_spoolss_XcvData_recv(struct tevent_req
*req
,
1376 TALLOC_CTX
*mem_ctx
,
1378 NTSTATUS
rpccli_spoolss_XcvData(struct rpc_pipe_client
*cli
,
1379 TALLOC_CTX
*mem_ctx
,
1380 struct policy_handle
*handle
/* [in] [ref] */,
1381 const char *function_name
/* [in] [charset(UTF16)] */,
1382 DATA_BLOB in_data
/* [in] */,
1383 uint32_t _in_data_length
/* [in] [value(r->in.in_data.length)] */,
1384 uint8_t *out_data
/* [out] [ref,size_is(out_data_size)] */,
1385 uint32_t out_data_size
/* [in] */,
1386 uint32_t *needed
/* [out] [ref] */,
1387 uint32_t *status_code
/* [in,out] [ref] */,
1389 struct tevent_req
*rpccli_spoolss_AddPrinterDriverEx_send(TALLOC_CTX
*mem_ctx
,
1390 struct tevent_context
*ev
,
1391 struct rpc_pipe_client
*cli
,
1392 const char *_servername
/* [in] [unique,charset(UTF16)] */,
1393 struct spoolss_AddDriverInfoCtr
*_info_ctr
/* [in] [ref] */,
1394 uint32_t _flags
/* [in] */);
1395 NTSTATUS
rpccli_spoolss_AddPrinterDriverEx_recv(struct tevent_req
*req
,
1396 TALLOC_CTX
*mem_ctx
,
1398 NTSTATUS
rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client
*cli
,
1399 TALLOC_CTX
*mem_ctx
,
1400 const char *servername
/* [in] [unique,charset(UTF16)] */,
1401 struct spoolss_AddDriverInfoCtr
*info_ctr
/* [in] [ref] */,
1402 uint32_t flags
/* [in] */,
1404 struct tevent_req
*rpccli_spoolss_5a_send(TALLOC_CTX
*mem_ctx
,
1405 struct tevent_context
*ev
,
1406 struct rpc_pipe_client
*cli
);
1407 NTSTATUS
rpccli_spoolss_5a_recv(struct tevent_req
*req
,
1408 TALLOC_CTX
*mem_ctx
,
1410 NTSTATUS
rpccli_spoolss_5a(struct rpc_pipe_client
*cli
,
1411 TALLOC_CTX
*mem_ctx
,
1413 struct tevent_req
*rpccli_spoolss_5b_send(TALLOC_CTX
*mem_ctx
,
1414 struct tevent_context
*ev
,
1415 struct rpc_pipe_client
*cli
);
1416 NTSTATUS
rpccli_spoolss_5b_recv(struct tevent_req
*req
,
1417 TALLOC_CTX
*mem_ctx
,
1419 NTSTATUS
rpccli_spoolss_5b(struct rpc_pipe_client
*cli
,
1420 TALLOC_CTX
*mem_ctx
,
1422 struct tevent_req
*rpccli_spoolss_5c_send(TALLOC_CTX
*mem_ctx
,
1423 struct tevent_context
*ev
,
1424 struct rpc_pipe_client
*cli
);
1425 NTSTATUS
rpccli_spoolss_5c_recv(struct tevent_req
*req
,
1426 TALLOC_CTX
*mem_ctx
,
1428 NTSTATUS
rpccli_spoolss_5c(struct rpc_pipe_client
*cli
,
1429 TALLOC_CTX
*mem_ctx
,
1431 struct tevent_req
*rpccli_spoolss_5d_send(TALLOC_CTX
*mem_ctx
,
1432 struct tevent_context
*ev
,
1433 struct rpc_pipe_client
*cli
);
1434 NTSTATUS
rpccli_spoolss_5d_recv(struct tevent_req
*req
,
1435 TALLOC_CTX
*mem_ctx
,
1437 NTSTATUS
rpccli_spoolss_5d(struct rpc_pipe_client
*cli
,
1438 TALLOC_CTX
*mem_ctx
,
1440 struct tevent_req
*rpccli_spoolss_5e_send(TALLOC_CTX
*mem_ctx
,
1441 struct tevent_context
*ev
,
1442 struct rpc_pipe_client
*cli
);
1443 NTSTATUS
rpccli_spoolss_5e_recv(struct tevent_req
*req
,
1444 TALLOC_CTX
*mem_ctx
,
1446 NTSTATUS
rpccli_spoolss_5e(struct rpc_pipe_client
*cli
,
1447 TALLOC_CTX
*mem_ctx
,
1449 struct tevent_req
*rpccli_spoolss_5f_send(TALLOC_CTX
*mem_ctx
,
1450 struct tevent_context
*ev
,
1451 struct rpc_pipe_client
*cli
);
1452 NTSTATUS
rpccli_spoolss_5f_recv(struct tevent_req
*req
,
1453 TALLOC_CTX
*mem_ctx
,
1455 NTSTATUS
rpccli_spoolss_5f(struct rpc_pipe_client
*cli
,
1456 TALLOC_CTX
*mem_ctx
,
1458 struct tevent_req
*rpccli_spoolss_60_send(TALLOC_CTX
*mem_ctx
,
1459 struct tevent_context
*ev
,
1460 struct rpc_pipe_client
*cli
);
1461 NTSTATUS
rpccli_spoolss_60_recv(struct tevent_req
*req
,
1462 TALLOC_CTX
*mem_ctx
,
1464 NTSTATUS
rpccli_spoolss_60(struct rpc_pipe_client
*cli
,
1465 TALLOC_CTX
*mem_ctx
,
1467 struct tevent_req
*rpccli_spoolss_61_send(TALLOC_CTX
*mem_ctx
,
1468 struct tevent_context
*ev
,
1469 struct rpc_pipe_client
*cli
);
1470 NTSTATUS
rpccli_spoolss_61_recv(struct tevent_req
*req
,
1471 TALLOC_CTX
*mem_ctx
,
1473 NTSTATUS
rpccli_spoolss_61(struct rpc_pipe_client
*cli
,
1474 TALLOC_CTX
*mem_ctx
,
1476 struct tevent_req
*rpccli_spoolss_62_send(TALLOC_CTX
*mem_ctx
,
1477 struct tevent_context
*ev
,
1478 struct rpc_pipe_client
*cli
);
1479 NTSTATUS
rpccli_spoolss_62_recv(struct tevent_req
*req
,
1480 TALLOC_CTX
*mem_ctx
,
1482 NTSTATUS
rpccli_spoolss_62(struct rpc_pipe_client
*cli
,
1483 TALLOC_CTX
*mem_ctx
,
1485 struct tevent_req
*rpccli_spoolss_63_send(TALLOC_CTX
*mem_ctx
,
1486 struct tevent_context
*ev
,
1487 struct rpc_pipe_client
*cli
);
1488 NTSTATUS
rpccli_spoolss_63_recv(struct tevent_req
*req
,
1489 TALLOC_CTX
*mem_ctx
,
1491 NTSTATUS
rpccli_spoolss_63(struct rpc_pipe_client
*cli
,
1492 TALLOC_CTX
*mem_ctx
,
1494 struct tevent_req
*rpccli_spoolss_64_send(TALLOC_CTX
*mem_ctx
,
1495 struct tevent_context
*ev
,
1496 struct rpc_pipe_client
*cli
);
1497 NTSTATUS
rpccli_spoolss_64_recv(struct tevent_req
*req
,
1498 TALLOC_CTX
*mem_ctx
,
1500 NTSTATUS
rpccli_spoolss_64(struct rpc_pipe_client
*cli
,
1501 TALLOC_CTX
*mem_ctx
,
1503 struct tevent_req
*rpccli_spoolss_65_send(TALLOC_CTX
*mem_ctx
,
1504 struct tevent_context
*ev
,
1505 struct rpc_pipe_client
*cli
);
1506 NTSTATUS
rpccli_spoolss_65_recv(struct tevent_req
*req
,
1507 TALLOC_CTX
*mem_ctx
,
1509 NTSTATUS
rpccli_spoolss_65(struct rpc_pipe_client
*cli
,
1510 TALLOC_CTX
*mem_ctx
,
1512 struct tevent_req
*rpccli_spoolss_GetCorePrinterDrivers_send(TALLOC_CTX
*mem_ctx
,
1513 struct tevent_context
*ev
,
1514 struct rpc_pipe_client
*cli
,
1515 const char *_servername
/* [in] [unique,charset(UTF16)] */,
1516 const char *_architecture
/* [in] [ref,charset(UTF16)] */,
1517 uint32_t _core_driver_size
/* [in] */,
1518 const char *_core_driver_dependencies
/* [in] [ref,charset(UTF16),size_is(core_driver_size)] */,
1519 uint32_t _core_printer_driver_count
/* [in] */,
1520 struct spoolss_CorePrinterDriver
*_core_printer_drivers
/* [out] [ref,size_is(core_printer_driver_count)] */);
1521 NTSTATUS
rpccli_spoolss_GetCorePrinterDrivers_recv(struct tevent_req
*req
,
1522 TALLOC_CTX
*mem_ctx
,
1524 NTSTATUS
rpccli_spoolss_GetCorePrinterDrivers(struct rpc_pipe_client
*cli
,
1525 TALLOC_CTX
*mem_ctx
,
1526 const char *servername
/* [in] [unique,charset(UTF16)] */,
1527 const char *architecture
/* [in] [ref,charset(UTF16)] */,
1528 uint32_t core_driver_size
/* [in] */,
1529 const char *core_driver_dependencies
/* [in] [ref,charset(UTF16),size_is(core_driver_size)] */,
1530 uint32_t core_printer_driver_count
/* [in] */,
1531 struct spoolss_CorePrinterDriver
*core_printer_drivers
/* [out] [ref,size_is(core_printer_driver_count)] */,
1533 struct tevent_req
*rpccli_spoolss_67_send(TALLOC_CTX
*mem_ctx
,
1534 struct tevent_context
*ev
,
1535 struct rpc_pipe_client
*cli
);
1536 NTSTATUS
rpccli_spoolss_67_recv(struct tevent_req
*req
,
1537 TALLOC_CTX
*mem_ctx
,
1539 NTSTATUS
rpccli_spoolss_67(struct rpc_pipe_client
*cli
,
1540 TALLOC_CTX
*mem_ctx
,
1542 struct tevent_req
*rpccli_spoolss_GetPrinterDriverPackagePath_send(TALLOC_CTX
*mem_ctx
,
1543 struct tevent_context
*ev
,
1544 struct rpc_pipe_client
*cli
,
1545 const char *_servername
/* [in] [unique,charset(UTF16)] */,
1546 const char *_architecture
/* [in] [ref,charset(UTF16)] */,
1547 const char *_language
/* [in] [unique,charset(UTF16)] */,
1548 const char *_package_id
/* [in] [ref,charset(UTF16)] */,
1549 const char *_driver_package_cab
/* [in,out] [unique,charset(UTF16),size_is(driver_package_cab_size)] */,
1550 uint32_t _driver_package_cab_size
/* [in] */,
1551 uint32_t *_required
/* [out] [ref] */);
1552 NTSTATUS
rpccli_spoolss_GetPrinterDriverPackagePath_recv(struct tevent_req
*req
,
1553 TALLOC_CTX
*mem_ctx
,
1555 NTSTATUS
rpccli_spoolss_GetPrinterDriverPackagePath(struct rpc_pipe_client
*cli
,
1556 TALLOC_CTX
*mem_ctx
,
1557 const char *servername
/* [in] [unique,charset(UTF16)] */,
1558 const char *architecture
/* [in] [ref,charset(UTF16)] */,
1559 const char *language
/* [in] [unique,charset(UTF16)] */,
1560 const char *package_id
/* [in] [ref,charset(UTF16)] */,
1561 const char *driver_package_cab
/* [in,out] [unique,charset(UTF16),size_is(driver_package_cab_size)] */,
1562 uint32_t driver_package_cab_size
/* [in] */,
1563 uint32_t *required
/* [out] [ref] */,
1565 struct tevent_req
*rpccli_spoolss_69_send(TALLOC_CTX
*mem_ctx
,
1566 struct tevent_context
*ev
,
1567 struct rpc_pipe_client
*cli
);
1568 NTSTATUS
rpccli_spoolss_69_recv(struct tevent_req
*req
,
1569 TALLOC_CTX
*mem_ctx
,
1571 NTSTATUS
rpccli_spoolss_69(struct rpc_pipe_client
*cli
,
1572 TALLOC_CTX
*mem_ctx
,
1574 struct tevent_req
*rpccli_spoolss_6a_send(TALLOC_CTX
*mem_ctx
,
1575 struct tevent_context
*ev
,
1576 struct rpc_pipe_client
*cli
);
1577 NTSTATUS
rpccli_spoolss_6a_recv(struct tevent_req
*req
,
1578 TALLOC_CTX
*mem_ctx
,
1580 NTSTATUS
rpccli_spoolss_6a(struct rpc_pipe_client
*cli
,
1581 TALLOC_CTX
*mem_ctx
,
1583 struct tevent_req
*rpccli_spoolss_6b_send(TALLOC_CTX
*mem_ctx
,
1584 struct tevent_context
*ev
,
1585 struct rpc_pipe_client
*cli
);
1586 NTSTATUS
rpccli_spoolss_6b_recv(struct tevent_req
*req
,
1587 TALLOC_CTX
*mem_ctx
,
1589 NTSTATUS
rpccli_spoolss_6b(struct rpc_pipe_client
*cli
,
1590 TALLOC_CTX
*mem_ctx
,
1592 struct tevent_req
*rpccli_spoolss_6c_send(TALLOC_CTX
*mem_ctx
,
1593 struct tevent_context
*ev
,
1594 struct rpc_pipe_client
*cli
);
1595 NTSTATUS
rpccli_spoolss_6c_recv(struct tevent_req
*req
,
1596 TALLOC_CTX
*mem_ctx
,
1598 NTSTATUS
rpccli_spoolss_6c(struct rpc_pipe_client
*cli
,
1599 TALLOC_CTX
*mem_ctx
,
1601 struct tevent_req
*rpccli_spoolss_6d_send(TALLOC_CTX
*mem_ctx
,
1602 struct tevent_context
*ev
,
1603 struct rpc_pipe_client
*cli
);
1604 NTSTATUS
rpccli_spoolss_6d_recv(struct tevent_req
*req
,
1605 TALLOC_CTX
*mem_ctx
,
1607 NTSTATUS
rpccli_spoolss_6d(struct rpc_pipe_client
*cli
,
1608 TALLOC_CTX
*mem_ctx
,
1610 #endif /* __CLI_SPOOLSS__ */