1 | /* header auto-generated by pidl */
|
---|
2 |
|
---|
3 | #include <stdint.h>
|
---|
4 |
|
---|
5 | #ifndef _HEADER_ntsvcs
|
---|
6 | #define _HEADER_ntsvcs
|
---|
7 |
|
---|
8 | #define DEV_REGPROP_DESC ( 1 )
|
---|
9 | struct PNP_HwProfInfo {
|
---|
10 | uint32_t profile_handle;
|
---|
11 | uint16_t friendly_name[80];
|
---|
12 | uint32_t flags;
|
---|
13 | };
|
---|
14 |
|
---|
15 |
|
---|
16 | struct PNP_Disconnect {
|
---|
17 | struct {
|
---|
18 | WERROR result;
|
---|
19 | } out;
|
---|
20 |
|
---|
21 | };
|
---|
22 |
|
---|
23 |
|
---|
24 | struct PNP_Connect {
|
---|
25 | struct {
|
---|
26 | WERROR result;
|
---|
27 | } out;
|
---|
28 |
|
---|
29 | };
|
---|
30 |
|
---|
31 |
|
---|
32 | struct PNP_GetVersion {
|
---|
33 | struct {
|
---|
34 | uint16_t *version;/* [ref] */
|
---|
35 | WERROR result;
|
---|
36 | } out;
|
---|
37 |
|
---|
38 | };
|
---|
39 |
|
---|
40 |
|
---|
41 | struct PNP_GetGlobalState {
|
---|
42 | struct {
|
---|
43 | WERROR result;
|
---|
44 | } out;
|
---|
45 |
|
---|
46 | };
|
---|
47 |
|
---|
48 |
|
---|
49 | struct PNP_InitDetection {
|
---|
50 | struct {
|
---|
51 | WERROR result;
|
---|
52 | } out;
|
---|
53 |
|
---|
54 | };
|
---|
55 |
|
---|
56 |
|
---|
57 | struct PNP_ReportLogOn {
|
---|
58 | struct {
|
---|
59 | WERROR result;
|
---|
60 | } out;
|
---|
61 |
|
---|
62 | };
|
---|
63 |
|
---|
64 |
|
---|
65 | struct PNP_ValidateDeviceInstance {
|
---|
66 | struct {
|
---|
67 | const char *devicepath;/* [ref,charset(UTF16)] */
|
---|
68 | uint32_t flags;
|
---|
69 | } in;
|
---|
70 |
|
---|
71 | struct {
|
---|
72 | WERROR result;
|
---|
73 | } out;
|
---|
74 |
|
---|
75 | };
|
---|
76 |
|
---|
77 |
|
---|
78 | struct PNP_GetRootDeviceInstance {
|
---|
79 | struct {
|
---|
80 | WERROR result;
|
---|
81 | } out;
|
---|
82 |
|
---|
83 | };
|
---|
84 |
|
---|
85 |
|
---|
86 | struct PNP_GetRelatedDeviceInstance {
|
---|
87 | struct {
|
---|
88 | WERROR result;
|
---|
89 | } out;
|
---|
90 |
|
---|
91 | };
|
---|
92 |
|
---|
93 |
|
---|
94 | struct PNP_EnumerateSubKeys {
|
---|
95 | struct {
|
---|
96 | WERROR result;
|
---|
97 | } out;
|
---|
98 |
|
---|
99 | };
|
---|
100 |
|
---|
101 |
|
---|
102 | struct PNP_GetDeviceList {
|
---|
103 | struct {
|
---|
104 | WERROR result;
|
---|
105 | } out;
|
---|
106 |
|
---|
107 | };
|
---|
108 |
|
---|
109 |
|
---|
110 | struct PNP_GetDeviceListSize {
|
---|
111 | struct {
|
---|
112 | const char *devicename;/* [unique,charset(UTF16)] */
|
---|
113 | uint32_t flags;
|
---|
114 | } in;
|
---|
115 |
|
---|
116 | struct {
|
---|
117 | uint32_t *size;/* [ref] */
|
---|
118 | WERROR result;
|
---|
119 | } out;
|
---|
120 |
|
---|
121 | };
|
---|
122 |
|
---|
123 |
|
---|
124 | struct PNP_GetDepth {
|
---|
125 | struct {
|
---|
126 | WERROR result;
|
---|
127 | } out;
|
---|
128 |
|
---|
129 | };
|
---|
130 |
|
---|
131 |
|
---|
132 | struct PNP_GetDeviceRegProp {
|
---|
133 | struct {
|
---|
134 | const char *devicepath;/* [ref,charset(UTF16)] */
|
---|
135 | uint32_t property;
|
---|
136 | uint32_t unknown3;
|
---|
137 | uint32_t *unknown1;/* [ref] */
|
---|
138 | uint32_t *buffer_size;/* [ref] */
|
---|
139 | uint32_t *needed;/* [ref] */
|
---|
140 | } in;
|
---|
141 |
|
---|
142 | struct {
|
---|
143 | uint8_t *buffer;/* [ref,length_is(*buffer_size),size_is(*buffer_size)] */
|
---|
144 | uint32_t *unknown1;/* [ref] */
|
---|
145 | uint32_t *buffer_size;/* [ref] */
|
---|
146 | uint32_t *needed;/* [ref] */
|
---|
147 | WERROR result;
|
---|
148 | } out;
|
---|
149 |
|
---|
150 | };
|
---|
151 |
|
---|
152 |
|
---|
153 | struct PNP_SetDeviceRegProp {
|
---|
154 | struct {
|
---|
155 | WERROR result;
|
---|
156 | } out;
|
---|
157 |
|
---|
158 | };
|
---|
159 |
|
---|
160 |
|
---|
161 | struct PNP_GetClassInstance {
|
---|
162 | struct {
|
---|
163 | WERROR result;
|
---|
164 | } out;
|
---|
165 |
|
---|
166 | };
|
---|
167 |
|
---|
168 |
|
---|
169 | struct PNP_CreateKey {
|
---|
170 | struct {
|
---|
171 | WERROR result;
|
---|
172 | } out;
|
---|
173 |
|
---|
174 | };
|
---|
175 |
|
---|
176 |
|
---|
177 | struct PNP_DeleteRegistryKey {
|
---|
178 | struct {
|
---|
179 | WERROR result;
|
---|
180 | } out;
|
---|
181 |
|
---|
182 | };
|
---|
183 |
|
---|
184 |
|
---|
185 | struct PNP_GetClassCount {
|
---|
186 | struct {
|
---|
187 | WERROR result;
|
---|
188 | } out;
|
---|
189 |
|
---|
190 | };
|
---|
191 |
|
---|
192 |
|
---|
193 | struct PNP_GetClassName {
|
---|
194 | struct {
|
---|
195 | WERROR result;
|
---|
196 | } out;
|
---|
197 |
|
---|
198 | };
|
---|
199 |
|
---|
200 |
|
---|
201 | struct PNP_DeleteClassKey {
|
---|
202 | struct {
|
---|
203 | WERROR result;
|
---|
204 | } out;
|
---|
205 |
|
---|
206 | };
|
---|
207 |
|
---|
208 |
|
---|
209 | struct PNP_GetInterfaceDeviceAlias {
|
---|
210 | struct {
|
---|
211 | WERROR result;
|
---|
212 | } out;
|
---|
213 |
|
---|
214 | };
|
---|
215 |
|
---|
216 |
|
---|
217 | struct PNP_GetInterfaceDeviceList {
|
---|
218 | struct {
|
---|
219 | WERROR result;
|
---|
220 | } out;
|
---|
221 |
|
---|
222 | };
|
---|
223 |
|
---|
224 |
|
---|
225 | struct PNP_GetInterfaceDeviceListSize {
|
---|
226 | struct {
|
---|
227 | WERROR result;
|
---|
228 | } out;
|
---|
229 |
|
---|
230 | };
|
---|
231 |
|
---|
232 |
|
---|
233 | struct PNP_RegisterDeviceClassAssociation {
|
---|
234 | struct {
|
---|
235 | WERROR result;
|
---|
236 | } out;
|
---|
237 |
|
---|
238 | };
|
---|
239 |
|
---|
240 |
|
---|
241 | struct PNP_UnregisterDeviceClassAssociation {
|
---|
242 | struct {
|
---|
243 | WERROR result;
|
---|
244 | } out;
|
---|
245 |
|
---|
246 | };
|
---|
247 |
|
---|
248 |
|
---|
249 | struct PNP_GetClassRegProp {
|
---|
250 | struct {
|
---|
251 | WERROR result;
|
---|
252 | } out;
|
---|
253 |
|
---|
254 | };
|
---|
255 |
|
---|
256 |
|
---|
257 | struct PNP_SetClassRegProp {
|
---|
258 | struct {
|
---|
259 | WERROR result;
|
---|
260 | } out;
|
---|
261 |
|
---|
262 | };
|
---|
263 |
|
---|
264 |
|
---|
265 | struct PNP_CreateDevInst {
|
---|
266 | struct {
|
---|
267 | WERROR result;
|
---|
268 | } out;
|
---|
269 |
|
---|
270 | };
|
---|
271 |
|
---|
272 |
|
---|
273 | struct PNP_DeviceInstanceAction {
|
---|
274 | struct {
|
---|
275 | WERROR result;
|
---|
276 | } out;
|
---|
277 |
|
---|
278 | };
|
---|
279 |
|
---|
280 |
|
---|
281 | struct PNP_GetDeviceStatus {
|
---|
282 | struct {
|
---|
283 | WERROR result;
|
---|
284 | } out;
|
---|
285 |
|
---|
286 | };
|
---|
287 |
|
---|
288 |
|
---|
289 | struct PNP_SetDeviceProblem {
|
---|
290 | struct {
|
---|
291 | WERROR result;
|
---|
292 | } out;
|
---|
293 |
|
---|
294 | };
|
---|
295 |
|
---|
296 |
|
---|
297 | struct PNP_DisableDevInst {
|
---|
298 | struct {
|
---|
299 | WERROR result;
|
---|
300 | } out;
|
---|
301 |
|
---|
302 | };
|
---|
303 |
|
---|
304 |
|
---|
305 | struct PNP_UninstallDevInst {
|
---|
306 | struct {
|
---|
307 | WERROR result;
|
---|
308 | } out;
|
---|
309 |
|
---|
310 | };
|
---|
311 |
|
---|
312 |
|
---|
313 | struct PNP_AddID {
|
---|
314 | struct {
|
---|
315 | WERROR result;
|
---|
316 | } out;
|
---|
317 |
|
---|
318 | };
|
---|
319 |
|
---|
320 |
|
---|
321 | struct PNP_RegisterDriver {
|
---|
322 | struct {
|
---|
323 | WERROR result;
|
---|
324 | } out;
|
---|
325 |
|
---|
326 | };
|
---|
327 |
|
---|
328 |
|
---|
329 | struct PNP_QueryRemove {
|
---|
330 | struct {
|
---|
331 | WERROR result;
|
---|
332 | } out;
|
---|
333 |
|
---|
334 | };
|
---|
335 |
|
---|
336 |
|
---|
337 | struct PNP_RequestDeviceEject {
|
---|
338 | struct {
|
---|
339 | WERROR result;
|
---|
340 | } out;
|
---|
341 |
|
---|
342 | };
|
---|
343 |
|
---|
344 |
|
---|
345 | struct PNP_IsDockStationPresent {
|
---|
346 | struct {
|
---|
347 | WERROR result;
|
---|
348 | } out;
|
---|
349 |
|
---|
350 | };
|
---|
351 |
|
---|
352 |
|
---|
353 | struct PNP_RequestEjectPC {
|
---|
354 | struct {
|
---|
355 | WERROR result;
|
---|
356 | } out;
|
---|
357 |
|
---|
358 | };
|
---|
359 |
|
---|
360 |
|
---|
361 | struct PNP_HwProfFlags {
|
---|
362 | struct {
|
---|
363 | uint32_t unknown1;
|
---|
364 | const char *devicepath;/* [ref,charset(UTF16)] */
|
---|
365 | uint32_t unknown2;
|
---|
366 | const char *unknown5;/* [unique,charset(UTF16)] */
|
---|
367 | uint32_t unknown6;
|
---|
368 | uint32_t unknown7;
|
---|
369 | uint32_t *unknown3;/* [ref] */
|
---|
370 | uint16_t *unknown4;/* [unique] */
|
---|
371 | } in;
|
---|
372 |
|
---|
373 | struct {
|
---|
374 | const char **unknown5a;/* [unique,charset(UTF16)] */
|
---|
375 | uint32_t *unknown3;/* [ref] */
|
---|
376 | uint16_t *unknown4;/* [unique] */
|
---|
377 | WERROR result;
|
---|
378 | } out;
|
---|
379 |
|
---|
380 | };
|
---|
381 |
|
---|
382 |
|
---|
383 | struct PNP_GetHwProfInfo {
|
---|
384 | struct {
|
---|
385 | uint32_t idx;
|
---|
386 | uint32_t size;
|
---|
387 | uint32_t flags;
|
---|
388 | struct PNP_HwProfInfo *info;/* [ref] */
|
---|
389 | } in;
|
---|
390 |
|
---|
391 | struct {
|
---|
392 | struct PNP_HwProfInfo *info;/* [ref] */
|
---|
393 | WERROR result;
|
---|
394 | } out;
|
---|
395 |
|
---|
396 | };
|
---|
397 |
|
---|
398 |
|
---|
399 | struct PNP_AddEmptyLogConf {
|
---|
400 | struct {
|
---|
401 | WERROR result;
|
---|
402 | } out;
|
---|
403 |
|
---|
404 | };
|
---|
405 |
|
---|
406 |
|
---|
407 | struct PNP_FreeLogConf {
|
---|
408 | struct {
|
---|
409 | WERROR result;
|
---|
410 | } out;
|
---|
411 |
|
---|
412 | };
|
---|
413 |
|
---|
414 |
|
---|
415 | struct PNP_GetFirstLogConf {
|
---|
416 | struct {
|
---|
417 | WERROR result;
|
---|
418 | } out;
|
---|
419 |
|
---|
420 | };
|
---|
421 |
|
---|
422 |
|
---|
423 | struct PNP_GetNextLogConf {
|
---|
424 | struct {
|
---|
425 | WERROR result;
|
---|
426 | } out;
|
---|
427 |
|
---|
428 | };
|
---|
429 |
|
---|
430 |
|
---|
431 | struct PNP_GetLogConfPriority {
|
---|
432 | struct {
|
---|
433 | WERROR result;
|
---|
434 | } out;
|
---|
435 |
|
---|
436 | };
|
---|
437 |
|
---|
438 |
|
---|
439 | struct PNP_AddResDes {
|
---|
440 | struct {
|
---|
441 | WERROR result;
|
---|
442 | } out;
|
---|
443 |
|
---|
444 | };
|
---|
445 |
|
---|
446 |
|
---|
447 | struct PNP_FreeResDes {
|
---|
448 | struct {
|
---|
449 | WERROR result;
|
---|
450 | } out;
|
---|
451 |
|
---|
452 | };
|
---|
453 |
|
---|
454 |
|
---|
455 | struct PNP_GetNextResDes {
|
---|
456 | struct {
|
---|
457 | WERROR result;
|
---|
458 | } out;
|
---|
459 |
|
---|
460 | };
|
---|
461 |
|
---|
462 |
|
---|
463 | struct PNP_GetResDesData {
|
---|
464 | struct {
|
---|
465 | WERROR result;
|
---|
466 | } out;
|
---|
467 |
|
---|
468 | };
|
---|
469 |
|
---|
470 |
|
---|
471 | struct PNP_GetResDesDataSize {
|
---|
472 | struct {
|
---|
473 | WERROR result;
|
---|
474 | } out;
|
---|
475 |
|
---|
476 | };
|
---|
477 |
|
---|
478 |
|
---|
479 | struct PNP_ModifyResDes {
|
---|
480 | struct {
|
---|
481 | WERROR result;
|
---|
482 | } out;
|
---|
483 |
|
---|
484 | };
|
---|
485 |
|
---|
486 |
|
---|
487 | struct PNP_DetectResourceLimit {
|
---|
488 | struct {
|
---|
489 | WERROR result;
|
---|
490 | } out;
|
---|
491 |
|
---|
492 | };
|
---|
493 |
|
---|
494 |
|
---|
495 | struct PNP_QueryResConfList {
|
---|
496 | struct {
|
---|
497 | WERROR result;
|
---|
498 | } out;
|
---|
499 |
|
---|
500 | };
|
---|
501 |
|
---|
502 |
|
---|
503 | struct PNP_SetHwProf {
|
---|
504 | struct {
|
---|
505 | WERROR result;
|
---|
506 | } out;
|
---|
507 |
|
---|
508 | };
|
---|
509 |
|
---|
510 |
|
---|
511 | struct PNP_QueryArbitratorFreeData {
|
---|
512 | struct {
|
---|
513 | WERROR result;
|
---|
514 | } out;
|
---|
515 |
|
---|
516 | };
|
---|
517 |
|
---|
518 |
|
---|
519 | struct PNP_QueryArbitratorFreeSize {
|
---|
520 | struct {
|
---|
521 | WERROR result;
|
---|
522 | } out;
|
---|
523 |
|
---|
524 | };
|
---|
525 |
|
---|
526 |
|
---|
527 | struct PNP_RunDetection {
|
---|
528 | struct {
|
---|
529 | WERROR result;
|
---|
530 | } out;
|
---|
531 |
|
---|
532 | };
|
---|
533 |
|
---|
534 |
|
---|
535 | struct PNP_RegisterNotification {
|
---|
536 | struct {
|
---|
537 | WERROR result;
|
---|
538 | } out;
|
---|
539 |
|
---|
540 | };
|
---|
541 |
|
---|
542 |
|
---|
543 | struct PNP_UnregisterNotification {
|
---|
544 | struct {
|
---|
545 | WERROR result;
|
---|
546 | } out;
|
---|
547 |
|
---|
548 | };
|
---|
549 |
|
---|
550 |
|
---|
551 | struct PNP_GetCustomDevProp {
|
---|
552 | struct {
|
---|
553 | WERROR result;
|
---|
554 | } out;
|
---|
555 |
|
---|
556 | };
|
---|
557 |
|
---|
558 |
|
---|
559 | struct PNP_GetVersionInternal {
|
---|
560 | struct {
|
---|
561 | WERROR result;
|
---|
562 | } out;
|
---|
563 |
|
---|
564 | };
|
---|
565 |
|
---|
566 |
|
---|
567 | struct PNP_GetBlockedDriverInfo {
|
---|
568 | struct {
|
---|
569 | WERROR result;
|
---|
570 | } out;
|
---|
571 |
|
---|
572 | };
|
---|
573 |
|
---|
574 |
|
---|
575 | struct PNP_GetServerSideDeviceInstallFlags {
|
---|
576 | struct {
|
---|
577 | WERROR result;
|
---|
578 | } out;
|
---|
579 |
|
---|
580 | };
|
---|
581 |
|
---|
582 | #endif /* _HEADER_ntsvcs */
|
---|