1 | /*
|
---|
2 | plug and play services
|
---|
3 | */
|
---|
4 |
|
---|
5 | [
|
---|
6 | uuid("8d9f4e40-a03d-11ce-8f69-08003e30051b"),
|
---|
7 | version(1.0),
|
---|
8 | helpstring("Plug and Play services")
|
---|
9 | ]
|
---|
10 | interface ntsvcs
|
---|
11 | {
|
---|
12 | /******************/
|
---|
13 | /* Function: 0x00 */
|
---|
14 |
|
---|
15 | WERROR PNP_Disconnect();
|
---|
16 |
|
---|
17 | /******************/
|
---|
18 | /* Function: 0x01 */
|
---|
19 |
|
---|
20 | WERROR PNP_Connect();
|
---|
21 |
|
---|
22 | /******************/
|
---|
23 | /* Function: 0x02 */
|
---|
24 |
|
---|
25 | WERROR PNP_GetVersion(
|
---|
26 | [out,ref] uint16 *version
|
---|
27 | );
|
---|
28 |
|
---|
29 | /******************/
|
---|
30 | /* Function: 0x03 */
|
---|
31 |
|
---|
32 | WERROR PNP_GetGlobalState();
|
---|
33 |
|
---|
34 | /******************/
|
---|
35 | /* Function: 0x04 */
|
---|
36 |
|
---|
37 | WERROR PNP_InitDetection();
|
---|
38 |
|
---|
39 | /******************/
|
---|
40 | /* Function: 0x05 */
|
---|
41 |
|
---|
42 | WERROR PNP_ReportLogOn();
|
---|
43 |
|
---|
44 | /******************/
|
---|
45 | /* Function: 0x06 */
|
---|
46 |
|
---|
47 | WERROR PNP_ValidateDeviceInstance(
|
---|
48 | [in,ref] [string,charset(UTF16)] uint16 *devicepath,
|
---|
49 | [in] uint32 flags
|
---|
50 | );
|
---|
51 |
|
---|
52 | /******************/
|
---|
53 | /* Function: 0x07 */
|
---|
54 |
|
---|
55 | WERROR PNP_GetRootDeviceInstance();
|
---|
56 |
|
---|
57 | /******************/
|
---|
58 | /* Function: 0x08 */
|
---|
59 |
|
---|
60 | WERROR PNP_GetRelatedDeviceInstance();
|
---|
61 |
|
---|
62 | /******************/
|
---|
63 | /* Function: 0x09 */
|
---|
64 |
|
---|
65 | WERROR PNP_EnumerateSubKeys();
|
---|
66 |
|
---|
67 | /******************/
|
---|
68 | /* Function: 0x0a */
|
---|
69 |
|
---|
70 | WERROR PNP_GetDeviceList();
|
---|
71 |
|
---|
72 | /******************/
|
---|
73 | /* Function: 0x0b */
|
---|
74 |
|
---|
75 | WERROR PNP_GetDeviceListSize(
|
---|
76 | [in,unique] [string,charset(UTF16)] uint16 *devicename,
|
---|
77 | [out,ref] uint32 *size,
|
---|
78 | [in] uint32 flags
|
---|
79 | );
|
---|
80 |
|
---|
81 | /******************/
|
---|
82 | /* Function: 0x0c */
|
---|
83 |
|
---|
84 | WERROR PNP_GetDepth();
|
---|
85 |
|
---|
86 | /******************/
|
---|
87 | /* Function: 0x0d */
|
---|
88 |
|
---|
89 | WERROR PNP_GetDeviceRegProp();
|
---|
90 |
|
---|
91 | /******************/
|
---|
92 | /* Function: 0x0e */
|
---|
93 |
|
---|
94 | WERROR PNP_SetDeviceRegProp();
|
---|
95 |
|
---|
96 | /******************/
|
---|
97 | /* Function: 0x0f */
|
---|
98 |
|
---|
99 | WERROR PNP_GetClassInstance();
|
---|
100 |
|
---|
101 | /******************/
|
---|
102 | /* Function: 0x10 */
|
---|
103 |
|
---|
104 | WERROR PNP_CreateKey();
|
---|
105 |
|
---|
106 | /******************/
|
---|
107 | /* Function: 0x11 */
|
---|
108 |
|
---|
109 | WERROR PNP_DeleteRegistryKey();
|
---|
110 |
|
---|
111 | /******************/
|
---|
112 | /* Function: 0x12 */
|
---|
113 |
|
---|
114 | WERROR PNP_GetClassCount();
|
---|
115 |
|
---|
116 | /******************/
|
---|
117 | /* Function: 0x13 */
|
---|
118 |
|
---|
119 | WERROR PNP_GetClassName();
|
---|
120 |
|
---|
121 | /******************/
|
---|
122 | /* Function: 0x14 */
|
---|
123 |
|
---|
124 | WERROR PNP_DeleteClassKey();
|
---|
125 |
|
---|
126 | /******************/
|
---|
127 | /* Function: 0x15 */
|
---|
128 |
|
---|
129 | WERROR PNP_GetInterfaceDeviceAlias();
|
---|
130 |
|
---|
131 | /******************/
|
---|
132 | /* Function: 0x16 */
|
---|
133 |
|
---|
134 | WERROR PNP_GetInterfaceDeviceList();
|
---|
135 |
|
---|
136 | /******************/
|
---|
137 | /* Function: 0x17 */
|
---|
138 |
|
---|
139 | WERROR PNP_GetInterfaceDeviceListSize();
|
---|
140 |
|
---|
141 | /******************/
|
---|
142 | /* Function: 0x18 */
|
---|
143 |
|
---|
144 | WERROR PNP_RegisterDeviceClassAssociation();
|
---|
145 |
|
---|
146 | /******************/
|
---|
147 | /* Function: 0x19 */
|
---|
148 |
|
---|
149 | WERROR PNP_UnregisterDeviceClassAssociation();
|
---|
150 |
|
---|
151 | /******************/
|
---|
152 | /* Function: 0x1a */
|
---|
153 |
|
---|
154 | WERROR PNP_GetClassRegProp();
|
---|
155 |
|
---|
156 | /******************/
|
---|
157 | /* Function: 0x1b */
|
---|
158 |
|
---|
159 | WERROR PNP_SetClassRegProp();
|
---|
160 |
|
---|
161 | /******************/
|
---|
162 | /* Function: 0x1c */
|
---|
163 |
|
---|
164 | WERROR PNP_CreateDevInst();
|
---|
165 |
|
---|
166 | /******************/
|
---|
167 | /* Function: 0x1d */
|
---|
168 |
|
---|
169 | WERROR PNP_DeviceInstanceAction();
|
---|
170 |
|
---|
171 | /******************/
|
---|
172 | /* Function: 0x1e */
|
---|
173 |
|
---|
174 | WERROR PNP_GetDeviceStatus();
|
---|
175 |
|
---|
176 | /******************/
|
---|
177 | /* Function: 0x1f */
|
---|
178 |
|
---|
179 | WERROR PNP_SetDeviceProblem();
|
---|
180 |
|
---|
181 | /******************/
|
---|
182 | /* Function: 0x20 */
|
---|
183 |
|
---|
184 | WERROR PNP_DisableDevInst();
|
---|
185 |
|
---|
186 | /******************/
|
---|
187 | /* Function: 0x21 */
|
---|
188 |
|
---|
189 | WERROR PNP_UninstallDevInst();
|
---|
190 |
|
---|
191 | /******************/
|
---|
192 | /* Function: 0x22 */
|
---|
193 |
|
---|
194 | WERROR PNP_AddID();
|
---|
195 |
|
---|
196 | /******************/
|
---|
197 | /* Function: 0x23 */
|
---|
198 |
|
---|
199 | WERROR PNP_RegisterDriver();
|
---|
200 |
|
---|
201 | /******************/
|
---|
202 | /* Function: 0x24 */
|
---|
203 |
|
---|
204 | WERROR PNP_QueryRemove();
|
---|
205 |
|
---|
206 | /******************/
|
---|
207 | /* Function: 0x25 */
|
---|
208 |
|
---|
209 | WERROR PNP_RequestDeviceEject();
|
---|
210 |
|
---|
211 | /******************/
|
---|
212 | /* Function: 0x26 */
|
---|
213 |
|
---|
214 | WERROR PNP_IsDockStationPresent();
|
---|
215 |
|
---|
216 | /******************/
|
---|
217 | /* Function: 0x27 */
|
---|
218 |
|
---|
219 | WERROR PNP_RequestEjectPC();
|
---|
220 |
|
---|
221 | /******************/
|
---|
222 | /* Function: 0x28 */
|
---|
223 |
|
---|
224 | WERROR PNP_HwProfFlags(
|
---|
225 | [in] uint32 unknown1,
|
---|
226 | [in,ref] [string,charset(UTF16)] uint16 *devicepath,
|
---|
227 | [in] uint32 unknown2,
|
---|
228 | [in,out,ref] uint32 *unknown3,
|
---|
229 | [in,out,unique] uint16 *unknown4,
|
---|
230 | [in,unique] [string,charset(UTF16)] uint16 *unknown5,
|
---|
231 | [out,unique] [string,charset(UTF16)] uint16 **unknown5a,
|
---|
232 | [in] uint32 unknown6,
|
---|
233 | [in] uint32 unknown7
|
---|
234 | );
|
---|
235 |
|
---|
236 | /******************/
|
---|
237 | /* Function: 0x29 */
|
---|
238 |
|
---|
239 | typedef struct {
|
---|
240 | uint32 profile_handle;
|
---|
241 | uint16 friendly_name[80];
|
---|
242 | uint32 flags;
|
---|
243 | } PNP_HwProfInfo;
|
---|
244 |
|
---|
245 | WERROR PNP_GetHwProfInfo(
|
---|
246 | [in] uint32 idx,
|
---|
247 | [in,out,ref] PNP_HwProfInfo *info,
|
---|
248 | [in] uint32 size,
|
---|
249 | [in] uint32 flags
|
---|
250 | );
|
---|
251 |
|
---|
252 | /******************/
|
---|
253 | /* Function: 0x2a */
|
---|
254 |
|
---|
255 | WERROR PNP_AddEmptyLogConf();
|
---|
256 |
|
---|
257 | /******************/
|
---|
258 | /* Function: 0x2b */
|
---|
259 |
|
---|
260 | WERROR PNP_FreeLogConf();
|
---|
261 |
|
---|
262 | /******************/
|
---|
263 | /* Function: 0x2c */
|
---|
264 |
|
---|
265 | WERROR PNP_GetFirstLogConf();
|
---|
266 |
|
---|
267 | /******************/
|
---|
268 | /* Function: 0x2d */
|
---|
269 |
|
---|
270 | WERROR PNP_GetNextLogConf();
|
---|
271 |
|
---|
272 | /******************/
|
---|
273 | /* Function: 0x2e */
|
---|
274 |
|
---|
275 | WERROR PNP_GetLogConfPriority();
|
---|
276 |
|
---|
277 | /******************/
|
---|
278 | /* Function: 0x2f */
|
---|
279 |
|
---|
280 | WERROR PNP_AddResDes();
|
---|
281 |
|
---|
282 | /******************/
|
---|
283 | /* Function: 0x30 */
|
---|
284 |
|
---|
285 | WERROR PNP_FreeResDes();
|
---|
286 |
|
---|
287 | /******************/
|
---|
288 | /* Function: 0x31 */
|
---|
289 |
|
---|
290 | WERROR PNP_GetNextResDes();
|
---|
291 |
|
---|
292 | /******************/
|
---|
293 | /* Function: 0x32 */
|
---|
294 |
|
---|
295 | WERROR PNP_GetResDesData();
|
---|
296 |
|
---|
297 | /******************/
|
---|
298 | /* Function: 0x33 */
|
---|
299 |
|
---|
300 | WERROR PNP_GetResDesDataSize();
|
---|
301 |
|
---|
302 | /******************/
|
---|
303 | /* Function: 0x34 */
|
---|
304 |
|
---|
305 | WERROR PNP_ModifyResDes();
|
---|
306 |
|
---|
307 | /******************/
|
---|
308 | /* Function: 0x35 */
|
---|
309 |
|
---|
310 | WERROR PNP_DetectResourceLimit();
|
---|
311 |
|
---|
312 | /******************/
|
---|
313 | /* Function: 0x36 */
|
---|
314 |
|
---|
315 | WERROR PNP_QueryResConfList();
|
---|
316 |
|
---|
317 | /******************/
|
---|
318 | /* Function: 0x37 */
|
---|
319 |
|
---|
320 | WERROR PNP_SetHwProf();
|
---|
321 |
|
---|
322 | /******************/
|
---|
323 | /* Function: 0x38 */
|
---|
324 |
|
---|
325 | WERROR PNP_QueryArbitratorFreeData();
|
---|
326 |
|
---|
327 | /******************/
|
---|
328 | /* Function: 0x39 */
|
---|
329 |
|
---|
330 | WERROR PNP_QueryArbitratorFreeSize();
|
---|
331 |
|
---|
332 | /******************/
|
---|
333 | /* Function: 0x3a */
|
---|
334 |
|
---|
335 | WERROR PNP_RunDetection();
|
---|
336 |
|
---|
337 | /******************/
|
---|
338 | /* Function: 0x3b */
|
---|
339 |
|
---|
340 | WERROR PNP_RegisterNotification();
|
---|
341 |
|
---|
342 | /******************/
|
---|
343 | /* Function: 0x3c */
|
---|
344 |
|
---|
345 | WERROR PNP_UnregisterNotification();
|
---|
346 |
|
---|
347 | /******************/
|
---|
348 | /* Function: 0x3d */
|
---|
349 |
|
---|
350 | WERROR PNP_GetCustomDevProp();
|
---|
351 |
|
---|
352 | /******************/
|
---|
353 | /* Function: 0x3e */
|
---|
354 |
|
---|
355 | WERROR PNP_GetVersionInternal();
|
---|
356 |
|
---|
357 | /******************/
|
---|
358 | /* Function: 0x3f */
|
---|
359 |
|
---|
360 | WERROR PNP_GetBlockedDriverInfo();
|
---|
361 |
|
---|
362 | /******************/
|
---|
363 | /* Function: 0x40 */
|
---|
364 |
|
---|
365 | WERROR PNP_GetServerSideDeviceInstallFlags();
|
---|
366 | }
|
---|