void functions can't return a value. Found by the Solaris compiler.
[Samba/fernandojvsilva.git] / librpc / gen_ndr / ntsvcs.h
blobf59fcae2e7f89a1f13ccf7f9819c1ba0dd822ea0
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/winreg.h"
8 #ifndef _HEADER_ntsvcs
9 #define _HEADER_ntsvcs
11 #define CM_GETIDLIST_FILTER_NONE ( 0x00000000 )
12 #define DEV_REGPROP_DESC ( 1 )
13 /* bitmap PNP_GetIdListFlags */
14 #define CM_GETIDLIST_FILTER_ENUMERATOR ( 0x00000001 )
15 #define CM_GETIDLIST_FILTER_SERVICE ( 0x00000002 )
16 #define CM_GETIDLIST_FILTER_EJECTRELATIONS ( 0x00000004 )
17 #define CM_GETIDLIST_FILTER_REMOVALRELATIONS ( 0x00000008 )
18 #define CM_GETIDLIST_FILTER_POWERRELATIONS ( 0x00000010 )
19 #define CM_GETIDLIST_FILTER_BUSRELATIONS ( 0x00000020 )
20 #define CM_GETIDLIST_DONOTGENERATE ( 0x10000040 )
21 #define CM_GETIDLIST_FILTER_TRANSPORTRELATIONS ( 0x00000080 )
22 #define CM_GETIDLIST_FILTER_PRESENT ( 0x00000100 )
23 #define CM_GETIDLIST_FILTER_CLASS ( 0x00000200 )
25 struct PNP_HwProfInfo {
26 uint32_t profile_handle;
27 uint16_t friendly_name[80];
28 uint32_t flags;
32 struct PNP_Disconnect {
33 struct {
34 WERROR result;
35 } out;
40 struct PNP_Connect {
41 struct {
42 WERROR result;
43 } out;
48 struct PNP_GetVersion {
49 struct {
50 uint16_t *version;/* [ref] */
51 WERROR result;
52 } out;
57 struct PNP_GetGlobalState {
58 struct {
59 WERROR result;
60 } out;
65 struct PNP_InitDetection {
66 struct {
67 WERROR result;
68 } out;
73 struct PNP_ReportLogOn {
74 struct {
75 WERROR result;
76 } out;
81 struct PNP_ValidateDeviceInstance {
82 struct {
83 const char *devicepath;/* [ref,charset(UTF16)] */
84 uint32_t flags;
85 } in;
87 struct {
88 WERROR result;
89 } out;
94 struct PNP_GetRootDeviceInstance {
95 struct {
96 WERROR result;
97 } out;
102 struct PNP_GetRelatedDeviceInstance {
103 struct {
104 WERROR result;
105 } out;
110 struct PNP_EnumerateSubKeys {
111 struct {
112 WERROR result;
113 } out;
118 struct PNP_GetDeviceList {
119 struct {
120 const char *filter;/* [unique,charset(UTF16)] */
121 uint32_t flags;
122 uint32_t *length;/* [ref] */
123 } in;
125 struct {
126 uint16_t *buffer;/* [ref,length_is(*length),size_is(*length)] */
127 uint32_t *length;/* [ref] */
128 WERROR result;
129 } out;
134 struct PNP_GetDeviceListSize {
135 struct {
136 const char *devicename;/* [unique,charset(UTF16)] */
137 uint32_t flags;
138 } in;
140 struct {
141 uint32_t *size;/* [ref] */
142 WERROR result;
143 } out;
148 struct PNP_GetDepth {
149 struct {
150 WERROR result;
151 } out;
156 struct PNP_GetDeviceRegProp {
157 struct {
158 const char *devicepath;/* [ref,charset(UTF16)] */
159 uint32_t property;
160 uint32_t flags;
161 enum winreg_Type *reg_data_type;/* [ref] */
162 uint32_t *buffer_size;/* [ref] */
163 uint32_t *needed;/* [ref] */
164 } in;
166 struct {
167 uint8_t *buffer;/* [ref,length_is(*buffer_size),size_is(*buffer_size)] */
168 enum winreg_Type *reg_data_type;/* [ref] */
169 uint32_t *buffer_size;/* [ref] */
170 uint32_t *needed;/* [ref] */
171 WERROR result;
172 } out;
177 struct PNP_SetDeviceRegProp {
178 struct {
179 WERROR result;
180 } out;
185 struct PNP_GetClassInstance {
186 struct {
187 WERROR result;
188 } out;
193 struct PNP_CreateKey {
194 struct {
195 WERROR result;
196 } out;
201 struct PNP_DeleteRegistryKey {
202 struct {
203 WERROR result;
204 } out;
209 struct PNP_GetClassCount {
210 struct {
211 WERROR result;
212 } out;
217 struct PNP_GetClassName {
218 struct {
219 WERROR result;
220 } out;
225 struct PNP_DeleteClassKey {
226 struct {
227 WERROR result;
228 } out;
233 struct PNP_GetInterfaceDeviceAlias {
234 struct {
235 WERROR result;
236 } out;
241 struct PNP_GetInterfaceDeviceList {
242 struct {
243 WERROR result;
244 } out;
249 struct PNP_GetInterfaceDeviceListSize {
250 struct {
251 WERROR result;
252 } out;
257 struct PNP_RegisterDeviceClassAssociation {
258 struct {
259 WERROR result;
260 } out;
265 struct PNP_UnregisterDeviceClassAssociation {
266 struct {
267 WERROR result;
268 } out;
273 struct PNP_GetClassRegProp {
274 struct {
275 WERROR result;
276 } out;
281 struct PNP_SetClassRegProp {
282 struct {
283 WERROR result;
284 } out;
289 struct PNP_CreateDevInst {
290 struct {
291 WERROR result;
292 } out;
297 struct PNP_DeviceInstanceAction {
298 struct {
299 WERROR result;
300 } out;
305 struct PNP_GetDeviceStatus {
306 struct {
307 WERROR result;
308 } out;
313 struct PNP_SetDeviceProblem {
314 struct {
315 WERROR result;
316 } out;
321 struct PNP_DisableDevInst {
322 struct {
323 WERROR result;
324 } out;
329 struct PNP_UninstallDevInst {
330 struct {
331 WERROR result;
332 } out;
337 struct PNP_AddID {
338 struct {
339 WERROR result;
340 } out;
345 struct PNP_RegisterDriver {
346 struct {
347 WERROR result;
348 } out;
353 struct PNP_QueryRemove {
354 struct {
355 WERROR result;
356 } out;
361 struct PNP_RequestDeviceEject {
362 struct {
363 WERROR result;
364 } out;
369 struct PNP_IsDockStationPresent {
370 struct {
371 WERROR result;
372 } out;
377 struct PNP_RequestEjectPC {
378 struct {
379 WERROR result;
380 } out;
385 struct PNP_HwProfFlags {
386 struct {
387 uint32_t action;
388 const char *devicepath;/* [ref,charset(UTF16)] */
389 uint32_t config;
390 const char *unknown5;/* [unique,charset(UTF16)] */
391 uint32_t name_length;
392 uint32_t flags;
393 uint32_t *profile_flags;/* [ref] */
394 uint16_t *veto_type;/* [unique] */
395 } in;
397 struct {
398 const char **unknown5a;/* [unique,charset(UTF16)] */
399 uint32_t *profile_flags;/* [ref] */
400 uint16_t *veto_type;/* [unique] */
401 WERROR result;
402 } out;
407 struct PNP_GetHwProfInfo {
408 struct {
409 uint32_t idx;
410 uint32_t size;
411 uint32_t flags;
412 struct PNP_HwProfInfo *info;/* [ref] */
413 } in;
415 struct {
416 struct PNP_HwProfInfo *info;/* [ref] */
417 WERROR result;
418 } out;
423 struct PNP_AddEmptyLogConf {
424 struct {
425 WERROR result;
426 } out;
431 struct PNP_FreeLogConf {
432 struct {
433 WERROR result;
434 } out;
439 struct PNP_GetFirstLogConf {
440 struct {
441 WERROR result;
442 } out;
447 struct PNP_GetNextLogConf {
448 struct {
449 WERROR result;
450 } out;
455 struct PNP_GetLogConfPriority {
456 struct {
457 WERROR result;
458 } out;
463 struct PNP_AddResDes {
464 struct {
465 WERROR result;
466 } out;
471 struct PNP_FreeResDes {
472 struct {
473 WERROR result;
474 } out;
479 struct PNP_GetNextResDes {
480 struct {
481 WERROR result;
482 } out;
487 struct PNP_GetResDesData {
488 struct {
489 WERROR result;
490 } out;
495 struct PNP_GetResDesDataSize {
496 struct {
497 WERROR result;
498 } out;
503 struct PNP_ModifyResDes {
504 struct {
505 WERROR result;
506 } out;
511 struct PNP_DetectResourceLimit {
512 struct {
513 WERROR result;
514 } out;
519 struct PNP_QueryResConfList {
520 struct {
521 WERROR result;
522 } out;
527 struct PNP_SetHwProf {
528 struct {
529 WERROR result;
530 } out;
535 struct PNP_QueryArbitratorFreeData {
536 struct {
537 WERROR result;
538 } out;
543 struct PNP_QueryArbitratorFreeSize {
544 struct {
545 WERROR result;
546 } out;
551 struct PNP_RunDetection {
552 struct {
553 WERROR result;
554 } out;
559 struct PNP_RegisterNotification {
560 struct {
561 WERROR result;
562 } out;
567 struct PNP_UnregisterNotification {
568 struct {
569 WERROR result;
570 } out;
575 struct PNP_GetCustomDevProp {
576 struct {
577 WERROR result;
578 } out;
583 struct PNP_GetVersionInternal {
584 struct {
585 WERROR result;
586 } out;
591 struct PNP_GetBlockedDriverInfo {
592 struct {
593 WERROR result;
594 } out;
599 struct PNP_GetServerSideDeviceInstallFlags {
600 struct {
601 WERROR result;
602 } out;
606 #endif /* _HEADER_ntsvcs */