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
6 extern const struct ndr_interface_table ndr_table_svcctl;
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,
21 NTSTATUS dcerpc_svcctl_CloseServiceHandle(struct dcerpc_binding_handle *h,
23 struct policy_handle *_handle /* [in,out] [ref] */,
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,
41 NTSTATUS dcerpc_svcctl_ControlService(struct dcerpc_binding_handle *h,
43 struct policy_handle *_handle /* [in] [ref] */,
44 enum SERVICE_CONTROL _control /* [in] */,
45 struct SERVICE_STATUS *_service_status /* [out] [ref] */,
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,
61 NTSTATUS dcerpc_svcctl_DeleteService(struct dcerpc_binding_handle *h,
63 struct policy_handle *_handle /* [in] [ref] */,
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,
80 NTSTATUS dcerpc_svcctl_LockServiceDatabase(struct dcerpc_binding_handle *h,
82 struct policy_handle *_handle /* [in] [ref] */,
83 struct policy_handle *_lock /* [out] [ref] */,
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,
103 NTSTATUS dcerpc_svcctl_QueryServiceObjectSecurity(struct dcerpc_binding_handle *h,
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)] */,
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,
128 NTSTATUS dcerpc_svcctl_SetServiceObjectSecurity(struct dcerpc_binding_handle *h,
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] */,
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,
150 NTSTATUS dcerpc_svcctl_QueryServiceStatus(struct dcerpc_binding_handle *h,
152 struct policy_handle *_handle /* [in] [ref] */,
153 struct SERVICE_STATUS *_service_status /* [out] [ref] */,
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,
169 NTSTATUS dcerpc_svcctl_UnlockServiceDatabase(struct dcerpc_binding_handle *h,
171 struct policy_handle *_lock /* [in,out] [ref] */,
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,
190 NTSTATUS dcerpc_svcctl_SCSetServiceBitsW(struct dcerpc_binding_handle *h,
192 struct policy_handle *_handle /* [in] [ref] */,
193 uint32_t _bits /* [in] */,
194 uint32_t _bitson /* [in] */,
195 uint32_t _immediate /* [in] */,
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,
221 NTSTATUS dcerpc_svcctl_ChangeServiceConfigW(struct dcerpc_binding_handle *h,
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)] */,
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,
264 NTSTATUS dcerpc_svcctl_CreateServiceW(struct dcerpc_binding_handle *h,
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] */,
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,
302 NTSTATUS dcerpc_svcctl_EnumDependentServicesW(struct dcerpc_binding_handle *h,
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)] */,
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,
332 NTSTATUS dcerpc_svcctl_EnumServicesStatusW(struct dcerpc_binding_handle *h,
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] */,
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,
360 NTSTATUS dcerpc_svcctl_OpenSCManagerW(struct dcerpc_binding_handle *h,
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] */,
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,
384 NTSTATUS dcerpc_svcctl_OpenServiceW(struct dcerpc_binding_handle *h,
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] */,
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,
408 NTSTATUS dcerpc_svcctl_QueryServiceConfigW(struct dcerpc_binding_handle *h,
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)] */,
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,
432 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusW(struct dcerpc_binding_handle *h,
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] */,
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,
455 NTSTATUS dcerpc_svcctl_StartServiceW(struct dcerpc_binding_handle *h,
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)] */,
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,
478 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameW(struct dcerpc_binding_handle *h,
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] */,
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,
502 NTSTATUS dcerpc_svcctl_GetServiceKeyNameW(struct dcerpc_binding_handle *h,
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] */,
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,
526 NTSTATUS dcerpc_svcctl_SCSetServiceBitsA(struct dcerpc_binding_handle *h,
528 struct policy_handle *_handle /* [in] [ref] */,
529 uint32_t _bits /* [in] */,
530 uint32_t _bitson /* [in] */,
531 uint32_t _immediate /* [in] */,
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,
557 NTSTATUS dcerpc_svcctl_ChangeServiceConfigA(struct dcerpc_binding_handle *h,
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)] */,
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,
597 NTSTATUS dcerpc_svcctl_CreateServiceA(struct dcerpc_binding_handle *h,
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)] */,
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,
632 NTSTATUS dcerpc_svcctl_EnumDependentServicesA(struct dcerpc_binding_handle *h,
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] */,
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,
662 NTSTATUS dcerpc_svcctl_EnumServicesStatusA(struct dcerpc_binding_handle *h,
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] */,
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,
690 NTSTATUS dcerpc_svcctl_OpenSCManagerA(struct dcerpc_binding_handle *h,
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] */,
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,
713 NTSTATUS dcerpc_svcctl_OpenServiceA(struct dcerpc_binding_handle *h,
715 struct policy_handle *_scmanager_handle /* [in] [ref] */,
716 const char *_ServiceName /* [in] [unique,charset(UTF16)] */,
717 uint32_t _access_mask /* [in] */,
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,
736 NTSTATUS dcerpc_svcctl_QueryServiceConfigA(struct dcerpc_binding_handle *h,
738 struct policy_handle *_handle /* [in] [ref] */,
739 uint8_t *_query /* [out] */,
740 uint32_t _offered /* [in] */,
741 uint32_t *_needed /* [out] [ref] */,
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,
760 NTSTATUS dcerpc_svcctl_QueryServiceLockStatusA(struct dcerpc_binding_handle *h,
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] */,
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,
783 NTSTATUS dcerpc_svcctl_StartServiceA(struct dcerpc_binding_handle *h,
785 struct policy_handle *_handle /* [in] [ref] */,
786 uint32_t _NumArgs /* [in] */,
787 const char *_Arguments /* [in] [unique,charset(UTF16)] */,
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,
806 NTSTATUS dcerpc_svcctl_GetServiceDisplayNameA(struct dcerpc_binding_handle *h,
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] */,
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,
830 NTSTATUS dcerpc_svcctl_GetServiceKeyNameA(struct dcerpc_binding_handle *h,
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] */,
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,
853 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2A(struct dcerpc_binding_handle *h,
855 struct policy_handle *_handle /* [in] [ref] */,
856 uint32_t _info_level /* [in] */,
857 uint8_t *_info /* [in] [unique] */,
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,
875 NTSTATUS dcerpc_svcctl_ChangeServiceConfig2W(struct dcerpc_binding_handle *h,
877 struct policy_handle *_handle /* [in] [ref] */,
878 uint32_t _info_level /* [in] */,
879 uint8_t *_info /* [in] [unique] */,
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,
899 NTSTATUS dcerpc_svcctl_QueryServiceConfig2A(struct dcerpc_binding_handle *h,
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] */,
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,
925 NTSTATUS dcerpc_svcctl_QueryServiceConfig2W(struct dcerpc_binding_handle *h,
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)] */,
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,
951 NTSTATUS dcerpc_svcctl_QueryServiceStatusEx(struct dcerpc_binding_handle *h,
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)] */,
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,
982 NTSTATUS dcerpc_EnumServicesStatusExA(struct dcerpc_binding_handle *h,
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)] */,
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,
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)] */,
1032 #endif /* _HEADER_RPC_svcctl */