1 | /*
|
---|
2 | * Copyright 2013 Hans Leidekker for CodeWeavers
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "dispex.idl";
|
---|
29 |
|
---|
30 | #ifndef __WIDL__
|
---|
31 | #define threading(model)
|
---|
32 | #define progid(str)
|
---|
33 | #define vi_progid(str)
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | [
|
---|
37 | uuid(565783c6-cb41-11d1-8b02-00600806d9b6),
|
---|
38 | helpstring("Microsoft WMI Scripting V1.2 Library"),
|
---|
39 | lcid(0x0000),
|
---|
40 | version(1.2)
|
---|
41 | ]
|
---|
42 | library WbemScripting
|
---|
43 | {
|
---|
44 |
|
---|
45 | importlib("stdole2.tlb");
|
---|
46 |
|
---|
47 | interface ISWbemEventSource;
|
---|
48 | interface ISWbemLocator;
|
---|
49 | interface ISWbemMethod;
|
---|
50 | interface ISWbemMethodSet;
|
---|
51 | interface ISWbemNamedValue;
|
---|
52 | interface ISWbemNamedValueSet;
|
---|
53 | interface ISWbemObject;
|
---|
54 | interface ISWbemObjectPath;
|
---|
55 | interface ISWbemObjectSet;
|
---|
56 | interface ISWbemPrivilege;
|
---|
57 | interface ISWbemPrivilegeSet;
|
---|
58 | interface ISWbemProperty;
|
---|
59 | interface ISWbemPropertySet;
|
---|
60 | interface ISWbemQualifier;
|
---|
61 | interface ISWbemQualifierSet;
|
---|
62 | interface ISWbemSecurity;
|
---|
63 | interface ISWbemServices;
|
---|
64 |
|
---|
65 | [
|
---|
66 | object,
|
---|
67 | local,
|
---|
68 | uuid(27d54d92-0ebe-11d2-8b22-00600806d9b6),
|
---|
69 | dual,
|
---|
70 | hidden,
|
---|
71 | oleautomation,
|
---|
72 | nonextensible
|
---|
73 | ]
|
---|
74 | interface ISWbemEventSource : IDispatch
|
---|
75 | {
|
---|
76 | [ id(1) ]
|
---|
77 | HRESULT NextEvent(
|
---|
78 | [in] long iTimeoutMs,
|
---|
79 | [out, retval] ISWbemObject **objWbemObject);
|
---|
80 |
|
---|
81 | [ id(2), propget ]
|
---|
82 | HRESULT Security_(
|
---|
83 | [out, retval] ISWbemSecurity **objWbemSecurity);
|
---|
84 | };
|
---|
85 |
|
---|
86 | [
|
---|
87 | object,
|
---|
88 | local,
|
---|
89 | uuid(76a6415b-cb41-11d1-8b02-00600806d9b6),
|
---|
90 | dual,
|
---|
91 | hidden,
|
---|
92 | oleautomation,
|
---|
93 | pointer_default(unique)
|
---|
94 | ]
|
---|
95 | interface ISWbemLocator : IDispatch
|
---|
96 | {
|
---|
97 | [ id(1) ]
|
---|
98 | HRESULT ConnectServer(
|
---|
99 | [in] BSTR strServer,
|
---|
100 | [in] BSTR strNamespace,
|
---|
101 | [in] BSTR strUser,
|
---|
102 | [in] BSTR strPassword,
|
---|
103 | [in] BSTR strLocale,
|
---|
104 | [in] BSTR strAuthority,
|
---|
105 | [in] long iSecurityFlags,
|
---|
106 | [in] IDispatch *objWbemNamedValueSet,
|
---|
107 | [out, retval] ISWbemServices **objWbemServices);
|
---|
108 |
|
---|
109 | [ id(2), propget ]
|
---|
110 | HRESULT Security_(
|
---|
111 | ISWbemSecurity **objWbemSecurity);
|
---|
112 | };
|
---|
113 |
|
---|
114 | [
|
---|
115 | object,
|
---|
116 | local,
|
---|
117 | uuid(422e8e90-d955-11d1-8b09-00600806d9b6),
|
---|
118 | dual,
|
---|
119 | hidden,
|
---|
120 | oleautomation,
|
---|
121 | pointer_default(unique),
|
---|
122 | nonextensible
|
---|
123 | ]
|
---|
124 | interface ISWbemMethod : IDispatch
|
---|
125 | {
|
---|
126 | [ id(1), propget ]
|
---|
127 | HRESULT Name(
|
---|
128 | [out, retval] BSTR *strName);
|
---|
129 |
|
---|
130 | [ id(2), propget ]
|
---|
131 | HRESULT Origin(
|
---|
132 | [out, retval] BSTR *strOrigin);
|
---|
133 |
|
---|
134 | [ id(3), propget ]
|
---|
135 | HRESULT InParameters(
|
---|
136 | [out, retval] ISWbemObject **objWbemInParameters);
|
---|
137 |
|
---|
138 | [ id(4), propget ]
|
---|
139 | HRESULT OutParameters(
|
---|
140 | [out, retval] ISWbemObject **objWbemOutParameters);
|
---|
141 |
|
---|
142 | [ id(5), propget ]
|
---|
143 | HRESULT Qualifiers_(
|
---|
144 | [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
---|
145 | };
|
---|
146 |
|
---|
147 | [
|
---|
148 | object,
|
---|
149 | local,
|
---|
150 | uuid(c93ba292-d955-11d1-8b09-00600806d9b6),
|
---|
151 | dual,
|
---|
152 | hidden,
|
---|
153 | oleautomation,
|
---|
154 | nonextensible
|
---|
155 | ]
|
---|
156 | interface ISWbemMethodSet : IDispatch
|
---|
157 | {
|
---|
158 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
159 | HRESULT _NewEnum(
|
---|
160 | [out, retval] IUnknown **pUnk);
|
---|
161 |
|
---|
162 | [ id(DISPID_VALUE) ]
|
---|
163 | HRESULT Item(
|
---|
164 | [in] BSTR strName,
|
---|
165 | [in] long iFlags,
|
---|
166 | [out, retval] ISWbemMethod **objWbemMethod);
|
---|
167 |
|
---|
168 | [ id(1), propget ]
|
---|
169 | HRESULT Count(
|
---|
170 | [out, retval] long *iCount);
|
---|
171 | };
|
---|
172 |
|
---|
173 | [
|
---|
174 | object,
|
---|
175 | local,
|
---|
176 | uuid(76a64164-cb41-11d1-8b02-00600806d9b6),
|
---|
177 | dual,
|
---|
178 | hidden,
|
---|
179 | oleautomation
|
---|
180 | ]
|
---|
181 | interface ISWbemNamedValue : IDispatch
|
---|
182 | {
|
---|
183 | [ id(DISPID_VALUE), propget ]
|
---|
184 | HRESULT Value(
|
---|
185 | [out, retval] VARIANT *varValue);
|
---|
186 |
|
---|
187 | [ id(DISPID_VALUE), propput ]
|
---|
188 | HRESULT Value(
|
---|
189 | [in] VARIANT *varValue);
|
---|
190 |
|
---|
191 | [ id(2), propget ]
|
---|
192 | HRESULT Name(
|
---|
193 | [out, retval] BSTR *strName);
|
---|
194 | };
|
---|
195 |
|
---|
196 | [
|
---|
197 | object,
|
---|
198 | local,
|
---|
199 | uuid(cf2376ea-ce8c-11d1-8b05-00600806d9b6),
|
---|
200 | dual,
|
---|
201 | hidden,
|
---|
202 | oleautomation
|
---|
203 | ]
|
---|
204 | interface ISWbemNamedValueSet : IDispatch
|
---|
205 | {
|
---|
206 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
207 | HRESULT _NewEnum(
|
---|
208 | [out, retval] IUnknown **pUnk);
|
---|
209 |
|
---|
210 | [ id(DISPID_VALUE) ]
|
---|
211 | HRESULT Item(
|
---|
212 | [in] BSTR strName,
|
---|
213 | [in] long iFlags,
|
---|
214 | [out, retval] ISWbemNamedValue **objWbemNamedValue);
|
---|
215 |
|
---|
216 | [ id(1), propget ]
|
---|
217 | HRESULT Count(
|
---|
218 | [out, retval] long *iCount);
|
---|
219 |
|
---|
220 | [ id(2) ]
|
---|
221 | HRESULT Add(
|
---|
222 | [in] BSTR strName,
|
---|
223 | [in] VARIANT *varValue,
|
---|
224 | [in] long iFlags,
|
---|
225 | [out, retval] ISWbemNamedValue **objWbemNamedValue);
|
---|
226 |
|
---|
227 | [ id(3) ]
|
---|
228 | HRESULT Remove(
|
---|
229 | [in] BSTR strName,
|
---|
230 | [in] long iFlags);
|
---|
231 |
|
---|
232 | [ id(4) ]
|
---|
233 | HRESULT Clone(
|
---|
234 | [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
|
---|
235 |
|
---|
236 | [ id(5) ]
|
---|
237 | HRESULT DeleteAll();
|
---|
238 | };
|
---|
239 |
|
---|
240 | [
|
---|
241 | object,
|
---|
242 | local,
|
---|
243 | uuid(76A6415A-CB41-11d1-8B02-00600806D9B6),
|
---|
244 | dual,
|
---|
245 | hidden,
|
---|
246 | oleautomation
|
---|
247 | ]
|
---|
248 | interface ISWbemObject : IDispatch
|
---|
249 | {
|
---|
250 | [ id(1) ]
|
---|
251 | HRESULT Put_(
|
---|
252 | [in] long iFlags,
|
---|
253 | [in] IDispatch *objWbemNamedValueSet,
|
---|
254 | [out, retval] ISWbemObjectPath **objWbemObjectPath);
|
---|
255 |
|
---|
256 | [ id(2) ]
|
---|
257 | HRESULT PutAsync_(
|
---|
258 | [in] IDispatch *objWbemSink,
|
---|
259 | [in] long iFlags,
|
---|
260 | [in] IDispatch *objWbemNamedValueSet,
|
---|
261 | [in] IDispatch *objWbemAsyncContext);
|
---|
262 |
|
---|
263 | [ id (3) ]
|
---|
264 | HRESULT Delete_(
|
---|
265 | [in] long iFlags,
|
---|
266 | [in] IDispatch *objWbemNamedValueSet);
|
---|
267 |
|
---|
268 | [ id (4) ]
|
---|
269 | HRESULT DeleteAsync_(
|
---|
270 | [in] IDispatch *objWbemSink,
|
---|
271 | [in] long iFlags,
|
---|
272 | [in] IDispatch *objWbemNamedValueSet,
|
---|
273 | [in] IDispatch *objWbemAsyncContext);
|
---|
274 |
|
---|
275 | [ id(5) ]
|
---|
276 | HRESULT Instances_(
|
---|
277 | [in] long iFlags,
|
---|
278 | [in] IDispatch *objWbemNamedValueSet,
|
---|
279 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
280 |
|
---|
281 | [ id(6) ]
|
---|
282 | HRESULT InstancesAsync_(
|
---|
283 | [in] IDispatch *objWbemSink,
|
---|
284 | [in] long iFlags,
|
---|
285 | [in] IDispatch *objWbemNamedValueSet,
|
---|
286 | [in] IDispatch *objWbemAsyncContext);
|
---|
287 |
|
---|
288 | [ id(7) ]
|
---|
289 | HRESULT Subclasses_(
|
---|
290 | [in] long iFlags,
|
---|
291 | [in] IDispatch *objWbemNamedValueSet,
|
---|
292 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
293 |
|
---|
294 | [ id(8) ]
|
---|
295 | HRESULT SubclassesAsync_(
|
---|
296 | [in] IDispatch *objWbemSink,
|
---|
297 | [in] long iFlags,
|
---|
298 | [in] IDispatch *objWbemNamedValueSet,
|
---|
299 | [in] IDispatch *objWbemAsyncContext);
|
---|
300 |
|
---|
301 | [ id(9) ]
|
---|
302 | HRESULT Associators_(
|
---|
303 | [in] BSTR strAssocClass,
|
---|
304 | [in] BSTR strResultClass,
|
---|
305 | [in] BSTR strResultRole,
|
---|
306 | [in] BSTR strRole,
|
---|
307 | [in] VARIANT_BOOL bClassesOnly,
|
---|
308 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
309 | [in] BSTR strRequiredAssocQualifier,
|
---|
310 | [in] BSTR strRequiredQualifier,
|
---|
311 | [in] long iFlags,
|
---|
312 | [in] IDispatch *objWbemNamedValueSet,
|
---|
313 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
314 |
|
---|
315 | [ id(10) ]
|
---|
316 | HRESULT AssociatorsAsync_(
|
---|
317 | [in] IDispatch *objWbemSink,
|
---|
318 | [in] BSTR strAssocClass,
|
---|
319 | [in] BSTR strResultClass,
|
---|
320 | [in] BSTR strResultRole,
|
---|
321 | [in] BSTR strRole,
|
---|
322 | [in] VARIANT_BOOL bClassesOnly,
|
---|
323 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
324 | [in] BSTR strRequiredAssocQualifier,
|
---|
325 | [in] BSTR strRequiredQualifier,
|
---|
326 | [in] long iFlags,
|
---|
327 | [in] IDispatch *objWbemNamedValueSet,
|
---|
328 | [in] IDispatch *objWbemAsyncContext);
|
---|
329 |
|
---|
330 | [ id(11) ]
|
---|
331 | HRESULT References_(
|
---|
332 | [in] BSTR strResultClass,
|
---|
333 | [in] BSTR strRole,
|
---|
334 | [in] VARIANT_BOOL bClassesOnly,
|
---|
335 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
336 | [in] BSTR strRequiredQualifier,
|
---|
337 | [in] long iFlags,
|
---|
338 | [in] IDispatch *objWbemNamedValueSet,
|
---|
339 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
340 |
|
---|
341 | [ id(12) ]
|
---|
342 | HRESULT ReferencesAsync_(
|
---|
343 | [in] IDispatch *objWbemSink,
|
---|
344 | [in] BSTR strResultClass,
|
---|
345 | [in] BSTR strRole,
|
---|
346 | [in] VARIANT_BOOL bClassesOnly,
|
---|
347 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
348 | [in] BSTR strRequiredQualifier,
|
---|
349 | [in] long iFlags,
|
---|
350 | [in] IDispatch *objWbemNamedValueSet,
|
---|
351 | [in] IDispatch *objWbemAsyncContext);
|
---|
352 |
|
---|
353 | [ id(13) ]
|
---|
354 | HRESULT ExecMethod_(
|
---|
355 | [in] BSTR strMethodName,
|
---|
356 | [in] IDispatch *objWbemInParameters,
|
---|
357 | [in] long iFlags,
|
---|
358 | [in] IDispatch *objWbemNamedValueSet,
|
---|
359 | [out, retval] ISWbemObject **objWbemOutParameters);
|
---|
360 |
|
---|
361 | [ id(14) ]
|
---|
362 | HRESULT ExecMethodAsync_(
|
---|
363 | [in] IDispatch *objWbemSink,
|
---|
364 | [in] BSTR strMethodName,
|
---|
365 | [in] IDispatch *objWbemInParameters,
|
---|
366 | [in] long iFlags,
|
---|
367 | [in] IDispatch *objWbemNamedValueSet,
|
---|
368 | [in] IDispatch *objWbemAsyncContext);
|
---|
369 |
|
---|
370 | [ id(15) ]
|
---|
371 | HRESULT Clone_(
|
---|
372 | [out, retval] ISWbemObject **objWbemObject);
|
---|
373 |
|
---|
374 | [ id(16) ]
|
---|
375 | HRESULT GetObjectText_(
|
---|
376 | [in] long iFlags,
|
---|
377 | [out, retval] BSTR *strObjectText);
|
---|
378 |
|
---|
379 | [ id(17) ]
|
---|
380 | HRESULT SpawnDerivedClass_(
|
---|
381 | [in] long iFlags,
|
---|
382 | [out, retval] ISWbemObject **objWbemObject);
|
---|
383 |
|
---|
384 | [ id(18) ]
|
---|
385 | HRESULT SpawnInstance_(
|
---|
386 | [in] long iFlags,
|
---|
387 | [out, retval] ISWbemObject **objWbemObject);
|
---|
388 |
|
---|
389 | [ id(19) ]
|
---|
390 | HRESULT CompareTo_(
|
---|
391 | [in] IDispatch *objWbemObject,
|
---|
392 | [in] long iFlags,
|
---|
393 | [out, retval] VARIANT_BOOL *bResult);
|
---|
394 |
|
---|
395 | [ id(20), propget ]
|
---|
396 | HRESULT Qualifiers_(
|
---|
397 | [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
---|
398 |
|
---|
399 | [ id(21), propget ]
|
---|
400 | HRESULT Properties_(
|
---|
401 | [out, retval] ISWbemPropertySet **objWbemPropertySet);
|
---|
402 |
|
---|
403 | [ id(22), propget ]
|
---|
404 | HRESULT Methods_(
|
---|
405 | [out, retval] ISWbemMethodSet **objWbemMethodSet);
|
---|
406 |
|
---|
407 | [ id(23), propget ]
|
---|
408 | HRESULT Derivation_(
|
---|
409 | [out, retval] VARIANT *strClassNameArray);
|
---|
410 |
|
---|
411 | [ id(24), propget ]
|
---|
412 | HRESULT Path_(
|
---|
413 | [out, retval] ISWbemObjectPath **objWbemObjectPath);
|
---|
414 |
|
---|
415 | [ id(25), propget ]
|
---|
416 | HRESULT Security_(
|
---|
417 | [out, retval] ISWbemSecurity **objWbemSecurity);
|
---|
418 | };
|
---|
419 |
|
---|
420 | [
|
---|
421 | object,
|
---|
422 | local,
|
---|
423 | uuid(5791bc27-ce9c-11d1-97bf-0000f81e849c),
|
---|
424 | dual,
|
---|
425 | hidden,
|
---|
426 | oleautomation,
|
---|
427 | pointer_default(unique)
|
---|
428 | ]
|
---|
429 | interface ISWbemObjectPath : IDispatch
|
---|
430 | {
|
---|
431 | [ id(DISPID_VALUE), propget ]
|
---|
432 | HRESULT Path(
|
---|
433 | [out, retval] BSTR *strPath);
|
---|
434 |
|
---|
435 | [ id(DISPID_VALUE), propput ]
|
---|
436 | HRESULT Path(
|
---|
437 | [in] BSTR strPath);
|
---|
438 |
|
---|
439 | [ id(1), propget ]
|
---|
440 | HRESULT RelPath(
|
---|
441 | [out, retval] BSTR *strRelPath);
|
---|
442 |
|
---|
443 | [ id(1), propput ]
|
---|
444 | HRESULT RelPath(
|
---|
445 | [in] BSTR strRelPath);
|
---|
446 |
|
---|
447 | [ id(2), propget ]
|
---|
448 | HRESULT Server(
|
---|
449 | [out, retval] BSTR *strServer);
|
---|
450 |
|
---|
451 | [ id(2), propput ]
|
---|
452 | HRESULT Server(
|
---|
453 | [in] BSTR strServer);
|
---|
454 |
|
---|
455 | [ id(3), propget ]
|
---|
456 | HRESULT Namespace(
|
---|
457 | [out, retval] BSTR *strNamespace);
|
---|
458 |
|
---|
459 | [ id(3), propput ]
|
---|
460 | HRESULT Namespace(
|
---|
461 | [in] BSTR strNamespace);
|
---|
462 |
|
---|
463 | [ id(4), propget ]
|
---|
464 | HRESULT ParentNamespace(
|
---|
465 | [out, retval] BSTR *strParentNamespace);
|
---|
466 |
|
---|
467 | [ id(5), propget ]
|
---|
468 | HRESULT DisplayName(
|
---|
469 | [out, retval] BSTR *strDisplayName);
|
---|
470 |
|
---|
471 | [ id(5), propput ]
|
---|
472 | HRESULT DisplayName(
|
---|
473 | [in] BSTR strDisplayName);
|
---|
474 |
|
---|
475 | [ id(6), propget ]
|
---|
476 | HRESULT Class(
|
---|
477 | [out, retval] BSTR *strClass);
|
---|
478 |
|
---|
479 | [ id(6), propput ]
|
---|
480 | HRESULT Class(
|
---|
481 | [in] BSTR strClass);
|
---|
482 |
|
---|
483 | [ id(7), propget ]
|
---|
484 | HRESULT IsClass(
|
---|
485 | [out, retval] VARIANT_BOOL *bIsClass);
|
---|
486 |
|
---|
487 | [ id(8) ]
|
---|
488 | HRESULT SetAsClass();
|
---|
489 |
|
---|
490 | [ id(9), propget ]
|
---|
491 | HRESULT IsSingleton(
|
---|
492 | [out, retval] VARIANT_BOOL *bIsSingleton);
|
---|
493 |
|
---|
494 | [ id(10) ]
|
---|
495 | HRESULT SetAsSingleton();
|
---|
496 |
|
---|
497 | [ id(11), propget ]
|
---|
498 | HRESULT Keys(
|
---|
499 | [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
|
---|
500 |
|
---|
501 | [ id(12), propget ]
|
---|
502 | HRESULT Security_(
|
---|
503 | [out, retval] ISWbemSecurity **objWbemSecurity);
|
---|
504 |
|
---|
505 | [ id(13), propget ]
|
---|
506 | HRESULT Locale(
|
---|
507 | [out, retval] BSTR *strLocale);
|
---|
508 |
|
---|
509 | [ id(13), propput ]
|
---|
510 | HRESULT Locale(
|
---|
511 | [in] BSTR strLocale);
|
---|
512 |
|
---|
513 | [ id(14), propget ]
|
---|
514 | HRESULT Authority(
|
---|
515 | [out, retval] BSTR *strAuthority);
|
---|
516 |
|
---|
517 | [ id(14), propput ]
|
---|
518 | HRESULT Authority(
|
---|
519 | [in] BSTR strAuthority);
|
---|
520 | };
|
---|
521 |
|
---|
522 | [
|
---|
523 | object,
|
---|
524 | local,
|
---|
525 | uuid(76a6415f-cb41-11d1-8b02-00600806d9b6),
|
---|
526 | dual,
|
---|
527 | hidden,
|
---|
528 | oleautomation,
|
---|
529 | nonextensible
|
---|
530 | ]
|
---|
531 | interface ISWbemObjectSet : IDispatch
|
---|
532 | {
|
---|
533 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
534 | HRESULT _NewEnum(
|
---|
535 | [out, retval] IUnknown **pUnk);
|
---|
536 |
|
---|
537 | [ id(DISPID_VALUE) ]
|
---|
538 | HRESULT Item(
|
---|
539 | [in] BSTR strObjectPath,
|
---|
540 | [in] long iFlags,
|
---|
541 | [out, retval] ISWbemObject **objWbemObject);
|
---|
542 |
|
---|
543 | [ id(1), propget ]
|
---|
544 | HRESULT Count(
|
---|
545 | [out, retval] long *iCount);
|
---|
546 |
|
---|
547 | [ id(4), propget ]
|
---|
548 | HRESULT Security_(
|
---|
549 | [out, retval] ISWbemSecurity **objWbemSecurity);
|
---|
550 |
|
---|
551 | [ id(5) ]
|
---|
552 | HRESULT ItemIndex(
|
---|
553 | [in] long lIndex,
|
---|
554 | [out, retval] ISWbemObject **objWbemObject);
|
---|
555 | };
|
---|
556 |
|
---|
557 | typedef
|
---|
558 | [
|
---|
559 | v1_enum,
|
---|
560 | uuid(176d2f70-5af3-11d2-8b4a-00600806d9b6)
|
---|
561 | ]
|
---|
562 | enum WbemPrivilegeEnum
|
---|
563 | {
|
---|
564 | wbemPrivilegeCreateToken = 1,
|
---|
565 | wbemPrivilegePrimaryToken = 2,
|
---|
566 | wbemPrivilegeLockMemory = 3,
|
---|
567 | wbemPrivilegeIncreaseQuota = 4,
|
---|
568 | wbemPrivilegeMachineAccount = 5,
|
---|
569 | wbemPrivilegeTcb = 6,
|
---|
570 | wbemPrivilegeSecurity = 7,
|
---|
571 | wbemPrivilegeTakeOwnership = 8,
|
---|
572 | wbemPrivilegeLoadDriver = 9,
|
---|
573 | wbemPrivilegeSystemProfile = 10,
|
---|
574 | wbemPrivilegeSystemtime = 11,
|
---|
575 | wbemPrivilegeProfileSingleProcess = 12,
|
---|
576 | wbemPrivilegeIncreaseBasePriority = 13,
|
---|
577 | wbemPrivilegeCreatePagefile = 14,
|
---|
578 | wbemPrivilegeCreatePermanent = 15,
|
---|
579 | wbemPrivilegeBackup = 16,
|
---|
580 | wbemPrivilegeRestore = 17,
|
---|
581 | wbemPrivilegeShutdown = 18,
|
---|
582 | wbemPrivilegeDebug = 19,
|
---|
583 | wbemPrivilegeAudit = 20,
|
---|
584 | wbemPrivilegeSystemEnvironment = 21,
|
---|
585 | wbemPrivilegeChangeNotify = 22,
|
---|
586 | wbemPrivilegeRemoteShutdown = 23,
|
---|
587 | wbemPrivilegeUndock = 24,
|
---|
588 | wbemPrivilegeSyncAgent = 25,
|
---|
589 | wbemPrivilegeEnableDelegation = 26,
|
---|
590 | wbemPrivilegeManageVolume = 27
|
---|
591 | } WbemPrivilegeEnum;
|
---|
592 |
|
---|
593 | [
|
---|
594 | object,
|
---|
595 | local,
|
---|
596 | uuid(26ee67bd-5804-11d2-8b4a-00600806d9b6),
|
---|
597 | dual,
|
---|
598 | hidden,
|
---|
599 | oleautomation,
|
---|
600 | nonextensible
|
---|
601 | ]
|
---|
602 | interface ISWbemPrivilege : IDispatch
|
---|
603 | {
|
---|
604 | [ id(DISPID_VALUE), propget ]
|
---|
605 | HRESULT IsEnabled(
|
---|
606 | [out, retval] VARIANT_BOOL *bIsEnabled);
|
---|
607 |
|
---|
608 | [ id(DISPID_VALUE), propput ]
|
---|
609 | HRESULT IsEnabled(
|
---|
610 | [in] VARIANT_BOOL bIsEnabled);
|
---|
611 |
|
---|
612 | [ id(1), propget ]
|
---|
613 | HRESULT Name(
|
---|
614 | [out, retval] BSTR *strDisplayName);
|
---|
615 |
|
---|
616 | [ id(2), propget ]
|
---|
617 | HRESULT DisplayName(
|
---|
618 | [out, retval] BSTR *strDisplayName);
|
---|
619 |
|
---|
620 | [ id(3), propget ]
|
---|
621 | HRESULT Identifier(
|
---|
622 | [out, retval] WbemPrivilegeEnum *iPrivilege);
|
---|
623 | };
|
---|
624 |
|
---|
625 | [
|
---|
626 | object,
|
---|
627 | local,
|
---|
628 | uuid(26ee67bf-5804-11d2-8b4a-00600806d9b6),
|
---|
629 | dual,
|
---|
630 | hidden,
|
---|
631 | oleautomation,
|
---|
632 | nonextensible
|
---|
633 | ]
|
---|
634 | interface ISWbemPrivilegeSet : IDispatch
|
---|
635 | {
|
---|
636 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
637 | HRESULT _NewEnum(
|
---|
638 | [out, retval] IUnknown **pUnk);
|
---|
639 |
|
---|
640 | [ id(DISPID_VALUE) ]
|
---|
641 | HRESULT Item(
|
---|
642 | [in] WbemPrivilegeEnum iPrivilege,
|
---|
643 | [out, retval] ISWbemPrivilege **objWbemPrivilege);
|
---|
644 |
|
---|
645 | [ id(1), propget ]
|
---|
646 | HRESULT Count(
|
---|
647 | [out, retval] long *iCount);
|
---|
648 |
|
---|
649 | [ id(2) ]
|
---|
650 | HRESULT Add(
|
---|
651 | [in] WbemPrivilegeEnum iPrivilege,
|
---|
652 | [in] VARIANT_BOOL bIsEnabled,
|
---|
653 | [out, retval] ISWbemPrivilege **objWbemPrivilege);
|
---|
654 |
|
---|
655 | [ id(3) ]
|
---|
656 | HRESULT Remove(
|
---|
657 | [in] WbemPrivilegeEnum iPrivilege);
|
---|
658 |
|
---|
659 | [ id(4) ]
|
---|
660 | HRESULT DeleteAll();
|
---|
661 |
|
---|
662 | [ id(5) ]
|
---|
663 | HRESULT AddAsString(
|
---|
664 | [in] BSTR strPrivilege,
|
---|
665 | [in] VARIANT_BOOL bIsEnabled,
|
---|
666 | [out, retval] ISWbemPrivilege **objWbemPrivilege);
|
---|
667 | };
|
---|
668 |
|
---|
669 | typedef
|
---|
670 | [
|
---|
671 | v1_enum,
|
---|
672 | uuid(4a249b7b-fc9a-11d1-8b1e-00600806d9b6),
|
---|
673 | ]
|
---|
674 | enum WbemCimtypeEnum
|
---|
675 | {
|
---|
676 | wbemCimtypeSint16 = 2,
|
---|
677 | wbemCimtypeSint32 = 3,
|
---|
678 | wbemCimtypeReal32 = 4,
|
---|
679 | wbemCimtypeReal64 = 5,
|
---|
680 | wbemCimtypeString = 8,
|
---|
681 | wbemCimtypeBoolean = 11,
|
---|
682 | wbemCimtypeObject = 13,
|
---|
683 | wbemCimtypeSint8 = 16,
|
---|
684 | wbemCimtypeUint8 = 17,
|
---|
685 | wbemCimtypeUint16 = 18,
|
---|
686 | wbemCimtypeUint32 = 19,
|
---|
687 | wbemCimtypeSint64 = 20,
|
---|
688 | wbemCimtypeUint64 = 21,
|
---|
689 | wbemCimtypeDatetime = 101,
|
---|
690 | wbemCimtypeReference = 102,
|
---|
691 | wbemCimtypeChar16 = 103
|
---|
692 | } WbemCimtypeEnum;
|
---|
693 |
|
---|
694 | [
|
---|
695 | object,
|
---|
696 | local,
|
---|
697 | uuid(1a388f98-d4ba-11d1-8b09-00600806d9b6),
|
---|
698 | dual,
|
---|
699 | hidden,
|
---|
700 | oleautomation,
|
---|
701 | pointer_default(unique)
|
---|
702 | ]
|
---|
703 | interface ISWbemProperty : IDispatch
|
---|
704 | {
|
---|
705 | [ id(DISPID_VALUE), propget ]
|
---|
706 | HRESULT Value(
|
---|
707 | [out, retval] VARIANT *varValue);
|
---|
708 |
|
---|
709 | [ id(DISPID_VALUE), propput ]
|
---|
710 | HRESULT Value(
|
---|
711 | [in] VARIANT *varValue);
|
---|
712 |
|
---|
713 | [ id(1), propget ]
|
---|
714 | HRESULT Name(
|
---|
715 | [out, retval] BSTR *strName);
|
---|
716 |
|
---|
717 | [ id(2), propget ]
|
---|
718 | HRESULT IsLocal(
|
---|
719 | [out, retval] VARIANT_BOOL *bIsLocal);
|
---|
720 |
|
---|
721 | [ id(3), propget ]
|
---|
722 | HRESULT Origin(
|
---|
723 | [out, retval] BSTR *strOrigin);
|
---|
724 |
|
---|
725 | [ id(4), propget ]
|
---|
726 | HRESULT CIMType(
|
---|
727 | [out, retval] WbemCimtypeEnum *iCimType);
|
---|
728 |
|
---|
729 | [ id(5), propget ]
|
---|
730 | HRESULT Qualifiers_(
|
---|
731 | [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
|
---|
732 |
|
---|
733 | [ id(6), propget ]
|
---|
734 | HRESULT IsArray(
|
---|
735 | [out, retval] VARIANT_BOOL *bIsArray);
|
---|
736 | };
|
---|
737 |
|
---|
738 | [
|
---|
739 | object,
|
---|
740 | local,
|
---|
741 | uuid(dea0a7b2-d4ba-11d1-8b09-00600806d9b6),
|
---|
742 | dual,
|
---|
743 | hidden,
|
---|
744 | oleautomation
|
---|
745 | ]
|
---|
746 | interface ISWbemPropertySet : IDispatch
|
---|
747 | {
|
---|
748 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
749 | HRESULT _NewEnum(
|
---|
750 | [out, retval] IUnknown **pUnk);
|
---|
751 |
|
---|
752 | [ id(DISPID_VALUE) ]
|
---|
753 | HRESULT Item(
|
---|
754 | [in] BSTR strName,
|
---|
755 | [in] long iFlags,
|
---|
756 | [out, retval] ISWbemProperty **objWbemProperty);
|
---|
757 |
|
---|
758 | [ id(1), propget ]
|
---|
759 | HRESULT Count(
|
---|
760 | [out, retval] long *iCount);
|
---|
761 |
|
---|
762 | [ id(2) ]
|
---|
763 | HRESULT Add(
|
---|
764 | [in] BSTR strName,
|
---|
765 | [in] WbemCimtypeEnum iCIMType,
|
---|
766 | [in] VARIANT_BOOL bIsArray,
|
---|
767 | [in] long iFlags,
|
---|
768 | [out, retval] ISWbemProperty **objWbemProperty);
|
---|
769 |
|
---|
770 | [ id(3) ]
|
---|
771 | HRESULT Remove(
|
---|
772 | [in] BSTR strName,
|
---|
773 | [in] long iFlags);
|
---|
774 | };
|
---|
775 |
|
---|
776 | [
|
---|
777 | object,
|
---|
778 | local,
|
---|
779 | uuid(79b05932-d3b7-11d1-8b06-00600806d9b6),
|
---|
780 | dual,
|
---|
781 | hidden,
|
---|
782 | oleautomation,
|
---|
783 | nonextensible,
|
---|
784 | pointer_default(unique)
|
---|
785 | ]
|
---|
786 | interface ISWbemQualifier : IDispatch
|
---|
787 | {
|
---|
788 | [ id(DISPID_VALUE), propget ]
|
---|
789 | HRESULT Value(
|
---|
790 | [out, retval] VARIANT *varValue);
|
---|
791 |
|
---|
792 | [ id(DISPID_VALUE), propput ]
|
---|
793 | HRESULT Value(
|
---|
794 | [in] VARIANT *varValue);
|
---|
795 |
|
---|
796 | [ id(1), propget ]
|
---|
797 | HRESULT Name(
|
---|
798 | [out, retval] BSTR *strName);
|
---|
799 |
|
---|
800 | [ id(2), propget ]
|
---|
801 | HRESULT IsLocal(
|
---|
802 | [out, retval] VARIANT_BOOL *bIsLocal);
|
---|
803 |
|
---|
804 | [ id(3), propget ]
|
---|
805 | HRESULT PropagatesToSubclass(
|
---|
806 | [out, retval] VARIANT_BOOL *bPropagatesToSubclass);
|
---|
807 |
|
---|
808 | [ id(3), propput ]
|
---|
809 | HRESULT PropagatesToSubclass(
|
---|
810 | [in] VARIANT_BOOL bPropagatesToSubclass);
|
---|
811 |
|
---|
812 | [ id(4), propget ]
|
---|
813 | HRESULT PropagatesToInstance(
|
---|
814 | [out, retval] VARIANT_BOOL *bPropagatesToInstance);
|
---|
815 |
|
---|
816 | [ id(4), propput ]
|
---|
817 | HRESULT PropagatesToInstance(
|
---|
818 | [in] VARIANT_BOOL bPropagatesToInstance);
|
---|
819 |
|
---|
820 | [ id(5), propget ]
|
---|
821 | HRESULT IsOverridable(
|
---|
822 | [out, retval] VARIANT_BOOL *bIsOverridable);
|
---|
823 |
|
---|
824 | [ id(5), propput ]
|
---|
825 | HRESULT IsOverridable(
|
---|
826 | [in] VARIANT_BOOL bIsOverridable);
|
---|
827 |
|
---|
828 | [ id(6), propget ]
|
---|
829 | HRESULT IsAmended(
|
---|
830 | [out, retval] VARIANT_BOOL *bIsAmended);
|
---|
831 | };
|
---|
832 |
|
---|
833 | [
|
---|
834 | object,
|
---|
835 | local,
|
---|
836 | uuid(9b16ed16-d3df-11d1-8b08-00600806d9b6),
|
---|
837 | dual,
|
---|
838 | hidden,
|
---|
839 | oleautomation,
|
---|
840 | nonextensible
|
---|
841 | ]
|
---|
842 | interface ISWbemQualifierSet : IDispatch
|
---|
843 | {
|
---|
844 | [ id(DISPID_NEWENUM), propget, restricted ]
|
---|
845 | HRESULT _NewEnum(
|
---|
846 | [out, retval] IUnknown **pUnk);
|
---|
847 |
|
---|
848 | [ id(DISPID_VALUE) ]
|
---|
849 | HRESULT Item(
|
---|
850 | [in] BSTR name,
|
---|
851 | [in] long iFlags,
|
---|
852 | [out, retval] ISWbemQualifier **objWbemQualifier);
|
---|
853 |
|
---|
854 | [ id(1), propget ]
|
---|
855 | HRESULT Count(
|
---|
856 | [out, retval] long *iCount);
|
---|
857 |
|
---|
858 | [ id(2) ]
|
---|
859 | HRESULT Add(
|
---|
860 | [in] BSTR strName,
|
---|
861 | [in] VARIANT *varVal,
|
---|
862 | [in] VARIANT_BOOL bPropagatesToSubclass,
|
---|
863 | [in] VARIANT_BOOL bPropagatesToInstance,
|
---|
864 | [in] VARIANT_BOOL bIsOverridable,
|
---|
865 | [in] long iFlags,
|
---|
866 | [out, retval] ISWbemQualifier **objWbemQualifier);
|
---|
867 |
|
---|
868 | [ id(3) ]
|
---|
869 | HRESULT Remove(
|
---|
870 | [in] BSTR strName,
|
---|
871 | [in] long iFlags);
|
---|
872 | };
|
---|
873 |
|
---|
874 | typedef
|
---|
875 | [
|
---|
876 | v1_enum,
|
---|
877 | uuid(b54d66e8-2287-11d2-8b33-00600806d9b6)
|
---|
878 | ]
|
---|
879 | enum WbemImpersonationLevelEnum
|
---|
880 | {
|
---|
881 | wbemImpersonationLevelAnonymous = 1,
|
---|
882 | wbemImpersonationLevelIdentify = 2,
|
---|
883 | wbemImpersonationLevelImpersonate = 3,
|
---|
884 | wbemImpersonationLevelDelegate = 4
|
---|
885 | } WbemImpersonationLevelEnum;
|
---|
886 |
|
---|
887 | typedef
|
---|
888 | [
|
---|
889 | v1_enum,
|
---|
890 | uuid(b54d66e7-2287-11d2-8b33-00600806d9b6)
|
---|
891 | ]
|
---|
892 | enum WbemAuthenticationLevelEnum
|
---|
893 | {
|
---|
894 | wbemAuthenticationLevelDefault = 0,
|
---|
895 | wbemAuthenticationLevelNone = 1,
|
---|
896 | wbemAuthenticationLevelConnect = 2,
|
---|
897 | wbemAuthenticationLevelCall = 3,
|
---|
898 | wbemAuthenticationLevelPkt = 4,
|
---|
899 | wbemAuthenticationLevelPktIntegrity = 5,
|
---|
900 | wbemAuthenticationLevelPktPrivacy = 6
|
---|
901 | } WbemAuthenticationLevelEnum;
|
---|
902 |
|
---|
903 | [
|
---|
904 | object,
|
---|
905 | local,
|
---|
906 | uuid(b54d66e6-2287-11d2-8b33-00600806d9b6),
|
---|
907 | dual,
|
---|
908 | hidden,
|
---|
909 | oleautomation,
|
---|
910 | nonextensible
|
---|
911 | ]
|
---|
912 | interface ISWbemSecurity : IDispatch
|
---|
913 | {
|
---|
914 | [ id(1), propget ]
|
---|
915 | HRESULT ImpersonationLevel(
|
---|
916 | [out, retval] WbemImpersonationLevelEnum *iImpersonationLevel);
|
---|
917 |
|
---|
918 | [ id(1), propput ]
|
---|
919 | HRESULT ImpersonationLevel(
|
---|
920 | [in] WbemImpersonationLevelEnum iImpersonationLevel);
|
---|
921 |
|
---|
922 | [ id(2), propget ]
|
---|
923 | HRESULT AuthenticationLevel(
|
---|
924 | [out, retval] WbemAuthenticationLevelEnum *iAuthenticationLevel);
|
---|
925 |
|
---|
926 | [ id(2), propput ]
|
---|
927 | HRESULT AuthenticationLevel(
|
---|
928 | [in] WbemAuthenticationLevelEnum iAuthenticationLevel);
|
---|
929 |
|
---|
930 | [ id(3), propget ]
|
---|
931 | HRESULT Privileges(
|
---|
932 | [out, retval] ISWbemPrivilegeSet **objWbemPrivilegeSet);
|
---|
933 | };
|
---|
934 |
|
---|
935 | [
|
---|
936 | object,
|
---|
937 | local,
|
---|
938 | uuid(76a6415c-cb41-11d1-8b02-00600806d9b6),
|
---|
939 | dual,
|
---|
940 | hidden,
|
---|
941 | oleautomation,
|
---|
942 | pointer_default(unique)
|
---|
943 | ]
|
---|
944 | interface ISWbemServices : IDispatch
|
---|
945 | {
|
---|
946 | [ id(1) ]
|
---|
947 | HRESULT Get(
|
---|
948 | [in] BSTR strObjectPath,
|
---|
949 | [in] long iFlags,
|
---|
950 | [in] IDispatch *objWbemNamedValueSet,
|
---|
951 | [out, retval] ISWbemObject **objWbemObject);
|
---|
952 |
|
---|
953 | [ id(2) ]
|
---|
954 | HRESULT GetAsync(
|
---|
955 | [in] IDispatch *objWbemSink,
|
---|
956 | [in] BSTR strObjectPath,
|
---|
957 | [in] long iFlags,
|
---|
958 | [in] IDispatch *objWbemNamedValueSet,
|
---|
959 | [in] IDispatch *objWbemAsyncContext);
|
---|
960 |
|
---|
961 | [ id(3) ]
|
---|
962 | HRESULT Delete(
|
---|
963 | [in] BSTR strObjectPath,
|
---|
964 | [in] long iFlags,
|
---|
965 | [in] IDispatch *objWbemNamedValueSet);
|
---|
966 |
|
---|
967 | [ id(4) ]
|
---|
968 | HRESULT DeleteAsync(
|
---|
969 | [in] IDispatch *objWbemSink,
|
---|
970 | [in] BSTR strObjectPath,
|
---|
971 | [in] long iFlags,
|
---|
972 | [in] IDispatch *objWbemNamedValueSet,
|
---|
973 | [in] IDispatch *objWbemAsyncContext);
|
---|
974 |
|
---|
975 | [ id(5) ]
|
---|
976 | HRESULT InstancesOf(
|
---|
977 | [in] BSTR strClass,
|
---|
978 | [in] long iFlags,
|
---|
979 | [in] IDispatch *objWbemNamedValueSet,
|
---|
980 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
981 |
|
---|
982 | [ id(6) ]
|
---|
983 | HRESULT InstancesOfAsync(
|
---|
984 | [in] IDispatch *objWbemSink,
|
---|
985 | [in] BSTR strClass,
|
---|
986 | [in] long iFlags,
|
---|
987 | [in] IDispatch *objWbemNamedValueSet,
|
---|
988 | [in] IDispatch *objWbemAsyncContext);
|
---|
989 |
|
---|
990 | [ id(7) ]
|
---|
991 | HRESULT SubclassesOf(
|
---|
992 | [in] BSTR strSuperclass,
|
---|
993 | [in] long iFlags,
|
---|
994 | [in] IDispatch *objWbemNamedValueSet,
|
---|
995 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
996 |
|
---|
997 | [ id(8) ]
|
---|
998 | HRESULT SubclassesOfAsync(
|
---|
999 | [in] IDispatch *objWbemSink,
|
---|
1000 | [in] BSTR strSuperclass,
|
---|
1001 | [in] long iFlags,
|
---|
1002 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1003 | [in] IDispatch *objWbemAsyncContext);
|
---|
1004 |
|
---|
1005 | [ id(9) ]
|
---|
1006 | HRESULT ExecQuery(
|
---|
1007 | [in] BSTR strQuery,
|
---|
1008 | [in] BSTR strQueryLanguage,
|
---|
1009 | [in] long iFlags,
|
---|
1010 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1011 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
1012 |
|
---|
1013 | [ id(10) ]
|
---|
1014 | HRESULT ExecQueryAsync(
|
---|
1015 | [in] IDispatch *objWbemSink,
|
---|
1016 | [in] BSTR strQuery,
|
---|
1017 | [in] BSTR strQueryLanguage,
|
---|
1018 | [in] long lFlags,
|
---|
1019 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1020 | [in] IDispatch *objWbemAsyncContext);
|
---|
1021 |
|
---|
1022 | [ id(11) ]
|
---|
1023 | HRESULT AssociatorsOf(
|
---|
1024 | [in] BSTR strObjectPath,
|
---|
1025 | [in] BSTR strAssocClass,
|
---|
1026 | [in] BSTR strResultClass,
|
---|
1027 | [in] BSTR strResultRole,
|
---|
1028 | [in] BSTR strRole,
|
---|
1029 | [in] VARIANT_BOOL bClassesOnly,
|
---|
1030 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
1031 | [in] BSTR strRequiredAssocQualifier,
|
---|
1032 | [in] BSTR strRequiredQualifier,
|
---|
1033 | [in] long iFlags,
|
---|
1034 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1035 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
1036 |
|
---|
1037 | [ id(12) ]
|
---|
1038 | HRESULT AssociatorsOfAsync(
|
---|
1039 | [in] IDispatch *objWbemSink,
|
---|
1040 | [in] BSTR strObjectPath,
|
---|
1041 | [in] BSTR strAssocClass,
|
---|
1042 | [in] BSTR strResultClass,
|
---|
1043 | [in] BSTR strResultRole,
|
---|
1044 | [in] BSTR strRole,
|
---|
1045 | [in] VARIANT_BOOL bClassesOnly,
|
---|
1046 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
1047 | [in] BSTR strRequiredAssocQualifier,
|
---|
1048 | [in] BSTR strRequiredQualifier,
|
---|
1049 | [in] long iFlags,
|
---|
1050 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1051 | [in] IDispatch *objWbemAsyncContext);
|
---|
1052 |
|
---|
1053 | [ id(13) ]
|
---|
1054 | HRESULT ReferencesTo(
|
---|
1055 | [in] BSTR strObjectPath,
|
---|
1056 | [in] BSTR strResultClass,
|
---|
1057 | [in] BSTR strRole,
|
---|
1058 | [in] VARIANT_BOOL bClassesOnly,
|
---|
1059 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
1060 | [in] BSTR strRequiredQualifier,
|
---|
1061 | [in] long iFlags,
|
---|
1062 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1063 | [out, retval] ISWbemObjectSet **objWbemObjectSet);
|
---|
1064 |
|
---|
1065 | [ id(14) ]
|
---|
1066 | HRESULT ReferencesToAsync(
|
---|
1067 | [in] IDispatch *objWbemSink,
|
---|
1068 | [in] BSTR strObjectPath,
|
---|
1069 | [in] BSTR strResultClass,
|
---|
1070 | [in] BSTR strRole,
|
---|
1071 | [in] VARIANT_BOOL bClassesOnly,
|
---|
1072 | [in] VARIANT_BOOL bSchemaOnly,
|
---|
1073 | [in] BSTR strRequiredQualifier,
|
---|
1074 | [in] long iFlags,
|
---|
1075 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1076 | [in] IDispatch *objWbemAsyncContext);
|
---|
1077 |
|
---|
1078 | [ id(15) ]
|
---|
1079 | HRESULT ExecNotificationQuery(
|
---|
1080 | [in] BSTR strQuery,
|
---|
1081 | [in] BSTR strQueryLanguage,
|
---|
1082 | [in] long iFlags,
|
---|
1083 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1084 | [out, retval] ISWbemEventSource **objWbemEventSource);
|
---|
1085 |
|
---|
1086 | [ id(16) ]
|
---|
1087 | HRESULT ExecNotificationQueryAsync(
|
---|
1088 | [in] IDispatch *objWbemSink,
|
---|
1089 | [in] BSTR strQuery,
|
---|
1090 | [in] BSTR strQueryLanguage,
|
---|
1091 | [in] long iFlags,
|
---|
1092 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1093 | [in] IDispatch *objWbemAsyncContext);
|
---|
1094 |
|
---|
1095 | [ id(17) ]
|
---|
1096 | HRESULT ExecMethod(
|
---|
1097 | [in] BSTR strObjectPath,
|
---|
1098 | [in] BSTR strMethodName,
|
---|
1099 | [in] IDispatch *objWbemInParameters,
|
---|
1100 | [in] long iFlags,
|
---|
1101 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1102 | [out, retval] ISWbemObject **objWbemOutParameters);
|
---|
1103 |
|
---|
1104 | [ id(18) ]
|
---|
1105 | HRESULT ExecMethodAsync(
|
---|
1106 | [in] IDispatch *objWbemSink,
|
---|
1107 | [in] BSTR strObjectPath,
|
---|
1108 | [in] BSTR strMethodName,
|
---|
1109 | [in] IDispatch *objWbemInParameters,
|
---|
1110 | [in] long iFlags,
|
---|
1111 | [in] IDispatch *objWbemNamedValueSet,
|
---|
1112 | [in] IDispatch *objWbemAsyncContext);
|
---|
1113 |
|
---|
1114 | [ id(19), propget ]
|
---|
1115 | HRESULT Security_(
|
---|
1116 | [out, retval] ISWbemSecurity **objWbemSecurity);
|
---|
1117 | };
|
---|
1118 |
|
---|
1119 | [
|
---|
1120 | threading(apartment),
|
---|
1121 | uuid(76a64158-cb41-11d1-8b02-00600806d9b6),
|
---|
1122 | progid("WbemScripting.SWbemLocator.1"),
|
---|
1123 | vi_progid("WbemScripting.SWbemLocator")
|
---|
1124 | ]
|
---|
1125 | coclass SWbemLocator
|
---|
1126 | {
|
---|
1127 | interface ISWbemLocator;
|
---|
1128 | };
|
---|
1129 |
|
---|
1130 | }; /* WbemScripting */
|
---|