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] [ref,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] [ref,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] [ref,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] [ref,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 winreg_Type
*type
/* [out] [ref] */,
195 union spoolss_PrinterData
*data
/* [out] [subcontext_size(offered),ref,subcontext(4),switch_is(*type)] */,
196 uint32_t *needed
/* [out] [ref] */,
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 winreg_Type type
/* [in] */,
203 union spoolss_PrinterData data
/* [in] [subcontext(4),switch_is(type)] */,
204 uint32_t _offered
/* [in] [value(ndr_size_spoolss_PrinterData(&data,type,ndr->iconv_convenience,flags))] */,
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] [ref,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] [ref,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] [ref,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
,
318 const char *servername
/* [in] [unique,charset(UTF16)] */,
319 const char *print_processor_name
/* [in] [unique,charset(UTF16)] */,
320 uint32_t level
/* [in] */,
321 DATA_BLOB
*buffer
/* [in] [unique] */,
322 uint32_t offered
/* [in] */,
323 uint32_t *count
/* [out] [ref] */,
324 union spoolss_PrintProcDataTypesInfo
**info
/* [out] [ref,switch_is(level),size_is(,*count)] */,
325 uint32_t *needed
/* [out] [ref] */,
327 NTSTATUS
rpccli_spoolss_ResetPrinter(struct rpc_pipe_client
*cli
,
329 struct policy_handle
*handle
/* [in] [ref] */,
330 const char *data_type
/* [in] [unique,charset(UTF16)] */,
331 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
333 NTSTATUS
rpccli_spoolss_GetPrinterDriver2(struct rpc_pipe_client
*cli
,
335 struct policy_handle
*handle
/* [in] [ref] */,
336 const char *architecture
/* [in] [unique,charset(UTF16)] */,
337 uint32_t level
/* [in] */,
338 DATA_BLOB
*buffer
/* [in] [unique] */,
339 uint32_t offered
/* [in] */,
340 uint32_t client_major_version
/* [in] */,
341 uint32_t client_minor_version
/* [in] */,
342 union spoolss_DriverInfo
*info
/* [out] [unique,subcontext_size(offered),subcontext(4),switch_is(level)] */,
343 uint32_t *needed
/* [out] [ref] */,
344 uint32_t *server_major_version
/* [out] [ref] */,
345 uint32_t *server_minor_version
/* [out] [ref] */,
347 NTSTATUS
rpccli_spoolss_FindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
350 NTSTATUS
rpccli_spoolss_FindNextPrinterChangeNotification(struct rpc_pipe_client
*cli
,
353 NTSTATUS
rpccli_spoolss_FindClosePrinterNotify(struct rpc_pipe_client
*cli
,
355 struct policy_handle
*handle
/* [in] [ref] */,
357 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotificationOld(struct rpc_pipe_client
*cli
,
360 NTSTATUS
rpccli_spoolss_ReplyOpenPrinter(struct rpc_pipe_client
*cli
,
362 const char *server_name
/* [in] [charset(UTF16)] */,
363 uint32_t printer_local
/* [in] */,
364 enum winreg_Type type
/* [in] */,
365 uint32_t bufsize
/* [in] [range(0,512)] */,
366 uint8_t *buffer
/* [in] [unique,size_is(bufsize)] */,
367 struct policy_handle
*handle
/* [out] [ref] */,
369 NTSTATUS
rpccli_spoolss_RouterReplyPrinter(struct rpc_pipe_client
*cli
,
371 struct policy_handle
*handle
/* [in] [ref] */,
372 uint32_t flags
/* [in] */,
373 uint32_t bufsize
/* [in] [range(0,512)] */,
374 uint8_t *buffer
/* [in] [unique,size_is(bufsize)] */,
376 NTSTATUS
rpccli_spoolss_ReplyClosePrinter(struct rpc_pipe_client
*cli
,
378 struct policy_handle
*handle
/* [in,out] [ref] */,
380 NTSTATUS
rpccli_spoolss_AddPortEx(struct rpc_pipe_client
*cli
,
383 NTSTATUS
rpccli_spoolss_RouterFindFirstPrinterChangeNotification(struct rpc_pipe_client
*cli
,
386 NTSTATUS
rpccli_spoolss_SpoolerInit(struct rpc_pipe_client
*cli
,
389 NTSTATUS
rpccli_spoolss_ResetPrinterEx(struct rpc_pipe_client
*cli
,
392 NTSTATUS
rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct rpc_pipe_client
*cli
,
394 struct policy_handle
*handle
/* [in] [ref] */,
395 uint32_t flags
/* [in] */,
396 uint32_t options
/* [in] */,
397 const char *local_machine
/* [in] [unique,charset(UTF16)] */,
398 uint32_t printer_local
/* [in] */,
399 struct spoolss_NotifyOption
*notify_options
/* [in] [unique] */,
401 NTSTATUS
rpccli_spoolss_RouterReplyPrinterEx(struct rpc_pipe_client
*cli
,
403 struct policy_handle
*handle
/* [in] [ref] */,
404 uint32_t color
/* [in] */,
405 uint32_t flags
/* [in] */,
406 uint32_t *reply_result
/* [out] [ref] */,
407 uint32_t reply_type
/* [in] */,
408 union spoolss_ReplyPrinterInfo info
/* [in] [switch_is(reply_type)] */,
410 NTSTATUS
rpccli_spoolss_RouterRefreshPrinterChangeNotify(struct rpc_pipe_client
*cli
,
412 struct policy_handle
*handle
/* [in] [ref] */,
413 uint32_t change_low
/* [in] */,
414 struct spoolss_NotifyOption
*options
/* [in] [unique] */,
415 struct spoolss_NotifyInfo
**info
/* [out] [ref] */,
417 NTSTATUS
rpccli_spoolss_44(struct rpc_pipe_client
*cli
,
420 NTSTATUS
rpccli_spoolss_OpenPrinterEx(struct rpc_pipe_client
*cli
,
422 const char *printername
/* [in] [unique,charset(UTF16)] */,
423 const char *datatype
/* [in] [unique,charset(UTF16)] */,
424 struct spoolss_DevmodeContainer devmode_ctr
/* [in] */,
425 uint32_t access_mask
/* [in] */,
426 uint32_t level
/* [in] */,
427 union spoolss_UserLevel userlevel
/* [in] [switch_is(level)] */,
428 struct policy_handle
*handle
/* [out] [ref] */,
430 NTSTATUS
rpccli_spoolss_AddPrinterEx(struct rpc_pipe_client
*cli
,
432 const char *server
/* [in] [unique,charset(UTF16)] */,
433 struct spoolss_SetPrinterInfoCtr
*info_ctr
/* [in] [ref] */,
434 struct spoolss_DevmodeContainer
*devmode_ctr
/* [in] [ref] */,
435 struct sec_desc_buf
*secdesc_ctr
/* [in] [ref] */,
436 struct spoolss_UserLevelCtr
*userlevel_ctr
/* [in] [ref] */,
437 struct policy_handle
*handle
/* [out] [ref] */,
439 NTSTATUS
rpccli_spoolss_47(struct rpc_pipe_client
*cli
,
442 NTSTATUS
rpccli_spoolss_EnumPrinterData(struct rpc_pipe_client
*cli
,
444 struct policy_handle
*handle
/* [in] [ref] */,
445 uint32_t enum_index
/* [in] */,
446 const char *value_name
/* [out] [charset(UTF16),size_is(value_offered/2)] */,
447 uint32_t value_offered
/* [in] */,
448 uint32_t *value_needed
/* [out] [ref] */,
449 enum winreg_Type
*type
/* [out] [ref] */,
450 uint8_t *data
/* [out] [ref,flag(LIBNDR_PRINT_ARRAY_HEX),size_is(data_offered)] */,
451 uint32_t data_offered
/* [in] */,
452 uint32_t *data_needed
/* [out] [ref] */,
454 NTSTATUS
rpccli_spoolss_DeletePrinterData(struct rpc_pipe_client
*cli
,
456 struct policy_handle
*handle
/* [in] [ref] */,
457 const char *value_name
/* [in] [charset(UTF16)] */,
459 NTSTATUS
rpccli_spoolss_4a(struct rpc_pipe_client
*cli
,
462 NTSTATUS
rpccli_spoolss_4b(struct rpc_pipe_client
*cli
,
465 NTSTATUS
rpccli_spoolss_4c(struct rpc_pipe_client
*cli
,
468 NTSTATUS
rpccli_spoolss_SetPrinterDataEx(struct rpc_pipe_client
*cli
,
470 struct policy_handle
*handle
/* [in] [ref] */,
471 const char *key_name
/* [in] [charset(UTF16)] */,
472 const char *value_name
/* [in] [charset(UTF16)] */,
473 enum winreg_Type type
/* [in] */,
474 uint8_t *buffer
/* [in] [ref,size_is(offered)] */,
475 uint32_t offered
/* [in] */,
477 NTSTATUS
rpccli_spoolss_GetPrinterDataEx(struct rpc_pipe_client
*cli
,
479 struct policy_handle
*handle
/* [in] [ref] */,
480 const char *key_name
/* [in] [charset(UTF16)] */,
481 const char *value_name
/* [in] [charset(UTF16)] */,
482 enum winreg_Type
*type
/* [out] [ref] */,
483 uint8_t *buffer
/* [out] [ref,size_is(offered)] */,
484 uint32_t offered
/* [in] */,
485 uint32_t *needed
/* [out] [ref] */,
487 NTSTATUS
rpccli_spoolss_EnumPrinterDataEx(struct rpc_pipe_client
*cli
,
489 struct policy_handle
*handle
/* [in] [ref] */,
490 const char *key_name
/* [in] [charset(UTF16)] */,
491 uint32_t offered
/* [in] */,
492 uint32_t *count
/* [out] [ref] */,
493 struct spoolss_PrinterEnumValues
**info
/* [out] [ref,size_is(,*count)] */,
494 uint32_t *needed
/* [out] [ref] */,
496 NTSTATUS
rpccli_spoolss_EnumPrinterKey(struct rpc_pipe_client
*cli
,
498 struct policy_handle
*handle
/* [in] [ref] */,
499 const char *key_name
/* [in] [charset(UTF16)] */,
500 const char ** *key_buffer
/* [out] [subcontext_size(offered),ref,subcontext(0),flag(LIBNDR_FLAG_STR_NULLTERM)] */,
501 uint32_t offered
/* [in] */,
502 uint32_t *needed
/* [out] [ref] */,
504 NTSTATUS
rpccli_spoolss_DeletePrinterDataEx(struct rpc_pipe_client
*cli
,
506 struct policy_handle
*handle
/* [in] [ref] */,
507 const char *key_name
/* [in] [charset(UTF16)] */,
508 const char *value_name
/* [in] [charset(UTF16)] */,
510 NTSTATUS
rpccli_spoolss_DeletePrinterKey(struct rpc_pipe_client
*cli
,
512 struct policy_handle
*handle
/* [in] [ref] */,
513 const char *key_name
/* [in] [charset(UTF16)] */,
515 NTSTATUS
rpccli_spoolss_53(struct rpc_pipe_client
*cli
,
518 NTSTATUS
rpccli_spoolss_DeletePrinterDriverEx(struct rpc_pipe_client
*cli
,
520 const char *server
/* [in] [unique,charset(UTF16)] */,
521 const char *architecture
/* [in] [charset(UTF16)] */,
522 const char *driver
/* [in] [charset(UTF16)] */,
523 uint32_t delete_flags
/* [in] */,
524 uint32_t version
/* [in] */,
526 NTSTATUS
rpccli_spoolss_55(struct rpc_pipe_client
*cli
,
529 NTSTATUS
rpccli_spoolss_56(struct rpc_pipe_client
*cli
,
532 NTSTATUS
rpccli_spoolss_57(struct rpc_pipe_client
*cli
,
535 NTSTATUS
rpccli_spoolss_XcvData(struct rpc_pipe_client
*cli
,
537 struct policy_handle
*handle
/* [in] [ref] */,
538 const char *function_name
/* [in] [charset(UTF16)] */,
539 DATA_BLOB in_data
/* [in] */,
540 uint32_t _in_data_length
/* [in] [value(r->in.in_data.length)] */,
541 uint8_t *out_data
/* [out] [ref,size_is(out_data_size)] */,
542 uint32_t out_data_size
/* [in] */,
543 uint32_t *needed
/* [out] [ref] */,
544 uint32_t *status_code
/* [in,out] [ref] */,
546 NTSTATUS
rpccli_spoolss_AddPrinterDriverEx(struct rpc_pipe_client
*cli
,
548 const char *servername
/* [in] [unique,charset(UTF16)] */,
549 struct spoolss_AddDriverInfoCtr
*info_ctr
/* [in] [ref] */,
550 uint32_t flags
/* [in] */,
552 NTSTATUS
rpccli_spoolss_5a(struct rpc_pipe_client
*cli
,
555 NTSTATUS
rpccli_spoolss_5b(struct rpc_pipe_client
*cli
,
558 NTSTATUS
rpccli_spoolss_5c(struct rpc_pipe_client
*cli
,
561 NTSTATUS
rpccli_spoolss_5d(struct rpc_pipe_client
*cli
,
564 NTSTATUS
rpccli_spoolss_5e(struct rpc_pipe_client
*cli
,
567 NTSTATUS
rpccli_spoolss_5f(struct rpc_pipe_client
*cli
,
570 #endif /* __CLI_SPOOLSS__ */