1 /* The following definitions come from rpc_client/cli_spoolss.c */
3 WERROR
rpccli_spoolss_openprinter_ex(struct rpc_pipe_client
*cli
,
5 const char *printername
,
6 uint32_t access_desired
,
7 struct policy_handle
*handle
);
8 WERROR
rpccli_spoolss_getprinterdriver(struct rpc_pipe_client
*cli
,
10 struct policy_handle
*handle
,
11 const char *architecture
,
14 union spoolss_DriverInfo
*info
);
15 WERROR
rpccli_spoolss_getprinterdriver2(struct rpc_pipe_client
*cli
,
17 struct policy_handle
*handle
,
18 const char *architecture
,
21 uint32_t client_major_version
,
22 uint32_t client_minor_version
,
23 union spoolss_DriverInfo
*info
,
24 uint32_t *server_major_version
,
25 uint32_t *server_minor_version
);
26 WERROR
rpccli_spoolss_addprinterex(struct rpc_pipe_client
*cli
,
28 struct spoolss_SetPrinterInfoCtr
*info_ctr
);
29 WERROR
rpccli_spoolss_getprinter(struct rpc_pipe_client
*cli
,
31 struct policy_handle
*handle
,
34 union spoolss_PrinterInfo
*info
);
35 WERROR
rpccli_spoolss_getjob(struct rpc_pipe_client
*cli
,
37 struct policy_handle
*handle
,
41 union spoolss_JobInfo
*info
);
42 WERROR
rpccli_spoolss_enumforms(struct rpc_pipe_client
*cli
,
44 struct policy_handle
*handle
,
48 union spoolss_FormInfo
**info
);
49 WERROR
rpccli_spoolss_enumprintprocessors(struct rpc_pipe_client
*cli
,
51 const char *servername
,
52 const char *environment
,
56 union spoolss_PrintProcessorInfo
**info
);
57 WERROR
rpccli_spoolss_enumprintprocessordatatypes(struct rpc_pipe_client
*cli
,
59 const char *servername
,
60 const char *print_processor_name
,
64 union spoolss_PrintProcDataTypesInfo
**info
);
65 WERROR
rpccli_spoolss_enumports(struct rpc_pipe_client
*cli
,
67 const char *servername
,
71 union spoolss_PortInfo
**info
);
72 WERROR
rpccli_spoolss_enummonitors(struct rpc_pipe_client
*cli
,
74 const char *servername
,
78 union spoolss_MonitorInfo
**info
);
79 WERROR
rpccli_spoolss_enumjobs(struct rpc_pipe_client
*cli
,
81 struct policy_handle
*handle
,
87 union spoolss_JobInfo
**info
);
88 WERROR
rpccli_spoolss_enumprinterdrivers(struct rpc_pipe_client
*cli
,
91 const char *environment
,
95 union spoolss_DriverInfo
**info
);
96 WERROR
rpccli_spoolss_enumprinters(struct rpc_pipe_client
*cli
,
103 union spoolss_PrinterInfo
**info
);
104 WERROR
rpccli_spoolss_getprinterdata(struct rpc_pipe_client
*cli
,
106 struct policy_handle
*handle
,
107 const char *value_name
,
109 enum winreg_Type
*type
,
112 WERROR
rpccli_spoolss_enumprinterkey(struct rpc_pipe_client
*cli
,
114 struct policy_handle
*handle
,
115 const char *key_name
,
116 const char ***key_buffer
,
118 WERROR
rpccli_spoolss_enumprinterdataex(struct rpc_pipe_client
*cli
,
120 struct policy_handle
*handle
,
121 const char *key_name
,
124 struct spoolss_PrinterEnumValues
**info
);