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
,
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] */,
15 NTSTATUS
rpccli_spoolss_OpenPrinter(struct rpc_pipe_client
*cli
,
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] */,
23 NTSTATUS
rpccli_spoolss_SetJob(struct rpc_pipe_client
*cli
,
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] */,
30 NTSTATUS
rpccli_spoolss_GetJob(struct rpc_pipe_client
*cli
,
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] */,
40 NTSTATUS
rpccli_spoolss_EnumJobs(struct rpc_pipe_client
*cli
,
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] */,
52 NTSTATUS
rpccli_spoolss_AddPrinter(struct rpc_pipe_client
*cli
,
55 NTSTATUS
rpccli_spoolss_DeletePrinter(struct rpc_pipe_client
*cli
,
57 struct policy_handle
*handle
/* [in] [ref] */,
59 NTSTATUS
rpccli_spoolss_SetPrinter(struct rpc_pipe_client
*cli
,
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] */,
67 NTSTATUS
rpccli_spoolss_GetPrinter(struct rpc_pipe_client
*cli
,
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] */,
76 NTSTATUS
rpccli_spoolss_AddPrinterDriver(struct rpc_pipe_client
*cli
,
78 const char *servername
/* [in] [unique,charset(UTF16)] */,
79 struct spoolss_AddDriverInfoCtr
*info_ctr
/* [in] [ref] */,
81 NTSTATUS
rpccli_spoolss_EnumPrinterDrivers(struct rpc_pipe_client
*cli
,
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] */,
92 NTSTATUS
rpccli_spoolss_GetPrinterDriver(struct rpc_pipe_client
*cli
,
95 NTSTATUS
rpccli_spoolss_GetPrinterDriverDirectory(struct rpc_pipe_client
*cli
,
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] */,
105 NTSTATUS
rpccli_spoolss_DeletePrinterDriver(struct rpc_pipe_client
*cli
,
107 const char *server
/* [in] [unique,charset(UTF16)] */,
108 const char *architecture
/* [in] [charset(UTF16)] */,
109 const char *driver
/* [in] [charset(UTF16)] */,
111 NTSTATUS
rpccli_spoolss_AddPrintProcessor(struct rpc_pipe_client
*cli
,
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)] */,
118 NTSTATUS
rpccli_spoolss_EnumPrintProcessors(struct rpc_pipe_client
*cli
,
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] */,
129 NTSTATUS
rpccli_spoolss_GetPrintProcessorDirectory(struct rpc_pipe_client
*cli
,
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] */,
139 NTSTATUS
rpccli_spoolss_StartDocPrinter(struct rpc_pipe_client
*cli
,
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] */,
146 NTSTATUS
rpccli_spoolss_StartPagePrinter(struct rpc_pipe_client
*cli
,
148 struct policy_handle
*handle
/* [in] [ref] */,
150 NTSTATUS
rpccli_spoolss_WritePrinter(struct rpc_pipe_client
*cli
,
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] */,
157 NTSTATUS
rpccli_spoolss_EndPagePrinter(struct rpc_pipe_client
*cli
,
159 struct policy_handle
*handle
/* [in] [ref] */,
161 NTSTATUS
rpccli_spoolss_AbortPrinter(struct rpc_pipe_client
*cli
,
163 struct policy_handle
*handle
/* [in] [ref] */,
165 NTSTATUS
rpccli_spoolss_ReadPrinter(struct rpc_pipe_client
*cli
,
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] */,
172 NTSTATUS
rpccli_spoolss_EndDocPrinter(struct rpc_pipe_client
*cli
,
174 struct policy_handle
*handle
/* [in] [ref] */,
176 NTSTATUS
rpccli_spoolss_AddJob(struct rpc_pipe_client
*cli
,
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] */,
184 NTSTATUS
rpccli_spoolss_ScheduleJob(struct rpc_pipe_client
*cli
,
186 struct policy_handle
*handle
/* [in] [ref] */,
187 uint32_t jobid
/* [in] */,
189 NTSTATUS
rpccli_spoolss_GetPrinterData(struct rpc_pipe_client
*cli
,
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] */,
198 NTSTATUS
rpccli_spoolss_SetPrinterData(struct rpc_pipe_client
*cli
,
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))] */,
206 NTSTATUS
rpccli_spoolss_WaitForPrinterChange(struct rpc_pipe_client
*cli
,
209 NTSTATUS
rpccli_spoolss_ClosePrinter(struct rpc_pipe_client
*cli
,
211 struct policy_handle
*handle
/* [in,out] [ref] */,
213 NTSTATUS
rpccli_spoolss_AddForm(struct rpc_pipe_client
*cli
,
215 struct policy_handle
*handle
/* [in] [ref] */,
216 uint32_t level
/* [in] */,
217 union spoolss_AddFormInfo info
/* [in] [switch_is(level)] */,
219 NTSTATUS
rpccli_spoolss_DeleteForm(struct rpc_pipe_client
*cli
,
221 struct policy_handle
*handle
/* [in] [ref] */,
222 const char *form_name
/* [in] [charset(UTF16)] */,
224 NTSTATUS
rpccli_spoolss_GetForm(struct rpc_pipe_client
*cli
,
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] */,
234 NTSTATUS
rpccli_spoolss_SetForm(struct rpc_pipe_client
*cli
,
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)] */,
241 NTSTATUS
rpccli_spoolss_EnumForms(struct rpc_pipe_client
*cli
,
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] */,
251 NTSTATUS
rpccli_spoolss_EnumPorts(struct rpc_pipe_client
*cli
,
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] */,
261 NTSTATUS
rpccli_spoolss_EnumMonitors(struct rpc_pipe_client
*cli
,
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] */,
271 NTSTATUS
rpccli_spoolss_AddPort(struct rpc_pipe_client
*cli
,
273 const char *server_name
/* [in] [unique,charset(UTF16)] */,
274 uint32_t unknown
/* [in] */,
275 const char *monitor_name
/* [in] [charset(UTF16)] */,
277 NTSTATUS
rpccli_spoolss_ConfigurePort(struct rpc_pipe_client
*cli
,
280 NTSTATUS
rpccli_spoolss_DeletePort(struct rpc_pipe_client
*cli
,
283 NTSTATUS
rpccli_spoolss_CreatePrinterIC(struct rpc_pipe_client
*cli
,
286 NTSTATUS
rpccli_spoolss_PlayGDIScriptOnPrinterIC(struct rpc_pipe_client
*cli
,
289 NTSTATUS
rpccli_spoolss_DeletePrinterIC(struct rpc_pipe_client
*cli
,
292 NTSTATUS
rpccli_spoolss_AddPrinterConnection(struct rpc_pipe_client
*cli
,
295 NTSTATUS
rpccli_spoolss_DeletePrinterConnection(struct rpc_pipe_client
*cli
,
298 NTSTATUS
rpccli_spoolss_PrinterMessageBox(struct rpc_pipe_client
*cli
,
301 NTSTATUS
rpccli_spoolss_AddMonitor(struct rpc_pipe_client
*cli
,
304 NTSTATUS
rpccli_spoolss_DeleteMonitor(struct rpc_pipe_client
*cli
,
307 NTSTATUS
rpccli_spoolss_DeletePrintProcessor(struct rpc_pipe_client
*cli
,
310 NTSTATUS
rpccli_spoolss_AddPrintProvidor(struct rpc_pipe_client
*cli
,
313 NTSTATUS
rpccli_spoolss_DeletePrintProvidor(struct rpc_pipe_client
*cli
,
316 NTSTATUS
rpccli_spoolss_EnumPrintProcDataTypes(struct rpc_pipe_client
*cli
,
319 NTSTATUS
rpccli_spoolss_ResetPrinter(struct rpc_pipe_client
*cli
,
321 struct policy_handle
*handle
/* [in] [ref] */,
322 const char *data_type
/* [in] [unique,charset(UTF16)] */,
323 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
325 NTSTATUS
rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client
*cli
,
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] */,
339 NTSTATUS
rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
342 NTSTATUS
rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client
*cli
,
345 NTSTATUS
rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client
*cli
,
347 struct policy_handle
*handle
/* [in] [ref] */,
349 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client
*cli
,
352 NTSTATUS
rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client
*cli
,
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] */,
361 NTSTATUS
rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client
*cli
,
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)] */,
368 NTSTATUS
rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client
*cli
,
370 struct policy_handle
*handle
/* [in,out] [ref] */,
372 NTSTATUS
rpccli_spoolss_AddPortEx(struct rpc_pipe_client
*cli
,
375 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
378 NTSTATUS
rpccli_spoolss_SpoolerInit(struct rpc_pipe_client
*cli
,
381 NTSTATUS
rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client
*cli
,
384 NTSTATUS
rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client
*cli
,
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] */,
393 NTSTATUS
rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client
*cli
,
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)] */,
402 NTSTATUS
rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client
*cli
,
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] */,
409 NTSTATUS
rpccli_spoolss_44(struct rpc_pipe_client
*cli
,
412 NTSTATUS
rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client
*cli
,
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] */,
422 NTSTATUS
rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client
*cli
,
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] */,
431 NTSTATUS
rpccli_spoolss_47(struct rpc_pipe_client
*cli
,
434 NTSTATUS
rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client
*cli
,
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] */,
446 NTSTATUS
rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client
*cli
,
448 struct policy_handle
*handle
/* [in] [ref] */,
449 const char *value_name
/* [in] [charset(UTF16)] */,
451 NTSTATUS
rpccli_spoolss_4a(struct rpc_pipe_client
*cli
,
454 NTSTATUS
rpccli_spoolss_4b(struct rpc_pipe_client
*cli
,
457 NTSTATUS
rpccli_spoolss_4c(struct rpc_pipe_client
*cli
,
460 NTSTATUS
rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client
*cli
,
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] */,
469 NTSTATUS
rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client
*cli
,
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] */,
479 NTSTATUS
rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client
*cli
,
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] */,
488 NTSTATUS
rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client
*cli
,
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] */,
496 NTSTATUS
rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client
*cli
,
498 struct policy_handle
*handle
/* [in] [ref] */,
499 const char *key_name
/* [in] [charset(UTF16)] */,
500 const char *value_name
/* [in] [charset(UTF16)] */,
502 NTSTATUS
rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client
*cli
,
504 struct policy_handle
*handle
/* [in] [ref] */,
505 const char *key_name
/* [in] [charset(UTF16)] */,
507 NTSTATUS
rpccli_spoolss_53(struct rpc_pipe_client
*cli
,
510 NTSTATUS
rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client
*cli
,
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] */,
518 NTSTATUS
rpccli_spoolss_55(struct rpc_pipe_client
*cli
,
521 NTSTATUS
rpccli_spoolss_56(struct rpc_pipe_client
*cli
,
524 NTSTATUS
rpccli_spoolss_57(struct rpc_pipe_client
*cli
,
527 NTSTATUS
rpccli_spoolss_XcvData(struct rpc_pipe_client
*cli
,
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] */,
538 NTSTATUS
rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client
*cli
,
540 const char *servername
/* [in] [unique,charset(UTF16)] */,
541 struct spoolss_AddDriverInfoCtr
*info_ctr
/* [in] [ref] */,
542 uint32_t flags
/* [in] */,
544 NTSTATUS
rpccli_spoolss_5a(struct rpc_pipe_client
*cli
,
547 NTSTATUS
rpccli_spoolss_5b(struct rpc_pipe_client
*cli
,
550 NTSTATUS
rpccli_spoolss_5c(struct rpc_pipe_client
*cli
,
553 NTSTATUS
rpccli_spoolss_5d(struct rpc_pipe_client
*cli
,
556 NTSTATUS
rpccli_spoolss_5e(struct rpc_pipe_client
*cli
,
559 NTSTATUS
rpccli_spoolss_5f(struct rpc_pipe_client
*cli
,
562 #endif /* __CLI_SPOOLSS__ */