s3-passdb: Fix typo in debug message.
[Samba/gebeck_regimport.git] / librpc / gen_ndr / cli_winreg.h
blobbbd9e9a305373ac889d733843e44b43af6a9b803
1 #include "../librpc/gen_ndr/ndr_winreg.h"
2 #ifndef __CLI_WINREG__
3 #define __CLI_WINREG__
4 struct tevent_req *rpccli_winreg_OpenHKCR_send(TALLOC_CTX *mem_ctx,
5 struct tevent_context *ev,
6 struct rpc_pipe_client *cli,
7 uint16_t *_system_name /* [in] [unique] */,
8 uint32_t _access_mask /* [in] */,
9 struct policy_handle *_handle /* [out] [ref] */);
10 NTSTATUS rpccli_winreg_OpenHKCR_recv(struct tevent_req *req,
11 TALLOC_CTX *mem_ctx,
12 WERROR *result);
13 NTSTATUS rpccli_winreg_OpenHKCR(struct rpc_pipe_client *cli,
14 TALLOC_CTX *mem_ctx,
15 uint16_t *system_name /* [in] [unique] */,
16 uint32_t access_mask /* [in] */,
17 struct policy_handle *handle /* [out] [ref] */,
18 WERROR *werror);
19 struct tevent_req *rpccli_winreg_OpenHKCU_send(TALLOC_CTX *mem_ctx,
20 struct tevent_context *ev,
21 struct rpc_pipe_client *cli,
22 uint16_t *_system_name /* [in] [unique] */,
23 uint32_t _access_mask /* [in] */,
24 struct policy_handle *_handle /* [out] [ref] */);
25 NTSTATUS rpccli_winreg_OpenHKCU_recv(struct tevent_req *req,
26 TALLOC_CTX *mem_ctx,
27 WERROR *result);
28 NTSTATUS rpccli_winreg_OpenHKCU(struct rpc_pipe_client *cli,
29 TALLOC_CTX *mem_ctx,
30 uint16_t *system_name /* [in] [unique] */,
31 uint32_t access_mask /* [in] */,
32 struct policy_handle *handle /* [out] [ref] */,
33 WERROR *werror);
34 struct tevent_req *rpccli_winreg_OpenHKLM_send(TALLOC_CTX *mem_ctx,
35 struct tevent_context *ev,
36 struct rpc_pipe_client *cli,
37 uint16_t *_system_name /* [in] [unique] */,
38 uint32_t _access_mask /* [in] */,
39 struct policy_handle *_handle /* [out] [ref] */);
40 NTSTATUS rpccli_winreg_OpenHKLM_recv(struct tevent_req *req,
41 TALLOC_CTX *mem_ctx,
42 WERROR *result);
43 NTSTATUS rpccli_winreg_OpenHKLM(struct rpc_pipe_client *cli,
44 TALLOC_CTX *mem_ctx,
45 uint16_t *system_name /* [in] [unique] */,
46 uint32_t access_mask /* [in] */,
47 struct policy_handle *handle /* [out] [ref] */,
48 WERROR *werror);
49 struct tevent_req *rpccli_winreg_OpenHKPD_send(TALLOC_CTX *mem_ctx,
50 struct tevent_context *ev,
51 struct rpc_pipe_client *cli,
52 uint16_t *_system_name /* [in] [unique] */,
53 uint32_t _access_mask /* [in] */,
54 struct policy_handle *_handle /* [out] [ref] */);
55 NTSTATUS rpccli_winreg_OpenHKPD_recv(struct tevent_req *req,
56 TALLOC_CTX *mem_ctx,
57 WERROR *result);
58 NTSTATUS rpccli_winreg_OpenHKPD(struct rpc_pipe_client *cli,
59 TALLOC_CTX *mem_ctx,
60 uint16_t *system_name /* [in] [unique] */,
61 uint32_t access_mask /* [in] */,
62 struct policy_handle *handle /* [out] [ref] */,
63 WERROR *werror);
64 struct tevent_req *rpccli_winreg_OpenHKU_send(TALLOC_CTX *mem_ctx,
65 struct tevent_context *ev,
66 struct rpc_pipe_client *cli,
67 uint16_t *_system_name /* [in] [unique] */,
68 uint32_t _access_mask /* [in] */,
69 struct policy_handle *_handle /* [out] [ref] */);
70 NTSTATUS rpccli_winreg_OpenHKU_recv(struct tevent_req *req,
71 TALLOC_CTX *mem_ctx,
72 WERROR *result);
73 NTSTATUS rpccli_winreg_OpenHKU(struct rpc_pipe_client *cli,
74 TALLOC_CTX *mem_ctx,
75 uint16_t *system_name /* [in] [unique] */,
76 uint32_t access_mask /* [in] */,
77 struct policy_handle *handle /* [out] [ref] */,
78 WERROR *werror);
79 struct tevent_req *rpccli_winreg_CloseKey_send(TALLOC_CTX *mem_ctx,
80 struct tevent_context *ev,
81 struct rpc_pipe_client *cli,
82 struct policy_handle *_handle /* [in,out] [ref] */);
83 NTSTATUS rpccli_winreg_CloseKey_recv(struct tevent_req *req,
84 TALLOC_CTX *mem_ctx,
85 WERROR *result);
86 NTSTATUS rpccli_winreg_CloseKey(struct rpc_pipe_client *cli,
87 TALLOC_CTX *mem_ctx,
88 struct policy_handle *handle /* [in,out] [ref] */,
89 WERROR *werror);
90 struct tevent_req *rpccli_winreg_CreateKey_send(TALLOC_CTX *mem_ctx,
91 struct tevent_context *ev,
92 struct rpc_pipe_client *cli,
93 struct policy_handle *_handle /* [in] [ref] */,
94 struct winreg_String _name /* [in] */,
95 struct winreg_String _keyclass /* [in] */,
96 uint32_t _options /* [in] */,
97 uint32_t _access_mask /* [in] */,
98 struct winreg_SecBuf *_secdesc /* [in] [unique] */,
99 struct policy_handle *_new_handle /* [out] [ref] */,
100 enum winreg_CreateAction *_action_taken /* [in,out] [unique] */);
101 NTSTATUS rpccli_winreg_CreateKey_recv(struct tevent_req *req,
102 TALLOC_CTX *mem_ctx,
103 WERROR *result);
104 NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli,
105 TALLOC_CTX *mem_ctx,
106 struct policy_handle *handle /* [in] [ref] */,
107 struct winreg_String name /* [in] */,
108 struct winreg_String keyclass /* [in] */,
109 uint32_t options /* [in] */,
110 uint32_t access_mask /* [in] */,
111 struct winreg_SecBuf *secdesc /* [in] [unique] */,
112 struct policy_handle *new_handle /* [out] [ref] */,
113 enum winreg_CreateAction *action_taken /* [in,out] [unique] */,
114 WERROR *werror);
115 struct tevent_req *rpccli_winreg_DeleteKey_send(TALLOC_CTX *mem_ctx,
116 struct tevent_context *ev,
117 struct rpc_pipe_client *cli,
118 struct policy_handle *_handle /* [in] [ref] */,
119 struct winreg_String _key /* [in] */);
120 NTSTATUS rpccli_winreg_DeleteKey_recv(struct tevent_req *req,
121 TALLOC_CTX *mem_ctx,
122 WERROR *result);
123 NTSTATUS rpccli_winreg_DeleteKey(struct rpc_pipe_client *cli,
124 TALLOC_CTX *mem_ctx,
125 struct policy_handle *handle /* [in] [ref] */,
126 struct winreg_String key /* [in] */,
127 WERROR *werror);
128 struct tevent_req *rpccli_winreg_DeleteValue_send(TALLOC_CTX *mem_ctx,
129 struct tevent_context *ev,
130 struct rpc_pipe_client *cli,
131 struct policy_handle *_handle /* [in] [ref] */,
132 struct winreg_String _value /* [in] */);
133 NTSTATUS rpccli_winreg_DeleteValue_recv(struct tevent_req *req,
134 TALLOC_CTX *mem_ctx,
135 WERROR *result);
136 NTSTATUS rpccli_winreg_DeleteValue(struct rpc_pipe_client *cli,
137 TALLOC_CTX *mem_ctx,
138 struct policy_handle *handle /* [in] [ref] */,
139 struct winreg_String value /* [in] */,
140 WERROR *werror);
141 struct tevent_req *rpccli_winreg_EnumKey_send(TALLOC_CTX *mem_ctx,
142 struct tevent_context *ev,
143 struct rpc_pipe_client *cli,
144 struct policy_handle *_handle /* [in] [ref] */,
145 uint32_t _enum_index /* [in] */,
146 struct winreg_StringBuf *_name /* [in,out] [ref] */,
147 struct winreg_StringBuf *_keyclass /* [in,out] [unique] */,
148 NTTIME *_last_changed_time /* [in,out] [unique] */);
149 NTSTATUS rpccli_winreg_EnumKey_recv(struct tevent_req *req,
150 TALLOC_CTX *mem_ctx,
151 WERROR *result);
152 NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli,
153 TALLOC_CTX *mem_ctx,
154 struct policy_handle *handle /* [in] [ref] */,
155 uint32_t enum_index /* [in] */,
156 struct winreg_StringBuf *name /* [in,out] [ref] */,
157 struct winreg_StringBuf *keyclass /* [in,out] [unique] */,
158 NTTIME *last_changed_time /* [in,out] [unique] */,
159 WERROR *werror);
160 struct tevent_req *rpccli_winreg_EnumValue_send(TALLOC_CTX *mem_ctx,
161 struct tevent_context *ev,
162 struct rpc_pipe_client *cli,
163 struct policy_handle *_handle /* [in] [ref] */,
164 uint32_t _enum_index /* [in] */,
165 struct winreg_ValNameBuf *_name /* [in,out] [ref] */,
166 enum winreg_Type *_type /* [in,out] [unique] */,
167 uint8_t *_value /* [in,out] [unique,length_is(*length),size_is(*size)] */,
168 uint32_t *_size /* [in,out] [unique] */,
169 uint32_t *_length /* [in,out] [unique] */);
170 NTSTATUS rpccli_winreg_EnumValue_recv(struct tevent_req *req,
171 TALLOC_CTX *mem_ctx,
172 WERROR *result);
173 NTSTATUS rpccli_winreg_EnumValue(struct rpc_pipe_client *cli,
174 TALLOC_CTX *mem_ctx,
175 struct policy_handle *handle /* [in] [ref] */,
176 uint32_t enum_index /* [in] */,
177 struct winreg_ValNameBuf *name /* [in,out] [ref] */,
178 enum winreg_Type *type /* [in,out] [unique] */,
179 uint8_t *value /* [in,out] [unique,length_is(*length),size_is(*size)] */,
180 uint32_t *size /* [in,out] [unique] */,
181 uint32_t *length /* [in,out] [unique] */,
182 WERROR *werror);
183 struct tevent_req *rpccli_winreg_FlushKey_send(TALLOC_CTX *mem_ctx,
184 struct tevent_context *ev,
185 struct rpc_pipe_client *cli,
186 struct policy_handle *_handle /* [in] [ref] */);
187 NTSTATUS rpccli_winreg_FlushKey_recv(struct tevent_req *req,
188 TALLOC_CTX *mem_ctx,
189 WERROR *result);
190 NTSTATUS rpccli_winreg_FlushKey(struct rpc_pipe_client *cli,
191 TALLOC_CTX *mem_ctx,
192 struct policy_handle *handle /* [in] [ref] */,
193 WERROR *werror);
194 struct tevent_req *rpccli_winreg_GetKeySecurity_send(TALLOC_CTX *mem_ctx,
195 struct tevent_context *ev,
196 struct rpc_pipe_client *cli,
197 struct policy_handle *_handle /* [in] [ref] */,
198 uint32_t _sec_info /* [in] */,
199 struct KeySecurityData *_sd /* [in,out] [ref] */);
200 NTSTATUS rpccli_winreg_GetKeySecurity_recv(struct tevent_req *req,
201 TALLOC_CTX *mem_ctx,
202 WERROR *result);
203 NTSTATUS rpccli_winreg_GetKeySecurity(struct rpc_pipe_client *cli,
204 TALLOC_CTX *mem_ctx,
205 struct policy_handle *handle /* [in] [ref] */,
206 uint32_t sec_info /* [in] */,
207 struct KeySecurityData *sd /* [in,out] [ref] */,
208 WERROR *werror);
209 struct tevent_req *rpccli_winreg_LoadKey_send(TALLOC_CTX *mem_ctx,
210 struct tevent_context *ev,
211 struct rpc_pipe_client *cli,
212 struct policy_handle *_handle /* [in] [ref] */,
213 struct winreg_String *_keyname /* [in] [unique] */,
214 struct winreg_String *_filename /* [in] [unique] */);
215 NTSTATUS rpccli_winreg_LoadKey_recv(struct tevent_req *req,
216 TALLOC_CTX *mem_ctx,
217 WERROR *result);
218 NTSTATUS rpccli_winreg_LoadKey(struct rpc_pipe_client *cli,
219 TALLOC_CTX *mem_ctx,
220 struct policy_handle *handle /* [in] [ref] */,
221 struct winreg_String *keyname /* [in] [unique] */,
222 struct winreg_String *filename /* [in] [unique] */,
223 WERROR *werror);
224 struct tevent_req *rpccli_winreg_NotifyChangeKeyValue_send(TALLOC_CTX *mem_ctx,
225 struct tevent_context *ev,
226 struct rpc_pipe_client *cli,
227 struct policy_handle *_handle /* [in] [ref] */,
228 uint8_t _watch_subtree /* [in] */,
229 uint32_t _notify_filter /* [in] */,
230 uint32_t _unknown /* [in] */,
231 struct winreg_String _string1 /* [in] */,
232 struct winreg_String _string2 /* [in] */,
233 uint32_t _unknown2 /* [in] */);
234 NTSTATUS rpccli_winreg_NotifyChangeKeyValue_recv(struct tevent_req *req,
235 TALLOC_CTX *mem_ctx,
236 WERROR *result);
237 NTSTATUS rpccli_winreg_NotifyChangeKeyValue(struct rpc_pipe_client *cli,
238 TALLOC_CTX *mem_ctx,
239 struct policy_handle *handle /* [in] [ref] */,
240 uint8_t watch_subtree /* [in] */,
241 uint32_t notify_filter /* [in] */,
242 uint32_t unknown /* [in] */,
243 struct winreg_String string1 /* [in] */,
244 struct winreg_String string2 /* [in] */,
245 uint32_t unknown2 /* [in] */,
246 WERROR *werror);
247 struct tevent_req *rpccli_winreg_OpenKey_send(TALLOC_CTX *mem_ctx,
248 struct tevent_context *ev,
249 struct rpc_pipe_client *cli,
250 struct policy_handle *_parent_handle /* [in] [ref] */,
251 struct winreg_String _keyname /* [in] */,
252 uint32_t _unknown /* [in] */,
253 uint32_t _access_mask /* [in] */,
254 struct policy_handle *_handle /* [out] [ref] */);
255 NTSTATUS rpccli_winreg_OpenKey_recv(struct tevent_req *req,
256 TALLOC_CTX *mem_ctx,
257 WERROR *result);
258 NTSTATUS rpccli_winreg_OpenKey(struct rpc_pipe_client *cli,
259 TALLOC_CTX *mem_ctx,
260 struct policy_handle *parent_handle /* [in] [ref] */,
261 struct winreg_String keyname /* [in] */,
262 uint32_t unknown /* [in] */,
263 uint32_t access_mask /* [in] */,
264 struct policy_handle *handle /* [out] [ref] */,
265 WERROR *werror);
266 struct tevent_req *rpccli_winreg_QueryInfoKey_send(TALLOC_CTX *mem_ctx,
267 struct tevent_context *ev,
268 struct rpc_pipe_client *cli,
269 struct policy_handle *_handle /* [in] [ref] */,
270 struct winreg_String *_classname /* [in,out] [ref] */,
271 uint32_t *_num_subkeys /* [out] [ref] */,
272 uint32_t *_max_subkeylen /* [out] [ref] */,
273 uint32_t *_max_classlen /* [out] [ref] */,
274 uint32_t *_num_values /* [out] [ref] */,
275 uint32_t *_max_valnamelen /* [out] [ref] */,
276 uint32_t *_max_valbufsize /* [out] [ref] */,
277 uint32_t *_secdescsize /* [out] [ref] */,
278 NTTIME *_last_changed_time /* [out] [ref] */);
279 NTSTATUS rpccli_winreg_QueryInfoKey_recv(struct tevent_req *req,
280 TALLOC_CTX *mem_ctx,
281 WERROR *result);
282 NTSTATUS rpccli_winreg_QueryInfoKey(struct rpc_pipe_client *cli,
283 TALLOC_CTX *mem_ctx,
284 struct policy_handle *handle /* [in] [ref] */,
285 struct winreg_String *classname /* [in,out] [ref] */,
286 uint32_t *num_subkeys /* [out] [ref] */,
287 uint32_t *max_subkeylen /* [out] [ref] */,
288 uint32_t *max_classlen /* [out] [ref] */,
289 uint32_t *num_values /* [out] [ref] */,
290 uint32_t *max_valnamelen /* [out] [ref] */,
291 uint32_t *max_valbufsize /* [out] [ref] */,
292 uint32_t *secdescsize /* [out] [ref] */,
293 NTTIME *last_changed_time /* [out] [ref] */,
294 WERROR *werror);
295 struct tevent_req *rpccli_winreg_QueryValue_send(TALLOC_CTX *mem_ctx,
296 struct tevent_context *ev,
297 struct rpc_pipe_client *cli,
298 struct policy_handle *_handle /* [in] [ref] */,
299 struct winreg_String *_value_name /* [in] [ref] */,
300 enum winreg_Type *_type /* [in,out] [unique] */,
301 uint8_t *_data /* [in,out] [unique,range(0,0x4000000),length_is(data_length?*data_length:0),size_is(data_size?*data_size:0)] */,
302 uint32_t *_data_size /* [in,out] [unique] */,
303 uint32_t *_data_length /* [in,out] [unique] */);
304 NTSTATUS rpccli_winreg_QueryValue_recv(struct tevent_req *req,
305 TALLOC_CTX *mem_ctx,
306 WERROR *result);
307 NTSTATUS rpccli_winreg_QueryValue(struct rpc_pipe_client *cli,
308 TALLOC_CTX *mem_ctx,
309 struct policy_handle *handle /* [in] [ref] */,
310 struct winreg_String *value_name /* [in] [ref] */,
311 enum winreg_Type *type /* [in,out] [unique] */,
312 uint8_t *data /* [in,out] [unique,range(0,0x4000000),length_is(data_length?*data_length:0),size_is(data_size?*data_size:0)] */,
313 uint32_t *data_size /* [in,out] [unique] */,
314 uint32_t *data_length /* [in,out] [unique] */,
315 WERROR *werror);
316 struct tevent_req *rpccli_winreg_ReplaceKey_send(TALLOC_CTX *mem_ctx,
317 struct tevent_context *ev,
318 struct rpc_pipe_client *cli);
319 NTSTATUS rpccli_winreg_ReplaceKey_recv(struct tevent_req *req,
320 TALLOC_CTX *mem_ctx,
321 WERROR *result);
322 NTSTATUS rpccli_winreg_ReplaceKey(struct rpc_pipe_client *cli,
323 TALLOC_CTX *mem_ctx,
324 WERROR *werror);
325 struct tevent_req *rpccli_winreg_RestoreKey_send(TALLOC_CTX *mem_ctx,
326 struct tevent_context *ev,
327 struct rpc_pipe_client *cli,
328 struct policy_handle *_handle /* [in] [ref] */,
329 struct winreg_String *_filename /* [in] [ref] */,
330 uint32_t _flags /* [in] */);
331 NTSTATUS rpccli_winreg_RestoreKey_recv(struct tevent_req *req,
332 TALLOC_CTX *mem_ctx,
333 WERROR *result);
334 NTSTATUS rpccli_winreg_RestoreKey(struct rpc_pipe_client *cli,
335 TALLOC_CTX *mem_ctx,
336 struct policy_handle *handle /* [in] [ref] */,
337 struct winreg_String *filename /* [in] [ref] */,
338 uint32_t flags /* [in] */,
339 WERROR *werror);
340 struct tevent_req *rpccli_winreg_SaveKey_send(TALLOC_CTX *mem_ctx,
341 struct tevent_context *ev,
342 struct rpc_pipe_client *cli,
343 struct policy_handle *_handle /* [in] [ref] */,
344 struct winreg_String *_filename /* [in] [ref] */,
345 struct KeySecurityAttribute *_sec_attrib /* [in] [unique] */);
346 NTSTATUS rpccli_winreg_SaveKey_recv(struct tevent_req *req,
347 TALLOC_CTX *mem_ctx,
348 WERROR *result);
349 NTSTATUS rpccli_winreg_SaveKey(struct rpc_pipe_client *cli,
350 TALLOC_CTX *mem_ctx,
351 struct policy_handle *handle /* [in] [ref] */,
352 struct winreg_String *filename /* [in] [ref] */,
353 struct KeySecurityAttribute *sec_attrib /* [in] [unique] */,
354 WERROR *werror);
355 struct tevent_req *rpccli_winreg_SetKeySecurity_send(TALLOC_CTX *mem_ctx,
356 struct tevent_context *ev,
357 struct rpc_pipe_client *cli,
358 struct policy_handle *_handle /* [in] [ref] */,
359 uint32_t _sec_info /* [in] */,
360 struct KeySecurityData *_sd /* [in] [ref] */);
361 NTSTATUS rpccli_winreg_SetKeySecurity_recv(struct tevent_req *req,
362 TALLOC_CTX *mem_ctx,
363 WERROR *result);
364 NTSTATUS rpccli_winreg_SetKeySecurity(struct rpc_pipe_client *cli,
365 TALLOC_CTX *mem_ctx,
366 struct policy_handle *handle /* [in] [ref] */,
367 uint32_t sec_info /* [in] */,
368 struct KeySecurityData *sd /* [in] [ref] */,
369 WERROR *werror);
370 struct tevent_req *rpccli_winreg_SetValue_send(TALLOC_CTX *mem_ctx,
371 struct tevent_context *ev,
372 struct rpc_pipe_client *cli,
373 struct policy_handle *_handle /* [in] [ref] */,
374 struct winreg_String _name /* [in] */,
375 enum winreg_Type _type /* [in] */,
376 uint8_t *_data /* [in] [ref,size_is(size)] */,
377 uint32_t _size /* [in] */);
378 NTSTATUS rpccli_winreg_SetValue_recv(struct tevent_req *req,
379 TALLOC_CTX *mem_ctx,
380 WERROR *result);
381 NTSTATUS rpccli_winreg_SetValue(struct rpc_pipe_client *cli,
382 TALLOC_CTX *mem_ctx,
383 struct policy_handle *handle /* [in] [ref] */,
384 struct winreg_String name /* [in] */,
385 enum winreg_Type type /* [in] */,
386 uint8_t *data /* [in] [ref,size_is(size)] */,
387 uint32_t size /* [in] */,
388 WERROR *werror);
389 struct tevent_req *rpccli_winreg_UnLoadKey_send(TALLOC_CTX *mem_ctx,
390 struct tevent_context *ev,
391 struct rpc_pipe_client *cli);
392 NTSTATUS rpccli_winreg_UnLoadKey_recv(struct tevent_req *req,
393 TALLOC_CTX *mem_ctx,
394 WERROR *result);
395 NTSTATUS rpccli_winreg_UnLoadKey(struct rpc_pipe_client *cli,
396 TALLOC_CTX *mem_ctx,
397 WERROR *werror);
398 struct tevent_req *rpccli_winreg_InitiateSystemShutdown_send(TALLOC_CTX *mem_ctx,
399 struct tevent_context *ev,
400 struct rpc_pipe_client *cli,
401 uint16_t *_hostname /* [in] [unique] */,
402 struct lsa_StringLarge *_message /* [in] [unique] */,
403 uint32_t _timeout /* [in] */,
404 uint8_t _force_apps /* [in] */,
405 uint8_t _do_reboot /* [in] */);
406 NTSTATUS rpccli_winreg_InitiateSystemShutdown_recv(struct tevent_req *req,
407 TALLOC_CTX *mem_ctx,
408 WERROR *result);
409 NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli,
410 TALLOC_CTX *mem_ctx,
411 uint16_t *hostname /* [in] [unique] */,
412 struct lsa_StringLarge *message /* [in] [unique] */,
413 uint32_t timeout /* [in] */,
414 uint8_t force_apps /* [in] */,
415 uint8_t do_reboot /* [in] */,
416 WERROR *werror);
417 struct tevent_req *rpccli_winreg_AbortSystemShutdown_send(TALLOC_CTX *mem_ctx,
418 struct tevent_context *ev,
419 struct rpc_pipe_client *cli,
420 uint16_t *_server /* [in] [unique] */);
421 NTSTATUS rpccli_winreg_AbortSystemShutdown_recv(struct tevent_req *req,
422 TALLOC_CTX *mem_ctx,
423 WERROR *result);
424 NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli,
425 TALLOC_CTX *mem_ctx,
426 uint16_t *server /* [in] [unique] */,
427 WERROR *werror);
428 struct tevent_req *rpccli_winreg_GetVersion_send(TALLOC_CTX *mem_ctx,
429 struct tevent_context *ev,
430 struct rpc_pipe_client *cli,
431 struct policy_handle *_handle /* [in] [ref] */,
432 uint32_t *_version /* [out] [ref] */);
433 NTSTATUS rpccli_winreg_GetVersion_recv(struct tevent_req *req,
434 TALLOC_CTX *mem_ctx,
435 WERROR *result);
436 NTSTATUS rpccli_winreg_GetVersion(struct rpc_pipe_client *cli,
437 TALLOC_CTX *mem_ctx,
438 struct policy_handle *handle /* [in] [ref] */,
439 uint32_t *version /* [out] [ref] */,
440 WERROR *werror);
441 struct tevent_req *rpccli_winreg_OpenHKCC_send(TALLOC_CTX *mem_ctx,
442 struct tevent_context *ev,
443 struct rpc_pipe_client *cli,
444 uint16_t *_system_name /* [in] [unique] */,
445 uint32_t _access_mask /* [in] */,
446 struct policy_handle *_handle /* [out] [ref] */);
447 NTSTATUS rpccli_winreg_OpenHKCC_recv(struct tevent_req *req,
448 TALLOC_CTX *mem_ctx,
449 WERROR *result);
450 NTSTATUS rpccli_winreg_OpenHKCC(struct rpc_pipe_client *cli,
451 TALLOC_CTX *mem_ctx,
452 uint16_t *system_name /* [in] [unique] */,
453 uint32_t access_mask /* [in] */,
454 struct policy_handle *handle /* [out] [ref] */,
455 WERROR *werror);
456 struct tevent_req *rpccli_winreg_OpenHKDD_send(TALLOC_CTX *mem_ctx,
457 struct tevent_context *ev,
458 struct rpc_pipe_client *cli,
459 uint16_t *_system_name /* [in] [unique] */,
460 uint32_t _access_mask /* [in] */,
461 struct policy_handle *_handle /* [out] [ref] */);
462 NTSTATUS rpccli_winreg_OpenHKDD_recv(struct tevent_req *req,
463 TALLOC_CTX *mem_ctx,
464 WERROR *result);
465 NTSTATUS rpccli_winreg_OpenHKDD(struct rpc_pipe_client *cli,
466 TALLOC_CTX *mem_ctx,
467 uint16_t *system_name /* [in] [unique] */,
468 uint32_t access_mask /* [in] */,
469 struct policy_handle *handle /* [out] [ref] */,
470 WERROR *werror);
471 struct tevent_req *rpccli_winreg_QueryMultipleValues_send(TALLOC_CTX *mem_ctx,
472 struct tevent_context *ev,
473 struct rpc_pipe_client *cli,
474 struct policy_handle *_key_handle /* [in] [ref] */,
475 struct QueryMultipleValue *_values /* [in,out] [ref,length_is(num_values),size_is(num_values)] */,
476 uint32_t _num_values /* [in] */,
477 uint8_t *_buffer /* [in,out] [unique,length_is(*buffer_size),size_is(*buffer_size)] */,
478 uint32_t *_buffer_size /* [in,out] [ref] */);
479 NTSTATUS rpccli_winreg_QueryMultipleValues_recv(struct tevent_req *req,
480 TALLOC_CTX *mem_ctx,
481 WERROR *result);
482 NTSTATUS rpccli_winreg_QueryMultipleValues(struct rpc_pipe_client *cli,
483 TALLOC_CTX *mem_ctx,
484 struct policy_handle *key_handle /* [in] [ref] */,
485 struct QueryMultipleValue *values /* [in,out] [ref,length_is(num_values),size_is(num_values)] */,
486 uint32_t num_values /* [in] */,
487 uint8_t *buffer /* [in,out] [unique,length_is(*buffer_size),size_is(*buffer_size)] */,
488 uint32_t *buffer_size /* [in,out] [ref] */,
489 WERROR *werror);
490 struct tevent_req *rpccli_winreg_InitiateSystemShutdownEx_send(TALLOC_CTX *mem_ctx,
491 struct tevent_context *ev,
492 struct rpc_pipe_client *cli,
493 uint16_t *_hostname /* [in] [unique] */,
494 struct lsa_StringLarge *_message /* [in] [unique] */,
495 uint32_t _timeout /* [in] */,
496 uint8_t _force_apps /* [in] */,
497 uint8_t _do_reboot /* [in] */,
498 uint32_t _reason /* [in] */);
499 NTSTATUS rpccli_winreg_InitiateSystemShutdownEx_recv(struct tevent_req *req,
500 TALLOC_CTX *mem_ctx,
501 WERROR *result);
502 NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli,
503 TALLOC_CTX *mem_ctx,
504 uint16_t *hostname /* [in] [unique] */,
505 struct lsa_StringLarge *message /* [in] [unique] */,
506 uint32_t timeout /* [in] */,
507 uint8_t force_apps /* [in] */,
508 uint8_t do_reboot /* [in] */,
509 uint32_t reason /* [in] */,
510 WERROR *werror);
511 struct tevent_req *rpccli_winreg_SaveKeyEx_send(TALLOC_CTX *mem_ctx,
512 struct tevent_context *ev,
513 struct rpc_pipe_client *cli);
514 NTSTATUS rpccli_winreg_SaveKeyEx_recv(struct tevent_req *req,
515 TALLOC_CTX *mem_ctx,
516 WERROR *result);
517 NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli,
518 TALLOC_CTX *mem_ctx,
519 WERROR *werror);
520 struct tevent_req *rpccli_winreg_OpenHKPT_send(TALLOC_CTX *mem_ctx,
521 struct tevent_context *ev,
522 struct rpc_pipe_client *cli,
523 uint16_t *_system_name /* [in] [unique] */,
524 uint32_t _access_mask /* [in] */,
525 struct policy_handle *_handle /* [out] [ref] */);
526 NTSTATUS rpccli_winreg_OpenHKPT_recv(struct tevent_req *req,
527 TALLOC_CTX *mem_ctx,
528 WERROR *result);
529 NTSTATUS rpccli_winreg_OpenHKPT(struct rpc_pipe_client *cli,
530 TALLOC_CTX *mem_ctx,
531 uint16_t *system_name /* [in] [unique] */,
532 uint32_t access_mask /* [in] */,
533 struct policy_handle *handle /* [out] [ref] */,
534 WERROR *werror);
535 struct tevent_req *rpccli_winreg_OpenHKPN_send(TALLOC_CTX *mem_ctx,
536 struct tevent_context *ev,
537 struct rpc_pipe_client *cli,
538 uint16_t *_system_name /* [in] [unique] */,
539 uint32_t _access_mask /* [in] */,
540 struct policy_handle *_handle /* [out] [ref] */);
541 NTSTATUS rpccli_winreg_OpenHKPN_recv(struct tevent_req *req,
542 TALLOC_CTX *mem_ctx,
543 WERROR *result);
544 NTSTATUS rpccli_winreg_OpenHKPN(struct rpc_pipe_client *cli,
545 TALLOC_CTX *mem_ctx,
546 uint16_t *system_name /* [in] [unique] */,
547 uint32_t access_mask /* [in] */,
548 struct policy_handle *handle /* [out] [ref] */,
549 WERROR *werror);
550 struct tevent_req *rpccli_winreg_QueryMultipleValues2_send(TALLOC_CTX *mem_ctx,
551 struct tevent_context *ev,
552 struct rpc_pipe_client *cli);
553 NTSTATUS rpccli_winreg_QueryMultipleValues2_recv(struct tevent_req *req,
554 TALLOC_CTX *mem_ctx,
555 WERROR *result);
556 NTSTATUS rpccli_winreg_QueryMultipleValues2(struct rpc_pipe_client *cli,
557 TALLOC_CTX *mem_ctx,
558 WERROR *werror);
559 #endif /* __CLI_WINREG__ */