git add -f bin/default/librpc/gen_ndr/*.[ch] bin/default/source*/librpc/gen_ndr/...
[metze/samba/wip.git] / bin.gen_ndr / default / librpc / gen_ndr / ndr_svcctl_c.h
1 #include "librpc/rpc/dcerpc.h"
2 #include "bin/default/librpc/gen_ndr/svcctl.h"
3 #ifndef _HEADER_RPC_svcctl
4 #define _HEADER_RPC_svcctl
5
6 extern const struct ndr_interface_table ndr_table_svcctl;
7
8 struct tevent_req *dcerpc_svcctl_CloseServiceHandle_r_send(TALLOC_CTX *mem_ctx,
9         struct tevent_context *ev,
10         struct dcerpc_binding_handle *h,
11         struct svcctl_CloseServiceHandle *r);
12 NTSTATUS dcerpc_svcctl_CloseServiceHandle_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
13 NTSTATUS dcerpc_svcctl_CloseServiceHandle_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_CloseServiceHandle *r);
14 struct tevent_req *dcerpc_svcctl_CloseServiceHandle_send(TALLOC_CTX *mem_ctx,
15                                                          struct tevent_context *ev,
16                                                          struct dcerpc_binding_handle *h,
17                                                          struct policy_handle *_handle /* [in,out] [ref] */);
18 NTSTATUS dcerpc_svcctl_CloseServiceHandle_recv(struct tevent_req *req,
19                                                TALLOC_CTX *mem_ctx,
20                                                WERROR *result);
21 NTSTATUS dcerpc_svcctl_CloseServiceHandle(struct dcerpc_binding_handle *h,
22                                           TALLOC_CTX *mem_ctx,
23                                           struct policy_handle *_handle /* [in,out] [ref] */,
24                                           WERROR *result);
25
26 struct tevent_req *dcerpc_svcctl_ControlService_r_send(TALLOC_CTX *mem_ctx,
27         struct tevent_context *ev,
28         struct dcerpc_binding_handle *h,
29         struct svcctl_ControlService *r);
30 NTSTATUS dcerpc_svcctl_ControlService_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
31 NTSTATUS dcerpc_svcctl_ControlService_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_ControlService *r);
32 struct tevent_req *dcerpc_svcctl_ControlService_send(TALLOC_CTX *mem_ctx,
33                                                      struct tevent_context *ev,
34                                                      struct dcerpc_binding_handle *h,
35                                                      struct policy_handle *_handle /* [in] [ref] */,
36                                                      enum SERVICE_CONTROL _control /* [in]  */,
37                                                      struct SERVICE_STATUS *_service_status /* [out] [ref] */);
38 NTSTATUS dcerpc_svcctl_ControlService_recv(struct tevent_req *req,
39                                            TALLOC_CTX *mem_ctx,
40                                            WERROR *result);
41 NTSTATUS dcerpc_svcctl_ControlService(struct dcerpc_binding_handle *h,
42                                       TALLOC_CTX *mem_ctx,
43                                       struct policy_handle *_handle /* [in] [ref] */,
44                                       enum SERVICE_CONTROL _control /* [in]  */,
45                                       struct SERVICE_STATUS *_service_status /* [out] [ref] */,
46                                       WERROR *result);
47
48 struct tevent_req *dcerpc_svcctl_DeleteService_r_send(TALLOC_CTX *mem_ctx,
49         struct tevent_context *ev,
50         struct dcerpc_binding_handle *h,
51         struct svcctl_DeleteService *r);
52 NTSTATUS dcerpc_svcctl_DeleteService_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
53 NTSTATUS dcerpc_svcctl_DeleteService_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_DeleteService *r);
54 struct tevent_req *dcerpc_svcctl_DeleteService_send(TALLOC_CTX *mem_ctx,
55                                                     struct tevent_context *ev,
56                                                     struct dcerpc_binding_handle *h,
57                                                     struct policy_handle *_handle /* [in] [ref] */);
58 NTSTATUS dcerpc_svcctl_DeleteService_recv(struct tevent_req *req,
59                                           TALLOC_CTX *mem_ctx,
60                                           WERROR *result);
61 NTSTATUS dcerpc_svcctl_DeleteService(struct dcerpc_binding_handle *h,
62                                      TALLOC_CTX *mem_ctx,
63                                      struct policy_handle *_handle /* [in] [ref] */,
64                                      WERROR *result);
65
66 struct tevent_req *dcerpc_svcctl_LockServiceDatabase_r_send(TALLOC_CTX *mem_ctx,
67         struct tevent_context *ev,
68         struct dcerpc_binding_handle *h,
69         struct svcctl_LockServiceDatabase *r);
70 NTSTATUS dcerpc_svcctl_LockServiceDatabase_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
71 NTSTATUS dcerpc_svcctl_LockServiceDatabase_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_LockServiceDatabase *r);
72 struct tevent_req *dcerpc_svcctl_LockServiceDatabase_send(TALLOC_CTX *mem_ctx,
73                                                           struct tevent_context *ev,
74                                                           struct dcerpc_binding_handle *h,
75                                                           struct policy_handle *_handle /* [in] [ref] */,
76                                                           struct policy_handle *_lock /* [out] [ref] */);
77 NTSTATUS dcerpc_svcctl_LockServiceDatabase_recv(struct tevent_req *req,
78                                                 TALLOC_CTX *mem_ctx,
79                                                 WERROR *result);
80 NTSTATUS dcerpc_svcctl_LockServiceDatabase(struct dcerpc_binding_handle *h,
81                                            TALLOC_CTX *mem_ctx,
82                                            struct policy_handle *_handle /* [in] [ref] */,
83                                            struct policy_handle *_lock /* [out] [ref] */,
84                                            WERROR *result);
85
86 struct tevent_req *dcerpc_svcctl_QueryServiceObjectSecurity_r_send(TALLOC_CTX *mem_ctx,
87         struct tevent_context *ev,
88         struct dcerpc_binding_handle *h,
89         struct svcctl_QueryServiceObjectSecurity *r);
90 NTSTATUS dcerpc_svcctl_QueryServiceObjectSecurity_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
91 NTSTATUS dcerpc_svcctl_QueryServiceObjectSecurity_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceObjectSecurity *r);
92 struct tevent_req *dcerpc_svcctl_QueryServiceObjectSecurity_send(TALLOC_CTX *mem_ctx,
93                                                                  struct tevent_context *ev,
94                                                                  struct dcerpc_binding_handle *h,
95                                                                  struct policy_handle *_handle /* [in] [ref] */,
96                                                                  uint32_t _security_flags /* [in]  */,
97                                                                  uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
98                                                                  uint32_t _offered /* [in] [range(0,0x40000)] */,
99                                                                  uint32_t *_needed /* [out] [ref,range(0,0x40000)] */);
100 NTSTATUS dcerpc_svcctl_QueryServiceObjectSecurity_recv(struct tevent_req *req,
101                                                        TALLOC_CTX *mem_ctx,
102                                                        WERROR *result);
103 NTSTATUS dcerpc_svcctl_QueryServiceObjectSecurity(struct dcerpc_binding_handle *h,
104                                                   TALLOC_CTX *mem_ctx,
105                                                   struct policy_handle *_handle /* [in] [ref] */,
106                                                   uint32_t _security_flags /* [in]  */,
107                                                   uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
108                                                   uint32_t _offered /* [in] [range(0,0x40000)] */,
109                                                   uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
110                                                   WERROR *result);
111
112 struct tevent_req *dcerpc_svcctl_SetServiceObjectSecurity_r_send(TALLOC_CTX *mem_ctx,
113         struct tevent_context *ev,
114         struct dcerpc_binding_handle *h,
115         struct svcctl_SetServiceObjectSecurity *r);
116 NTSTATUS dcerpc_svcctl_SetServiceObjectSecurity_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
117 NTSTATUS dcerpc_svcctl_SetServiceObjectSecurity_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_SetServiceObjectSecurity *r);
118 struct tevent_req *dcerpc_svcctl_SetServiceObjectSecurity_send(TALLOC_CTX *mem_ctx,
119                                                                struct tevent_context *ev,
120                                                                struct dcerpc_binding_handle *h,
121                                                                struct policy_handle *_handle /* [in] [ref] */,
122                                                                uint32_t _security_flags /* [in]  */,
123                                                                uint8_t *_buffer /* [in] [ref,size_is(offered)] */,
124                                                                uint32_t _offered /* [in]  */);
125 NTSTATUS dcerpc_svcctl_SetServiceObjectSecurity_recv(struct tevent_req *req,
126                                                      TALLOC_CTX *mem_ctx,
127                                                      WERROR *result);
128 NTSTATUS dcerpc_svcctl_SetServiceObjectSecurity(struct dcerpc_binding_handle *h,
129                                                 TALLOC_CTX *mem_ctx,
130                                                 struct policy_handle *_handle /* [in] [ref] */,
131                                                 uint32_t _security_flags /* [in]  */,
132                                                 uint8_t *_buffer /* [in] [ref,size_is(offered)] */,
133                                                 uint32_t _offered /* [in]  */,
134                                                 WERROR *result);
135
136 struct tevent_req *dcerpc_svcctl_QueryServiceStatus_r_send(TALLOC_CTX *mem_ctx,
137         struct tevent_context *ev,
138         struct dcerpc_binding_handle *h,
139         struct svcctl_QueryServiceStatus *r);
140 NTSTATUS dcerpc_svcctl_QueryServiceStatus_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
141 NTSTATUS dcerpc_svcctl_QueryServiceStatus_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceStatus *r);
142 struct tevent_req *dcerpc_svcctl_QueryServiceStatus_send(TALLOC_CTX *mem_ctx,
143                                                          struct tevent_context *ev,
144                                                          struct dcerpc_binding_handle *h,
145                                                          struct policy_handle *_handle /* [in] [ref] */,
146                                                          struct SERVICE_STATUS *_service_status /* [out] [ref] */);
147 NTSTATUS dcerpc_svcctl_QueryServiceStatus_recv(struct tevent_req *req,
148                                                TALLOC_CTX *mem_ctx,
149                                                WERROR *result);
150 NTSTATUS dcerpc_svcctl_QueryServiceStatus(struct dcerpc_binding_handle *h,
151                                           TALLOC_CTX *mem_ctx,
152                                           struct policy_handle *_handle /* [in] [ref] */,
153                                           struct SERVICE_STATUS *_service_status /* [out] [ref] */,
154                                           WERROR *result);
155
156 struct tevent_req *dcerpc_svcctl_UnlockServiceDatabase_r_send(TALLOC_CTX *mem_ctx,
157         struct tevent_context *ev,
158         struct dcerpc_binding_handle *h,
159         struct svcctl_UnlockServiceDatabase *r);
160 NTSTATUS dcerpc_svcctl_UnlockServiceDatabase_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
161 NTSTATUS dcerpc_svcctl_UnlockServiceDatabase_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_UnlockServiceDatabase *r);
162 struct tevent_req *dcerpc_svcctl_UnlockServiceDatabase_send(TALLOC_CTX *mem_ctx,
163                                                             struct tevent_context *ev,
164                                                             struct dcerpc_binding_handle *h,
165                                                             struct policy_handle *_lock /* [in,out] [ref] */);
166 NTSTATUS dcerpc_svcctl_UnlockServiceDatabase_recv(struct tevent_req *req,
167                                                   TALLOC_CTX *mem_ctx,
168                                                   WERROR *result);
169 NTSTATUS dcerpc_svcctl_UnlockServiceDatabase(struct dcerpc_binding_handle *h,
170                                              TALLOC_CTX *mem_ctx,
171                                              struct policy_handle *_lock /* [in,out] [ref] */,
172                                              WERROR *result);
173
174 struct tevent_req *dcerpc_svcctl_SCSetServiceBitsW_r_send(TALLOC_CTX *mem_ctx,
175         struct tevent_context *ev,
176         struct dcerpc_binding_handle *h,
177         struct svcctl_SCSetServiceBitsW *r);
178 NTSTATUS dcerpc_svcctl_SCSetServiceBitsW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
179 NTSTATUS dcerpc_svcctl_SCSetServiceBitsW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_SCSetServiceBitsW *r);
180 struct tevent_req *dcerpc_svcctl_SCSetServiceBitsW_send(TALLOC_CTX *mem_ctx,
181                                                         struct tevent_context *ev,
182                                                         struct dcerpc_binding_handle *h,
183                                                         struct policy_handle *_handle /* [in] [ref] */,
184                                                         uint32_t _bits /* [in]  */,
185                                                         uint32_t _bitson /* [in]  */,
186                                                         uint32_t _immediate /* [in]  */);
187 NTSTATUS dcerpc_svcctl_SCSetServiceBitsW_recv(struct tevent_req *req,
188                                               TALLOC_CTX *mem_ctx,
189                                               WERROR *result);
190 NTSTATUS dcerpc_svcctl_SCSetServiceBitsW(struct dcerpc_binding_handle *h,
191                                          TALLOC_CTX *mem_ctx,
192                                          struct policy_handle *_handle /* [in] [ref] */,
193                                          uint32_t _bits /* [in]  */,
194                                          uint32_t _bitson /* [in]  */,
195                                          uint32_t _immediate /* [in]  */,
196                                          WERROR *result);
197
198 struct tevent_req *dcerpc_svcctl_ChangeServiceConfigW_r_send(TALLOC_CTX *mem_ctx,
199         struct tevent_context *ev,
200         struct dcerpc_binding_handle *h,
201         struct svcctl_ChangeServiceConfigW *r);
202 NTSTATUS dcerpc_svcctl_ChangeServiceConfigW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
203 NTSTATUS dcerpc_svcctl_ChangeServiceConfigW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_ChangeServiceConfigW *r);
204 struct tevent_req *dcerpc_svcctl_ChangeServiceConfigW_send(TALLOC_CTX *mem_ctx,
205                                                            struct tevent_context *ev,
206                                                            struct dcerpc_binding_handle *h,
207                                                            struct policy_handle *_handle /* [in] [ref] */,
208                                                            uint32_t _type /* [in]  */,
209                                                            enum svcctl_StartType _start_type /* [in]  */,
210                                                            enum svcctl_ErrorControl _error_control /* [in]  */,
211                                                            const char *_binary_path /* [in] [unique,charset(UTF16)] */,
212                                                            const char *_load_order_group /* [in] [unique,charset(UTF16)] */,
213                                                            uint32_t *_tag_id /* [out] [ref] */,
214                                                            const char *_dependencies /* [in] [unique,charset(UTF16)] */,
215                                                            const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
216                                                            const char *_password /* [in] [unique,charset(UTF16)] */,
217                                                            const char *_display_name /* [in] [unique,charset(UTF16)] */);
218 NTSTATUS dcerpc_svcctl_ChangeServiceConfigW_recv(struct tevent_req *req,
219                                                  TALLOC_CTX *mem_ctx,
220                                                  WERROR *result);
221 NTSTATUS dcerpc_svcctl_ChangeServiceConfigW(struct dcerpc_binding_handle *h,
222                                             TALLOC_CTX *mem_ctx,
223                                             struct policy_handle *_handle /* [in] [ref] */,
224                                             uint32_t _type /* [in]  */,
225                                             enum svcctl_StartType _start_type /* [in]  */,
226                                             enum svcctl_ErrorControl _error_control /* [in]  */,
227                                             const char *_binary_path /* [in] [unique,charset(UTF16)] */,
228                                             const char *_load_order_group /* [in] [unique,charset(UTF16)] */,
229                                             uint32_t *_tag_id /* [out] [ref] */,
230                                             const char *_dependencies /* [in] [unique,charset(UTF16)] */,
231                                             const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
232                                             const char *_password /* [in] [unique,charset(UTF16)] */,
233                                             const char *_display_name /* [in] [unique,charset(UTF16)] */,
234                                             WERROR *result);
235
236 struct tevent_req *dcerpc_svcctl_CreateServiceW_r_send(TALLOC_CTX *mem_ctx,
237         struct tevent_context *ev,
238         struct dcerpc_binding_handle *h,
239         struct svcctl_CreateServiceW *r);
240 NTSTATUS dcerpc_svcctl_CreateServiceW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
241 NTSTATUS dcerpc_svcctl_CreateServiceW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_CreateServiceW *r);
242 struct tevent_req *dcerpc_svcctl_CreateServiceW_send(TALLOC_CTX *mem_ctx,
243                                                      struct tevent_context *ev,
244                                                      struct dcerpc_binding_handle *h,
245                                                      struct policy_handle *_scmanager_handle /* [in] [ref] */,
246                                                      const char *_ServiceName /* [in] [charset(UTF16)] */,
247                                                      const char *_DisplayName /* [in] [unique,charset(UTF16)] */,
248                                                      uint32_t _desired_access /* [in]  */,
249                                                      uint32_t _type /* [in]  */,
250                                                      enum svcctl_StartType _start_type /* [in]  */,
251                                                      enum svcctl_ErrorControl _error_control /* [in]  */,
252                                                      const char *_binary_path /* [in] [charset(UTF16)] */,
253                                                      const char *_LoadOrderGroupKey /* [in] [unique,charset(UTF16)] */,
254                                                      uint32_t *_TagId /* [in,out] [unique] */,
255                                                      uint8_t *_dependencies /* [in] [unique,size_is(dependencies_size)] */,
256                                                      uint32_t _dependencies_size /* [in]  */,
257                                                      const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
258                                                      uint8_t *_password /* [in] [unique,size_is(password_size)] */,
259                                                      uint32_t _password_size /* [in]  */,
260                                                      struct policy_handle *_handle /* [out] [ref] */);
261 NTSTATUS dcerpc_svcctl_CreateServiceW_recv(struct tevent_req *req,
262                                            TALLOC_CTX *mem_ctx,
263                                            WERROR *result);
264 NTSTATUS dcerpc_svcctl_CreateServiceW(struct dcerpc_binding_handle *h,
265                                       TALLOC_CTX *mem_ctx,
266                                       struct policy_handle *_scmanager_handle /* [in] [ref] */,
267                                       const char *_ServiceName /* [in] [charset(UTF16)] */,
268                                       const char *_DisplayName /* [in] [unique,charset(UTF16)] */,
269                                       uint32_t _desired_access /* [in]  */,
270                                       uint32_t _type /* [in]  */,
271                                       enum svcctl_StartType _start_type /* [in]  */,
272                                       enum svcctl_ErrorControl _error_control /* [in]  */,
273                                       const char *_binary_path /* [in] [charset(UTF16)] */,
274                                       const char *_LoadOrderGroupKey /* [in] [unique,charset(UTF16)] */,
275                                       uint32_t *_TagId /* [in,out] [unique] */,
276                                       uint8_t *_dependencies /* [in] [unique,size_is(dependencies_size)] */,
277                                       uint32_t _dependencies_size /* [in]  */,
278                                       const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
279                                       uint8_t *_password /* [in] [unique,size_is(password_size)] */,
280                                       uint32_t _password_size /* [in]  */,
281                                       struct policy_handle *_handle /* [out] [ref] */,
282                                       WERROR *result);
283
284 struct tevent_req *dcerpc_svcctl_EnumDependentServicesW_r_send(TALLOC_CTX *mem_ctx,
285         struct tevent_context *ev,
286         struct dcerpc_binding_handle *h,
287         struct svcctl_EnumDependentServicesW *r);
288 NTSTATUS dcerpc_svcctl_EnumDependentServicesW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
289 NTSTATUS dcerpc_svcctl_EnumDependentServicesW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_EnumDependentServicesW *r);
290 struct tevent_req *dcerpc_svcctl_EnumDependentServicesW_send(TALLOC_CTX *mem_ctx,
291                                                              struct tevent_context *ev,
292                                                              struct dcerpc_binding_handle *h,
293                                                              struct policy_handle *_service /* [in] [ref] */,
294                                                              enum svcctl_ServiceState _state /* [in]  */,
295                                                              uint8_t *_service_status /* [out] [ref,size_is(offered)] */,
296                                                              uint32_t _offered /* [in] [range(0,0x40000)] */,
297                                                              uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
298                                                              uint32_t *_services_returned /* [out] [ref,range(0,0x40000)] */);
299 NTSTATUS dcerpc_svcctl_EnumDependentServicesW_recv(struct tevent_req *req,
300                                                    TALLOC_CTX *mem_ctx,
301                                                    WERROR *result);
302 NTSTATUS dcerpc_svcctl_EnumDependentServicesW(struct dcerpc_binding_handle *h,
303                                               TALLOC_CTX *mem_ctx,
304                                               struct policy_handle *_service /* [in] [ref] */,
305                                               enum svcctl_ServiceState _state /* [in]  */,
306                                               uint8_t *_service_status /* [out] [ref,size_is(offered)] */,
307                                               uint32_t _offered /* [in] [range(0,0x40000)] */,
308                                               uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
309                                               uint32_t *_services_returned /* [out] [ref,range(0,0x40000)] */,
310                                               WERROR *result);
311
312 struct tevent_req *dcerpc_svcctl_EnumServicesStatusW_r_send(TALLOC_CTX *mem_ctx,
313         struct tevent_context *ev,
314         struct dcerpc_binding_handle *h,
315         struct svcctl_EnumServicesStatusW *r);
316 NTSTATUS dcerpc_svcctl_EnumServicesStatusW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
317 NTSTATUS dcerpc_svcctl_EnumServicesStatusW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_EnumServicesStatusW *r);
318 struct tevent_req *dcerpc_svcctl_EnumServicesStatusW_send(TALLOC_CTX *mem_ctx,
319                                                           struct tevent_context *ev,
320                                                           struct dcerpc_binding_handle *h,
321                                                           struct policy_handle *_handle /* [in] [ref] */,
322                                                           uint32_t _type /* [in]  */,
323                                                           enum svcctl_ServiceState _state /* [in]  */,
324                                                           uint8_t *_service /* [out] [ref,size_is(offered)] */,
325                                                           uint32_t _offered /* [in] [range(0,0x40000)] */,
326                                                           uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
327                                                           uint32_t *_services_returned /* [out] [ref,range(0,0x40000)] */,
328                                                           uint32_t *_resume_handle /* [in,out] [unique] */);
329 NTSTATUS dcerpc_svcctl_EnumServicesStatusW_recv(struct tevent_req *req,
330                                                 TALLOC_CTX *mem_ctx,
331                                                 WERROR *result);
332 NTSTATUS dcerpc_svcctl_EnumServicesStatusW(struct dcerpc_binding_handle *h,
333                                            TALLOC_CTX *mem_ctx,
334                                            struct policy_handle *_handle /* [in] [ref] */,
335                                            uint32_t _type /* [in]  */,
336                                            enum svcctl_ServiceState _state /* [in]  */,
337                                            uint8_t *_service /* [out] [ref,size_is(offered)] */,
338                                            uint32_t _offered /* [in] [range(0,0x40000)] */,
339                                            uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
340                                            uint32_t *_services_returned /* [out] [ref,range(0,0x40000)] */,
341                                            uint32_t *_resume_handle /* [in,out] [unique] */,
342                                            WERROR *result);
343
344 struct tevent_req *dcerpc_svcctl_OpenSCManagerW_r_send(TALLOC_CTX *mem_ctx,
345         struct tevent_context *ev,
346         struct dcerpc_binding_handle *h,
347         struct svcctl_OpenSCManagerW *r);
348 NTSTATUS dcerpc_svcctl_OpenSCManagerW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
349 NTSTATUS dcerpc_svcctl_OpenSCManagerW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_OpenSCManagerW *r);
350 struct tevent_req *dcerpc_svcctl_OpenSCManagerW_send(TALLOC_CTX *mem_ctx,
351                                                      struct tevent_context *ev,
352                                                      struct dcerpc_binding_handle *h,
353                                                      const char *_MachineName /* [in] [unique,charset(UTF16)] */,
354                                                      const char *_DatabaseName /* [in] [unique,charset(UTF16)] */,
355                                                      uint32_t _access_mask /* [in]  */,
356                                                      struct policy_handle *_handle /* [out] [ref] */);
357 NTSTATUS dcerpc_svcctl_OpenSCManagerW_recv(struct tevent_req *req,
358                                            TALLOC_CTX *mem_ctx,
359                                            WERROR *result);
360 NTSTATUS dcerpc_svcctl_OpenSCManagerW(struct dcerpc_binding_handle *h,
361                                       TALLOC_CTX *mem_ctx,
362                                       const char *_MachineName /* [in] [unique,charset(UTF16)] */,
363                                       const char *_DatabaseName /* [in] [unique,charset(UTF16)] */,
364                                       uint32_t _access_mask /* [in]  */,
365                                       struct policy_handle *_handle /* [out] [ref] */,
366                                       WERROR *result);
367
368 struct tevent_req *dcerpc_svcctl_OpenServiceW_r_send(TALLOC_CTX *mem_ctx,
369         struct tevent_context *ev,
370         struct dcerpc_binding_handle *h,
371         struct svcctl_OpenServiceW *r);
372 NTSTATUS dcerpc_svcctl_OpenServiceW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
373 NTSTATUS dcerpc_svcctl_OpenServiceW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_OpenServiceW *r);
374 struct tevent_req *dcerpc_svcctl_OpenServiceW_send(TALLOC_CTX *mem_ctx,
375                                                    struct tevent_context *ev,
376                                                    struct dcerpc_binding_handle *h,
377                                                    struct policy_handle *_scmanager_handle /* [in] [ref] */,
378                                                    const char *_ServiceName /* [in] [charset(UTF16)] */,
379                                                    uint32_t _access_mask /* [in]  */,
380                                                    struct policy_handle *_handle /* [out] [ref] */);
381 NTSTATUS dcerpc_svcctl_OpenServiceW_recv(struct tevent_req *req,
382                                          TALLOC_CTX *mem_ctx,
383                                          WERROR *result);
384 NTSTATUS dcerpc_svcctl_OpenServiceW(struct dcerpc_binding_handle *h,
385                                     TALLOC_CTX *mem_ctx,
386                                     struct policy_handle *_scmanager_handle /* [in] [ref] */,
387                                     const char *_ServiceName /* [in] [charset(UTF16)] */,
388                                     uint32_t _access_mask /* [in]  */,
389                                     struct policy_handle *_handle /* [out] [ref] */,
390                                     WERROR *result);
391
392 struct tevent_req *dcerpc_svcctl_QueryServiceConfigW_r_send(TALLOC_CTX *mem_ctx,
393         struct tevent_context *ev,
394         struct dcerpc_binding_handle *h,
395         struct svcctl_QueryServiceConfigW *r);
396 NTSTATUS dcerpc_svcctl_QueryServiceConfigW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
397 NTSTATUS dcerpc_svcctl_QueryServiceConfigW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceConfigW *r);
398 struct tevent_req *dcerpc_svcctl_QueryServiceConfigW_send(TALLOC_CTX *mem_ctx,
399                                                           struct tevent_context *ev,
400                                                           struct dcerpc_binding_handle *h,
401                                                           struct policy_handle *_handle /* [in] [ref] */,
402                                                           struct QUERY_SERVICE_CONFIG *_query /* [out] [ref] */,
403                                                           uint32_t _offered /* [in] [range(0,8192)] */,
404                                                           uint32_t *_needed /* [out] [ref,range(0,8192)] */);
405 NTSTATUS dcerpc_svcctl_QueryServiceConfigW_recv(struct tevent_req *req,
406                                                 TALLOC_CTX *mem_ctx,
407                                                 WERROR *result);
408 NTSTATUS dcerpc_svcctl_QueryServiceConfigW(struct dcerpc_binding_handle *h,
409                                            TALLOC_CTX *mem_ctx,
410                                            struct policy_handle *_handle /* [in] [ref] */,
411                                            struct QUERY_SERVICE_CONFIG *_query /* [out] [ref] */,
412                                            uint32_t _offered /* [in] [range(0,8192)] */,
413                                            uint32_t *_needed /* [out] [ref,range(0,8192)] */,
414                                            WERROR *result);
415
416 struct tevent_req *dcerpc_svcctl_QueryServiceLockStatusW_r_send(TALLOC_CTX *mem_ctx,
417         struct tevent_context *ev,
418         struct dcerpc_binding_handle *h,
419         struct svcctl_QueryServiceLockStatusW *r);
420 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
421 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceLockStatusW *r);
422 struct tevent_req *dcerpc_svcctl_QueryServiceLockStatusW_send(TALLOC_CTX *mem_ctx,
423                                                               struct tevent_context *ev,
424                                                               struct dcerpc_binding_handle *h,
425                                                               struct policy_handle *_handle /* [in] [ref] */,
426                                                               uint32_t _offered /* [in]  */,
427                                                               struct SERVICE_LOCK_STATUS *_lock_status /* [out] [ref] */,
428                                                               uint32_t *_needed /* [out] [ref] */);
429 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusW_recv(struct tevent_req *req,
430                                                     TALLOC_CTX *mem_ctx,
431                                                     WERROR *result);
432 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusW(struct dcerpc_binding_handle *h,
433                                                TALLOC_CTX *mem_ctx,
434                                                struct policy_handle *_handle /* [in] [ref] */,
435                                                uint32_t _offered /* [in]  */,
436                                                struct SERVICE_LOCK_STATUS *_lock_status /* [out] [ref] */,
437                                                uint32_t *_needed /* [out] [ref] */,
438                                                WERROR *result);
439
440 struct tevent_req *dcerpc_svcctl_StartServiceW_r_send(TALLOC_CTX *mem_ctx,
441         struct tevent_context *ev,
442         struct dcerpc_binding_handle *h,
443         struct svcctl_StartServiceW *r);
444 NTSTATUS dcerpc_svcctl_StartServiceW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
445 NTSTATUS dcerpc_svcctl_StartServiceW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_StartServiceW *r);
446 struct tevent_req *dcerpc_svcctl_StartServiceW_send(TALLOC_CTX *mem_ctx,
447                                                     struct tevent_context *ev,
448                                                     struct dcerpc_binding_handle *h,
449                                                     struct policy_handle *_handle /* [in] [ref] */,
450                                                     uint32_t _NumArgs /* [in] [range(0,SC_MAX_ARGUMENTS)] */,
451                                                     struct svcctl_ArgumentString *_Arguments /* [in] [unique,size_is(NumArgs)] */);
452 NTSTATUS dcerpc_svcctl_StartServiceW_recv(struct tevent_req *req,
453                                           TALLOC_CTX *mem_ctx,
454                                           WERROR *result);
455 NTSTATUS dcerpc_svcctl_StartServiceW(struct dcerpc_binding_handle *h,
456                                      TALLOC_CTX *mem_ctx,
457                                      struct policy_handle *_handle /* [in] [ref] */,
458                                      uint32_t _NumArgs /* [in] [range(0,SC_MAX_ARGUMENTS)] */,
459                                      struct svcctl_ArgumentString *_Arguments /* [in] [unique,size_is(NumArgs)] */,
460                                      WERROR *result);
461
462 struct tevent_req *dcerpc_svcctl_GetServiceDisplayNameW_r_send(TALLOC_CTX *mem_ctx,
463         struct tevent_context *ev,
464         struct dcerpc_binding_handle *h,
465         struct svcctl_GetServiceDisplayNameW *r);
466 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
467 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_GetServiceDisplayNameW *r);
468 struct tevent_req *dcerpc_svcctl_GetServiceDisplayNameW_send(TALLOC_CTX *mem_ctx,
469                                                              struct tevent_context *ev,
470                                                              struct dcerpc_binding_handle *h,
471                                                              struct policy_handle *_handle /* [in] [ref] */,
472                                                              const char *_service_name /* [in] [unique,charset(UTF16)] */,
473                                                              const char **_display_name /* [out] [ref,charset(UTF16)] */,
474                                                              uint32_t *_display_name_length /* [in,out] [unique] */);
475 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameW_recv(struct tevent_req *req,
476                                                    TALLOC_CTX *mem_ctx,
477                                                    WERROR *result);
478 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameW(struct dcerpc_binding_handle *h,
479                                               TALLOC_CTX *mem_ctx,
480                                               struct policy_handle *_handle /* [in] [ref] */,
481                                               const char *_service_name /* [in] [unique,charset(UTF16)] */,
482                                               const char **_display_name /* [out] [ref,charset(UTF16)] */,
483                                               uint32_t *_display_name_length /* [in,out] [unique] */,
484                                               WERROR *result);
485
486 struct tevent_req *dcerpc_svcctl_GetServiceKeyNameW_r_send(TALLOC_CTX *mem_ctx,
487         struct tevent_context *ev,
488         struct dcerpc_binding_handle *h,
489         struct svcctl_GetServiceKeyNameW *r);
490 NTSTATUS dcerpc_svcctl_GetServiceKeyNameW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
491 NTSTATUS dcerpc_svcctl_GetServiceKeyNameW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_GetServiceKeyNameW *r);
492 struct tevent_req *dcerpc_svcctl_GetServiceKeyNameW_send(TALLOC_CTX *mem_ctx,
493                                                          struct tevent_context *ev,
494                                                          struct dcerpc_binding_handle *h,
495                                                          struct policy_handle *_handle /* [in] [ref] */,
496                                                          const char *_service_name /* [in] [unique,charset(UTF16)] */,
497                                                          const char **_key_name /* [out] [ref,charset(UTF16)] */,
498                                                          uint32_t *_display_name_length /* [in,out] [unique] */);
499 NTSTATUS dcerpc_svcctl_GetServiceKeyNameW_recv(struct tevent_req *req,
500                                                TALLOC_CTX *mem_ctx,
501                                                WERROR *result);
502 NTSTATUS dcerpc_svcctl_GetServiceKeyNameW(struct dcerpc_binding_handle *h,
503                                           TALLOC_CTX *mem_ctx,
504                                           struct policy_handle *_handle /* [in] [ref] */,
505                                           const char *_service_name /* [in] [unique,charset(UTF16)] */,
506                                           const char **_key_name /* [out] [ref,charset(UTF16)] */,
507                                           uint32_t *_display_name_length /* [in,out] [unique] */,
508                                           WERROR *result);
509
510 struct tevent_req *dcerpc_svcctl_SCSetServiceBitsA_r_send(TALLOC_CTX *mem_ctx,
511         struct tevent_context *ev,
512         struct dcerpc_binding_handle *h,
513         struct svcctl_SCSetServiceBitsA *r);
514 NTSTATUS dcerpc_svcctl_SCSetServiceBitsA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
515 NTSTATUS dcerpc_svcctl_SCSetServiceBitsA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_SCSetServiceBitsA *r);
516 struct tevent_req *dcerpc_svcctl_SCSetServiceBitsA_send(TALLOC_CTX *mem_ctx,
517                                                         struct tevent_context *ev,
518                                                         struct dcerpc_binding_handle *h,
519                                                         struct policy_handle *_handle /* [in] [ref] */,
520                                                         uint32_t _bits /* [in]  */,
521                                                         uint32_t _bitson /* [in]  */,
522                                                         uint32_t _immediate /* [in]  */);
523 NTSTATUS dcerpc_svcctl_SCSetServiceBitsA_recv(struct tevent_req *req,
524                                               TALLOC_CTX *mem_ctx,
525                                               WERROR *result);
526 NTSTATUS dcerpc_svcctl_SCSetServiceBitsA(struct dcerpc_binding_handle *h,
527                                          TALLOC_CTX *mem_ctx,
528                                          struct policy_handle *_handle /* [in] [ref] */,
529                                          uint32_t _bits /* [in]  */,
530                                          uint32_t _bitson /* [in]  */,
531                                          uint32_t _immediate /* [in]  */,
532                                          WERROR *result);
533
534 struct tevent_req *dcerpc_svcctl_ChangeServiceConfigA_r_send(TALLOC_CTX *mem_ctx,
535         struct tevent_context *ev,
536         struct dcerpc_binding_handle *h,
537         struct svcctl_ChangeServiceConfigA *r);
538 NTSTATUS dcerpc_svcctl_ChangeServiceConfigA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
539 NTSTATUS dcerpc_svcctl_ChangeServiceConfigA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_ChangeServiceConfigA *r);
540 struct tevent_req *dcerpc_svcctl_ChangeServiceConfigA_send(TALLOC_CTX *mem_ctx,
541                                                            struct tevent_context *ev,
542                                                            struct dcerpc_binding_handle *h,
543                                                            struct policy_handle *_handle /* [in] [ref] */,
544                                                            uint32_t _type /* [in]  */,
545                                                            enum svcctl_StartType _start_type /* [in]  */,
546                                                            enum svcctl_ErrorControl _error_control /* [in]  */,
547                                                            const char *_binary_path /* [in] [unique,charset(UTF16)] */,
548                                                            const char *_load_order_group /* [in] [unique,charset(UTF16)] */,
549                                                            uint32_t *_tag_id /* [out] [ref] */,
550                                                            const char *_dependencies /* [in] [unique,charset(UTF16)] */,
551                                                            const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
552                                                            const char *_password /* [in] [unique,charset(UTF16)] */,
553                                                            const char *_display_name /* [in] [unique,charset(UTF16)] */);
554 NTSTATUS dcerpc_svcctl_ChangeServiceConfigA_recv(struct tevent_req *req,
555                                                  TALLOC_CTX *mem_ctx,
556                                                  WERROR *result);
557 NTSTATUS dcerpc_svcctl_ChangeServiceConfigA(struct dcerpc_binding_handle *h,
558                                             TALLOC_CTX *mem_ctx,
559                                             struct policy_handle *_handle /* [in] [ref] */,
560                                             uint32_t _type /* [in]  */,
561                                             enum svcctl_StartType _start_type /* [in]  */,
562                                             enum svcctl_ErrorControl _error_control /* [in]  */,
563                                             const char *_binary_path /* [in] [unique,charset(UTF16)] */,
564                                             const char *_load_order_group /* [in] [unique,charset(UTF16)] */,
565                                             uint32_t *_tag_id /* [out] [ref] */,
566                                             const char *_dependencies /* [in] [unique,charset(UTF16)] */,
567                                             const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
568                                             const char *_password /* [in] [unique,charset(UTF16)] */,
569                                             const char *_display_name /* [in] [unique,charset(UTF16)] */,
570                                             WERROR *result);
571
572 struct tevent_req *dcerpc_svcctl_CreateServiceA_r_send(TALLOC_CTX *mem_ctx,
573         struct tevent_context *ev,
574         struct dcerpc_binding_handle *h,
575         struct svcctl_CreateServiceA *r);
576 NTSTATUS dcerpc_svcctl_CreateServiceA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
577 NTSTATUS dcerpc_svcctl_CreateServiceA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_CreateServiceA *r);
578 struct tevent_req *dcerpc_svcctl_CreateServiceA_send(TALLOC_CTX *mem_ctx,
579                                                      struct tevent_context *ev,
580                                                      struct dcerpc_binding_handle *h,
581                                                      struct policy_handle *_handle /* [in] [ref] */,
582                                                      const char *_ServiceName /* [in] [unique,charset(UTF16)] */,
583                                                      const char *_DisplayName /* [in] [unique,charset(UTF16)] */,
584                                                      uint32_t _desired_access /* [in]  */,
585                                                      uint32_t _type /* [in]  */,
586                                                      enum svcctl_StartType _start_type /* [in]  */,
587                                                      enum svcctl_ErrorControl _error_control /* [in]  */,
588                                                      const char *_binary_path /* [in] [unique,charset(UTF16)] */,
589                                                      const char *_LoadOrderGroupKey /* [in] [unique,charset(UTF16)] */,
590                                                      uint32_t *_TagId /* [out] [unique] */,
591                                                      const char *_dependencies /* [in] [unique,charset(UTF16)] */,
592                                                      const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
593                                                      const char *_password /* [in] [unique,charset(UTF16)] */);
594 NTSTATUS dcerpc_svcctl_CreateServiceA_recv(struct tevent_req *req,
595                                            TALLOC_CTX *mem_ctx,
596                                            WERROR *result);
597 NTSTATUS dcerpc_svcctl_CreateServiceA(struct dcerpc_binding_handle *h,
598                                       TALLOC_CTX *mem_ctx,
599                                       struct policy_handle *_handle /* [in] [ref] */,
600                                       const char *_ServiceName /* [in] [unique,charset(UTF16)] */,
601                                       const char *_DisplayName /* [in] [unique,charset(UTF16)] */,
602                                       uint32_t _desired_access /* [in]  */,
603                                       uint32_t _type /* [in]  */,
604                                       enum svcctl_StartType _start_type /* [in]  */,
605                                       enum svcctl_ErrorControl _error_control /* [in]  */,
606                                       const char *_binary_path /* [in] [unique,charset(UTF16)] */,
607                                       const char *_LoadOrderGroupKey /* [in] [unique,charset(UTF16)] */,
608                                       uint32_t *_TagId /* [out] [unique] */,
609                                       const char *_dependencies /* [in] [unique,charset(UTF16)] */,
610                                       const char *_service_start_name /* [in] [unique,charset(UTF16)] */,
611                                       const char *_password /* [in] [unique,charset(UTF16)] */,
612                                       WERROR *result);
613
614 struct tevent_req *dcerpc_svcctl_EnumDependentServicesA_r_send(TALLOC_CTX *mem_ctx,
615         struct tevent_context *ev,
616         struct dcerpc_binding_handle *h,
617         struct svcctl_EnumDependentServicesA *r);
618 NTSTATUS dcerpc_svcctl_EnumDependentServicesA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
619 NTSTATUS dcerpc_svcctl_EnumDependentServicesA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_EnumDependentServicesA *r);
620 struct tevent_req *dcerpc_svcctl_EnumDependentServicesA_send(TALLOC_CTX *mem_ctx,
621                                                              struct tevent_context *ev,
622                                                              struct dcerpc_binding_handle *h,
623                                                              struct policy_handle *_service /* [in] [ref] */,
624                                                              enum svcctl_ServiceState _state /* [in]  */,
625                                                              struct ENUM_SERVICE_STATUSA *_service_status /* [out] [unique] */,
626                                                              uint32_t _offered /* [in]  */,
627                                                              uint32_t *_needed /* [out] [ref] */,
628                                                              uint32_t *_services_returned /* [out] [ref] */);
629 NTSTATUS dcerpc_svcctl_EnumDependentServicesA_recv(struct tevent_req *req,
630                                                    TALLOC_CTX *mem_ctx,
631                                                    WERROR *result);
632 NTSTATUS dcerpc_svcctl_EnumDependentServicesA(struct dcerpc_binding_handle *h,
633                                               TALLOC_CTX *mem_ctx,
634                                               struct policy_handle *_service /* [in] [ref] */,
635                                               enum svcctl_ServiceState _state /* [in]  */,
636                                               struct ENUM_SERVICE_STATUSA *_service_status /* [out] [unique] */,
637                                               uint32_t _offered /* [in]  */,
638                                               uint32_t *_needed /* [out] [ref] */,
639                                               uint32_t *_services_returned /* [out] [ref] */,
640                                               WERROR *result);
641
642 struct tevent_req *dcerpc_svcctl_EnumServicesStatusA_r_send(TALLOC_CTX *mem_ctx,
643         struct tevent_context *ev,
644         struct dcerpc_binding_handle *h,
645         struct svcctl_EnumServicesStatusA *r);
646 NTSTATUS dcerpc_svcctl_EnumServicesStatusA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
647 NTSTATUS dcerpc_svcctl_EnumServicesStatusA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_EnumServicesStatusA *r);
648 struct tevent_req *dcerpc_svcctl_EnumServicesStatusA_send(TALLOC_CTX *mem_ctx,
649                                                           struct tevent_context *ev,
650                                                           struct dcerpc_binding_handle *h,
651                                                           struct policy_handle *_handle /* [in] [ref] */,
652                                                           uint32_t _type /* [in]  */,
653                                                           enum svcctl_ServiceState _state /* [in]  */,
654                                                           uint32_t _offered /* [in]  */,
655                                                           uint8_t *_service /* [out] [size_is(offered)] */,
656                                                           uint32_t *_needed /* [out] [ref] */,
657                                                           uint32_t *_services_returned /* [out] [ref] */,
658                                                           uint32_t *_resume_handle /* [in,out] [unique] */);
659 NTSTATUS dcerpc_svcctl_EnumServicesStatusA_recv(struct tevent_req *req,
660                                                 TALLOC_CTX *mem_ctx,
661                                                 WERROR *result);
662 NTSTATUS dcerpc_svcctl_EnumServicesStatusA(struct dcerpc_binding_handle *h,
663                                            TALLOC_CTX *mem_ctx,
664                                            struct policy_handle *_handle /* [in] [ref] */,
665                                            uint32_t _type /* [in]  */,
666                                            enum svcctl_ServiceState _state /* [in]  */,
667                                            uint32_t _offered /* [in]  */,
668                                            uint8_t *_service /* [out] [size_is(offered)] */,
669                                            uint32_t *_needed /* [out] [ref] */,
670                                            uint32_t *_services_returned /* [out] [ref] */,
671                                            uint32_t *_resume_handle /* [in,out] [unique] */,
672                                            WERROR *result);
673
674 struct tevent_req *dcerpc_svcctl_OpenSCManagerA_r_send(TALLOC_CTX *mem_ctx,
675         struct tevent_context *ev,
676         struct dcerpc_binding_handle *h,
677         struct svcctl_OpenSCManagerA *r);
678 NTSTATUS dcerpc_svcctl_OpenSCManagerA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
679 NTSTATUS dcerpc_svcctl_OpenSCManagerA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_OpenSCManagerA *r);
680 struct tevent_req *dcerpc_svcctl_OpenSCManagerA_send(TALLOC_CTX *mem_ctx,
681                                                      struct tevent_context *ev,
682                                                      struct dcerpc_binding_handle *h,
683                                                      const char *_MachineName /* [in] [unique,charset(UTF16)] */,
684                                                      const char *_DatabaseName /* [in] [unique,charset(UTF16)] */,
685                                                      uint32_t _access_mask /* [in]  */,
686                                                      struct policy_handle *_handle /* [out] [ref] */);
687 NTSTATUS dcerpc_svcctl_OpenSCManagerA_recv(struct tevent_req *req,
688                                            TALLOC_CTX *mem_ctx,
689                                            WERROR *result);
690 NTSTATUS dcerpc_svcctl_OpenSCManagerA(struct dcerpc_binding_handle *h,
691                                       TALLOC_CTX *mem_ctx,
692                                       const char *_MachineName /* [in] [unique,charset(UTF16)] */,
693                                       const char *_DatabaseName /* [in] [unique,charset(UTF16)] */,
694                                       uint32_t _access_mask /* [in]  */,
695                                       struct policy_handle *_handle /* [out] [ref] */,
696                                       WERROR *result);
697
698 struct tevent_req *dcerpc_svcctl_OpenServiceA_r_send(TALLOC_CTX *mem_ctx,
699         struct tevent_context *ev,
700         struct dcerpc_binding_handle *h,
701         struct svcctl_OpenServiceA *r);
702 NTSTATUS dcerpc_svcctl_OpenServiceA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
703 NTSTATUS dcerpc_svcctl_OpenServiceA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_OpenServiceA *r);
704 struct tevent_req *dcerpc_svcctl_OpenServiceA_send(TALLOC_CTX *mem_ctx,
705                                                    struct tevent_context *ev,
706                                                    struct dcerpc_binding_handle *h,
707                                                    struct policy_handle *_scmanager_handle /* [in] [ref] */,
708                                                    const char *_ServiceName /* [in] [unique,charset(UTF16)] */,
709                                                    uint32_t _access_mask /* [in]  */);
710 NTSTATUS dcerpc_svcctl_OpenServiceA_recv(struct tevent_req *req,
711                                          TALLOC_CTX *mem_ctx,
712                                          WERROR *result);
713 NTSTATUS dcerpc_svcctl_OpenServiceA(struct dcerpc_binding_handle *h,
714                                     TALLOC_CTX *mem_ctx,
715                                     struct policy_handle *_scmanager_handle /* [in] [ref] */,
716                                     const char *_ServiceName /* [in] [unique,charset(UTF16)] */,
717                                     uint32_t _access_mask /* [in]  */,
718                                     WERROR *result);
719
720 struct tevent_req *dcerpc_svcctl_QueryServiceConfigA_r_send(TALLOC_CTX *mem_ctx,
721         struct tevent_context *ev,
722         struct dcerpc_binding_handle *h,
723         struct svcctl_QueryServiceConfigA *r);
724 NTSTATUS dcerpc_svcctl_QueryServiceConfigA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
725 NTSTATUS dcerpc_svcctl_QueryServiceConfigA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceConfigA *r);
726 struct tevent_req *dcerpc_svcctl_QueryServiceConfigA_send(TALLOC_CTX *mem_ctx,
727                                                           struct tevent_context *ev,
728                                                           struct dcerpc_binding_handle *h,
729                                                           struct policy_handle *_handle /* [in] [ref] */,
730                                                           uint8_t *_query /* [out]  */,
731                                                           uint32_t _offered /* [in]  */,
732                                                           uint32_t *_needed /* [out] [ref] */);
733 NTSTATUS dcerpc_svcctl_QueryServiceConfigA_recv(struct tevent_req *req,
734                                                 TALLOC_CTX *mem_ctx,
735                                                 WERROR *result);
736 NTSTATUS dcerpc_svcctl_QueryServiceConfigA(struct dcerpc_binding_handle *h,
737                                            TALLOC_CTX *mem_ctx,
738                                            struct policy_handle *_handle /* [in] [ref] */,
739                                            uint8_t *_query /* [out]  */,
740                                            uint32_t _offered /* [in]  */,
741                                            uint32_t *_needed /* [out] [ref] */,
742                                            WERROR *result);
743
744 struct tevent_req *dcerpc_svcctl_QueryServiceLockStatusA_r_send(TALLOC_CTX *mem_ctx,
745         struct tevent_context *ev,
746         struct dcerpc_binding_handle *h,
747         struct svcctl_QueryServiceLockStatusA *r);
748 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
749 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceLockStatusA *r);
750 struct tevent_req *dcerpc_svcctl_QueryServiceLockStatusA_send(TALLOC_CTX *mem_ctx,
751                                                               struct tevent_context *ev,
752                                                               struct dcerpc_binding_handle *h,
753                                                               struct policy_handle *_handle /* [in] [ref] */,
754                                                               uint32_t _offered /* [in]  */,
755                                                               struct SERVICE_LOCK_STATUS *_lock_status /* [out] [ref] */,
756                                                               uint32_t *_needed /* [out] [ref] */);
757 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusA_recv(struct tevent_req *req,
758                                                     TALLOC_CTX *mem_ctx,
759                                                     WERROR *result);
760 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusA(struct dcerpc_binding_handle *h,
761                                                TALLOC_CTX *mem_ctx,
762                                                struct policy_handle *_handle /* [in] [ref] */,
763                                                uint32_t _offered /* [in]  */,
764                                                struct SERVICE_LOCK_STATUS *_lock_status /* [out] [ref] */,
765                                                uint32_t *_needed /* [out] [ref] */,
766                                                WERROR *result);
767
768 struct tevent_req *dcerpc_svcctl_StartServiceA_r_send(TALLOC_CTX *mem_ctx,
769         struct tevent_context *ev,
770         struct dcerpc_binding_handle *h,
771         struct svcctl_StartServiceA *r);
772 NTSTATUS dcerpc_svcctl_StartServiceA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
773 NTSTATUS dcerpc_svcctl_StartServiceA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_StartServiceA *r);
774 struct tevent_req *dcerpc_svcctl_StartServiceA_send(TALLOC_CTX *mem_ctx,
775                                                     struct tevent_context *ev,
776                                                     struct dcerpc_binding_handle *h,
777                                                     struct policy_handle *_handle /* [in] [ref] */,
778                                                     uint32_t _NumArgs /* [in]  */,
779                                                     const char *_Arguments /* [in] [unique,charset(UTF16)] */);
780 NTSTATUS dcerpc_svcctl_StartServiceA_recv(struct tevent_req *req,
781                                           TALLOC_CTX *mem_ctx,
782                                           WERROR *result);
783 NTSTATUS dcerpc_svcctl_StartServiceA(struct dcerpc_binding_handle *h,
784                                      TALLOC_CTX *mem_ctx,
785                                      struct policy_handle *_handle /* [in] [ref] */,
786                                      uint32_t _NumArgs /* [in]  */,
787                                      const char *_Arguments /* [in] [unique,charset(UTF16)] */,
788                                      WERROR *result);
789
790 struct tevent_req *dcerpc_svcctl_GetServiceDisplayNameA_r_send(TALLOC_CTX *mem_ctx,
791         struct tevent_context *ev,
792         struct dcerpc_binding_handle *h,
793         struct svcctl_GetServiceDisplayNameA *r);
794 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
795 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_GetServiceDisplayNameA *r);
796 struct tevent_req *dcerpc_svcctl_GetServiceDisplayNameA_send(TALLOC_CTX *mem_ctx,
797                                                              struct tevent_context *ev,
798                                                              struct dcerpc_binding_handle *h,
799                                                              struct policy_handle *_handle /* [in] [ref] */,
800                                                              const char *_service_name /* [in] [unique,charset(UTF16)] */,
801                                                              const char **_display_name /* [out] [ref,charset(UTF16)] */,
802                                                              uint32_t *_display_name_length /* [in,out] [unique] */);
803 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameA_recv(struct tevent_req *req,
804                                                    TALLOC_CTX *mem_ctx,
805                                                    WERROR *result);
806 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameA(struct dcerpc_binding_handle *h,
807                                               TALLOC_CTX *mem_ctx,
808                                               struct policy_handle *_handle /* [in] [ref] */,
809                                               const char *_service_name /* [in] [unique,charset(UTF16)] */,
810                                               const char **_display_name /* [out] [ref,charset(UTF16)] */,
811                                               uint32_t *_display_name_length /* [in,out] [unique] */,
812                                               WERROR *result);
813
814 struct tevent_req *dcerpc_svcctl_GetServiceKeyNameA_r_send(TALLOC_CTX *mem_ctx,
815         struct tevent_context *ev,
816         struct dcerpc_binding_handle *h,
817         struct svcctl_GetServiceKeyNameA *r);
818 NTSTATUS dcerpc_svcctl_GetServiceKeyNameA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
819 NTSTATUS dcerpc_svcctl_GetServiceKeyNameA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_GetServiceKeyNameA *r);
820 struct tevent_req *dcerpc_svcctl_GetServiceKeyNameA_send(TALLOC_CTX *mem_ctx,
821                                                          struct tevent_context *ev,
822                                                          struct dcerpc_binding_handle *h,
823                                                          struct policy_handle *_handle /* [in] [ref] */,
824                                                          const char *_service_name /* [in] [unique,charset(UTF16)] */,
825                                                          const char **_key_name /* [out] [ref,charset(UTF16)] */,
826                                                          uint32_t *_display_name_length /* [in,out] [unique] */);
827 NTSTATUS dcerpc_svcctl_GetServiceKeyNameA_recv(struct tevent_req *req,
828                                                TALLOC_CTX *mem_ctx,
829                                                WERROR *result);
830 NTSTATUS dcerpc_svcctl_GetServiceKeyNameA(struct dcerpc_binding_handle *h,
831                                           TALLOC_CTX *mem_ctx,
832                                           struct policy_handle *_handle /* [in] [ref] */,
833                                           const char *_service_name /* [in] [unique,charset(UTF16)] */,
834                                           const char **_key_name /* [out] [ref,charset(UTF16)] */,
835                                           uint32_t *_display_name_length /* [in,out] [unique] */,
836                                           WERROR *result);
837
838 struct tevent_req *dcerpc_svcctl_ChangeServiceConfig2A_r_send(TALLOC_CTX *mem_ctx,
839         struct tevent_context *ev,
840         struct dcerpc_binding_handle *h,
841         struct svcctl_ChangeServiceConfig2A *r);
842 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2A_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
843 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2A_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_ChangeServiceConfig2A *r);
844 struct tevent_req *dcerpc_svcctl_ChangeServiceConfig2A_send(TALLOC_CTX *mem_ctx,
845                                                             struct tevent_context *ev,
846                                                             struct dcerpc_binding_handle *h,
847                                                             struct policy_handle *_handle /* [in] [ref] */,
848                                                             uint32_t _info_level /* [in]  */,
849                                                             uint8_t *_info /* [in] [unique] */);
850 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2A_recv(struct tevent_req *req,
851                                                   TALLOC_CTX *mem_ctx,
852                                                   WERROR *result);
853 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2A(struct dcerpc_binding_handle *h,
854                                              TALLOC_CTX *mem_ctx,
855                                              struct policy_handle *_handle /* [in] [ref] */,
856                                              uint32_t _info_level /* [in]  */,
857                                              uint8_t *_info /* [in] [unique] */,
858                                              WERROR *result);
859
860 struct tevent_req *dcerpc_svcctl_ChangeServiceConfig2W_r_send(TALLOC_CTX *mem_ctx,
861         struct tevent_context *ev,
862         struct dcerpc_binding_handle *h,
863         struct svcctl_ChangeServiceConfig2W *r);
864 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2W_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
865 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2W_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_ChangeServiceConfig2W *r);
866 struct tevent_req *dcerpc_svcctl_ChangeServiceConfig2W_send(TALLOC_CTX *mem_ctx,
867                                                             struct tevent_context *ev,
868                                                             struct dcerpc_binding_handle *h,
869                                                             struct policy_handle *_handle /* [in] [ref] */,
870                                                             uint32_t _info_level /* [in]  */,
871                                                             uint8_t *_info /* [in] [unique] */);
872 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2W_recv(struct tevent_req *req,
873                                                   TALLOC_CTX *mem_ctx,
874                                                   WERROR *result);
875 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2W(struct dcerpc_binding_handle *h,
876                                              TALLOC_CTX *mem_ctx,
877                                              struct policy_handle *_handle /* [in] [ref] */,
878                                              uint32_t _info_level /* [in]  */,
879                                              uint8_t *_info /* [in] [unique] */,
880                                              WERROR *result);
881
882 struct tevent_req *dcerpc_svcctl_QueryServiceConfig2A_r_send(TALLOC_CTX *mem_ctx,
883         struct tevent_context *ev,
884         struct dcerpc_binding_handle *h,
885         struct svcctl_QueryServiceConfig2A *r);
886 NTSTATUS dcerpc_svcctl_QueryServiceConfig2A_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
887 NTSTATUS dcerpc_svcctl_QueryServiceConfig2A_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceConfig2A *r);
888 struct tevent_req *dcerpc_svcctl_QueryServiceConfig2A_send(TALLOC_CTX *mem_ctx,
889                                                            struct tevent_context *ev,
890                                                            struct dcerpc_binding_handle *h,
891                                                            struct policy_handle *_handle /* [in] [ref] */,
892                                                            enum svcctl_ConfigLevel _info_level /* [in]  */,
893                                                            uint8_t *_buffer /* [out]  */,
894                                                            uint32_t _offered /* [in]  */,
895                                                            uint32_t *_needed /* [out] [ref] */);
896 NTSTATUS dcerpc_svcctl_QueryServiceConfig2A_recv(struct tevent_req *req,
897                                                  TALLOC_CTX *mem_ctx,
898                                                  WERROR *result);
899 NTSTATUS dcerpc_svcctl_QueryServiceConfig2A(struct dcerpc_binding_handle *h,
900                                             TALLOC_CTX *mem_ctx,
901                                             struct policy_handle *_handle /* [in] [ref] */,
902                                             enum svcctl_ConfigLevel _info_level /* [in]  */,
903                                             uint8_t *_buffer /* [out]  */,
904                                             uint32_t _offered /* [in]  */,
905                                             uint32_t *_needed /* [out] [ref] */,
906                                             WERROR *result);
907
908 struct tevent_req *dcerpc_svcctl_QueryServiceConfig2W_r_send(TALLOC_CTX *mem_ctx,
909         struct tevent_context *ev,
910         struct dcerpc_binding_handle *h,
911         struct svcctl_QueryServiceConfig2W *r);
912 NTSTATUS dcerpc_svcctl_QueryServiceConfig2W_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
913 NTSTATUS dcerpc_svcctl_QueryServiceConfig2W_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceConfig2W *r);
914 struct tevent_req *dcerpc_svcctl_QueryServiceConfig2W_send(TALLOC_CTX *mem_ctx,
915                                                            struct tevent_context *ev,
916                                                            struct dcerpc_binding_handle *h,
917                                                            struct policy_handle *_handle /* [in] [ref] */,
918                                                            enum svcctl_ConfigLevel _info_level /* [in]  */,
919                                                            uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
920                                                            uint32_t _offered /* [in] [range(0,8192)] */,
921                                                            uint32_t *_needed /* [out] [ref,range(0,8192)] */);
922 NTSTATUS dcerpc_svcctl_QueryServiceConfig2W_recv(struct tevent_req *req,
923                                                  TALLOC_CTX *mem_ctx,
924                                                  WERROR *result);
925 NTSTATUS dcerpc_svcctl_QueryServiceConfig2W(struct dcerpc_binding_handle *h,
926                                             TALLOC_CTX *mem_ctx,
927                                             struct policy_handle *_handle /* [in] [ref] */,
928                                             enum svcctl_ConfigLevel _info_level /* [in]  */,
929                                             uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
930                                             uint32_t _offered /* [in] [range(0,8192)] */,
931                                             uint32_t *_needed /* [out] [ref,range(0,8192)] */,
932                                             WERROR *result);
933
934 struct tevent_req *dcerpc_svcctl_QueryServiceStatusEx_r_send(TALLOC_CTX *mem_ctx,
935         struct tevent_context *ev,
936         struct dcerpc_binding_handle *h,
937         struct svcctl_QueryServiceStatusEx *r);
938 NTSTATUS dcerpc_svcctl_QueryServiceStatusEx_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
939 NTSTATUS dcerpc_svcctl_QueryServiceStatusEx_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct svcctl_QueryServiceStatusEx *r);
940 struct tevent_req *dcerpc_svcctl_QueryServiceStatusEx_send(TALLOC_CTX *mem_ctx,
941                                                            struct tevent_context *ev,
942                                                            struct dcerpc_binding_handle *h,
943                                                            struct policy_handle *_handle /* [in] [ref] */,
944                                                            enum svcctl_StatusLevel _info_level /* [in]  */,
945                                                            uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
946                                                            uint32_t _offered /* [in] [range(0,8192)] */,
947                                                            uint32_t *_needed /* [out] [ref,range(0,8192)] */);
948 NTSTATUS dcerpc_svcctl_QueryServiceStatusEx_recv(struct tevent_req *req,
949                                                  TALLOC_CTX *mem_ctx,
950                                                  WERROR *result);
951 NTSTATUS dcerpc_svcctl_QueryServiceStatusEx(struct dcerpc_binding_handle *h,
952                                             TALLOC_CTX *mem_ctx,
953                                             struct policy_handle *_handle /* [in] [ref] */,
954                                             enum svcctl_StatusLevel _info_level /* [in]  */,
955                                             uint8_t *_buffer /* [out] [ref,size_is(offered)] */,
956                                             uint32_t _offered /* [in] [range(0,8192)] */,
957                                             uint32_t *_needed /* [out] [ref,range(0,8192)] */,
958                                             WERROR *result);
959
960 struct tevent_req *dcerpc_EnumServicesStatusExA_r_send(TALLOC_CTX *mem_ctx,
961         struct tevent_context *ev,
962         struct dcerpc_binding_handle *h,
963         struct EnumServicesStatusExA *r);
964 NTSTATUS dcerpc_EnumServicesStatusExA_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
965 NTSTATUS dcerpc_EnumServicesStatusExA_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct EnumServicesStatusExA *r);
966 struct tevent_req *dcerpc_EnumServicesStatusExA_send(TALLOC_CTX *mem_ctx,
967                                                      struct tevent_context *ev,
968                                                      struct dcerpc_binding_handle *h,
969                                                      struct policy_handle *_scmanager /* [in] [ref] */,
970                                                      uint32_t _info_level /* [in]  */,
971                                                      uint32_t _type /* [in]  */,
972                                                      enum svcctl_ServiceState _state /* [in]  */,
973                                                      uint8_t *_services /* [out]  */,
974                                                      uint32_t _offered /* [in]  */,
975                                                      uint32_t *_needed /* [out] [ref] */,
976                                                      uint32_t *_service_returned /* [out] [ref] */,
977                                                      uint32_t *_resume_handle /* [in,out] [unique] */,
978                                                      const char **_group_name /* [out] [ref,charset(UTF16)] */);
979 NTSTATUS dcerpc_EnumServicesStatusExA_recv(struct tevent_req *req,
980                                            TALLOC_CTX *mem_ctx,
981                                            WERROR *result);
982 NTSTATUS dcerpc_EnumServicesStatusExA(struct dcerpc_binding_handle *h,
983                                       TALLOC_CTX *mem_ctx,
984                                       struct policy_handle *_scmanager /* [in] [ref] */,
985                                       uint32_t _info_level /* [in]  */,
986                                       uint32_t _type /* [in]  */,
987                                       enum svcctl_ServiceState _state /* [in]  */,
988                                       uint8_t *_services /* [out]  */,
989                                       uint32_t _offered /* [in]  */,
990                                       uint32_t *_needed /* [out] [ref] */,
991                                       uint32_t *_service_returned /* [out] [ref] */,
992                                       uint32_t *_resume_handle /* [in,out] [unique] */,
993                                       const char **_group_name /* [out] [ref,charset(UTF16)] */,
994                                       WERROR *result);
995
996 struct tevent_req *dcerpc_EnumServicesStatusExW_r_send(TALLOC_CTX *mem_ctx,
997         struct tevent_context *ev,
998         struct dcerpc_binding_handle *h,
999         struct EnumServicesStatusExW *r);
1000 NTSTATUS dcerpc_EnumServicesStatusExW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
1001 NTSTATUS dcerpc_EnumServicesStatusExW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct EnumServicesStatusExW *r);
1002 struct tevent_req *dcerpc_EnumServicesStatusExW_send(TALLOC_CTX *mem_ctx,
1003                                                      struct tevent_context *ev,
1004                                                      struct dcerpc_binding_handle *h,
1005                                                      struct policy_handle *_scmanager /* [in] [ref] */,
1006                                                      uint32_t _info_level /* [in]  */,
1007                                                      uint32_t _type /* [in]  */,
1008                                                      enum svcctl_ServiceState _state /* [in]  */,
1009                                                      uint8_t *_services /* [out] [ref,size_is(offered)] */,
1010                                                      uint32_t _offered /* [in] [range(0,0x40000)] */,
1011                                                      uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
1012                                                      uint32_t *_service_returned /* [out] [ref,range(0,0x40000)] */,
1013                                                      uint32_t *_resume_handle /* [in,out] [unique,range(0,0x40000)] */,
1014                                                      const char *_group_name /* [in] [unique,charset(UTF16)] */);
1015 NTSTATUS dcerpc_EnumServicesStatusExW_recv(struct tevent_req *req,
1016                                            TALLOC_CTX *mem_ctx,
1017                                            WERROR *result);
1018 NTSTATUS dcerpc_EnumServicesStatusExW(struct dcerpc_binding_handle *h,
1019                                       TALLOC_CTX *mem_ctx,
1020                                       struct policy_handle *_scmanager /* [in] [ref] */,
1021                                       uint32_t _info_level /* [in]  */,
1022                                       uint32_t _type /* [in]  */,
1023                                       enum svcctl_ServiceState _state /* [in]  */,
1024                                       uint8_t *_services /* [out] [ref,size_is(offered)] */,
1025                                       uint32_t _offered /* [in] [range(0,0x40000)] */,
1026                                       uint32_t *_needed /* [out] [ref,range(0,0x40000)] */,
1027                                       uint32_t *_service_returned /* [out] [ref,range(0,0x40000)] */,
1028                                       uint32_t *_resume_handle /* [in,out] [unique,range(0,0x40000)] */,
1029                                       const char *_group_name /* [in] [unique,charset(UTF16)] */,
1030                                       WERROR *result);
1031
1032 #endif /* _HEADER_RPC_svcctl */