oledb32: Support converting DBTYPE_VARIANT to DBTYPE_UI8.
[wine.git] / include / wbemdisp.idl
blob7182a14a33161c13a0d93d67f48c3a209f204431
1 /*
2 * Copyright 2013 Hans Leidekker for CodeWeavers
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.
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.
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
19 import "dispex.idl";
21 #ifndef __WIDL__
22 #define threading(model)
23 #define progid(str)
24 #define vi_progid(str)
25 #endif
28 uuid(565783c6-cb41-11d1-8b02-00600806d9b6),
29 helpstring("Microsoft WMI Scripting V1.2 Library"),
30 lcid(0x0000),
31 version(1.2)
33 library WbemScripting
36 importlib("stdole2.tlb");
38 interface ISWbemEventSource;
39 interface ISWbemLocator;
40 interface ISWbemMethod;
41 interface ISWbemMethodSet;
42 interface ISWbemNamedValue;
43 interface ISWbemNamedValueSet;
44 interface ISWbemObject;
45 interface ISWbemObjectPath;
46 interface ISWbemObjectSet;
47 interface ISWbemPrivilege;
48 interface ISWbemPrivilegeSet;
49 interface ISWbemProperty;
50 interface ISWbemPropertySet;
51 interface ISWbemQualifier;
52 interface ISWbemQualifierSet;
53 interface ISWbemSecurity;
54 interface ISWbemServices;
56 typedef
58 v1_enum,
59 uuid(bf078c2a-07d9-11d2-8b21-00600806d9b6)
61 enum WbemTimeout
63 wbemTimeoutInfinite = 0xffffffff
64 } WbemTimeout;
66 typedef
68 v1_enum,
69 uuid(4a249b72-fc9a-11d1-8b1e-00600806d9b6)
71 enum WbemChangeFlagEnum
73 wbemChangeFlagCreateOrUpdate = 0,
74 wbemChangeFlagUpdateOnly = 0x00000001,
75 wbemChangeFlagCreateOnly = 0x00000002,
76 wbemChangeFlagUpdateCompatible = 0x00000000,
77 wbemChangeFlagUpdateSafeMode = 0x00000020,
78 wbemChangeFlagUpdateForceMode = 0x00000040,
79 wbemChangeFlagStrongValidation = 0x00000080,
80 wbemChangeFlagAdvisory = 0x00010000
81 } WbemChangeFlagEnum;
83 typedef
85 v1_enum,
86 uuid(4a249b73-fc9a-11d1-8b1e-00600806d9b6)
88 enum WbemFlagEnum
90 wbemFlagReturnImmediately = 0x00010,
91 wbemFlagReturnWhenComplete = 0,
92 wbemFlagBidirectional = 0,
93 wbemFlagForwardOnly = 0x00020,
94 wbemFlagNoErrorObject = 0x00040,
95 wbemFlagReturnErrorObject = 0,
96 wbemFlagSendStatus = 0x00080,
97 wbemFlagDontSendStatus = 0,
98 wbemFlagEnsureLocatable = 0x00100,
99 wbemFlagDirectRead = 0x00200,
100 wbemFlagSendOnlySelected = 0,
101 wbemFlagUseAmendedQualifiers = 0x20000,
102 wbemFlagGetDefault = 0x0,
103 wbemFlagSpawnInstance = 0x00001,
104 wbemFlagUseCurrentTime = 0x00001
105 } WbemFlagEnum;
107 typedef
109 v1_enum,
110 uuid(4a249b76-fc9a-11d1-8b1e-00600806d9b6)
112 enum WbemQueryFlagEnum
114 wbemQueryFlagDeep,
115 wbemQueryFlagShallow,
116 wbemQueryFlagPrototype
117 } WbemQueryFlagEnum;
119 typedef
121 v1_enum,
122 uuid(4A249B79-FC9A-11d1-8B1E-00600806D9B6)
124 enum WbemComparisonFlagEnum
126 wbemComparisonFlagIncludeAll = 0,
127 wbemComparisonFlagIgnoreQualifiers = 1,
128 wbemComparisonFlagIgnoreObjectSource = 2,
129 wbemComparisonFlagIgnoreDefaultValues = 4,
130 wbemComparisonFlagIgnoreClass = 8,
131 wbemComparisonFlagIgnoreCase = 16,
132 wbemComparisonFlagIgnoreFlavor = 32
133 } WbemComparisonFlagEnum;
136 object,
137 local,
138 uuid(27d54d92-0ebe-11d2-8b22-00600806d9b6),
139 dual,
140 hidden,
141 oleautomation,
142 nonextensible
144 interface ISWbemEventSource : IDispatch
146 [ id(1) ]
147 HRESULT NextEvent(
148 [in, defaultvalue(wbemTimeoutInfinite)] long iTimeoutMs,
149 [out, retval] ISWbemObject **objWbemObject);
151 [ id(2), propget ]
152 HRESULT Security_(
153 [out, retval] ISWbemSecurity **objWbemSecurity);
157 object,
158 local,
159 uuid(76a6415b-cb41-11d1-8b02-00600806d9b6),
160 dual,
161 hidden,
162 oleautomation,
163 pointer_default(unique)
165 interface ISWbemLocator : IDispatch
167 [ id(1) ]
168 HRESULT ConnectServer(
169 [in, defaultvalue(".")] BSTR strServer,
170 [in, defaultvalue("")] BSTR strNamespace,
171 [in, defaultvalue("")] BSTR strUser,
172 [in, defaultvalue("")] BSTR strPassword,
173 [in, defaultvalue("")] BSTR strLocale,
174 [in, defaultvalue("")] BSTR strAuthority,
175 [in, defaultvalue(0)] long iSecurityFlags,
176 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
177 [out, retval] ISWbemServices **objWbemServices);
179 [ id(2), propget ]
180 HRESULT Security_([out, retval] ISWbemSecurity **objWbemSecurity);
184 object,
185 local,
186 uuid(422e8e90-d955-11d1-8b09-00600806d9b6),
187 dual,
188 hidden,
189 oleautomation,
190 pointer_default(unique),
191 nonextensible
193 interface ISWbemMethod : IDispatch
195 [ id(1), propget ]
196 HRESULT Name(
197 [out, retval] BSTR *strName);
199 [ id(2), propget ]
200 HRESULT Origin(
201 [out, retval] BSTR *strOrigin);
203 [ id(3), propget ]
204 HRESULT InParameters(
205 [out, retval] ISWbemObject **objWbemInParameters);
207 [ id(4), propget ]
208 HRESULT OutParameters(
209 [out, retval] ISWbemObject **objWbemOutParameters);
211 [ id(5), propget ]
212 HRESULT Qualifiers_(
213 [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
217 object,
218 local,
219 uuid(c93ba292-d955-11d1-8b09-00600806d9b6),
220 dual,
221 hidden,
222 oleautomation,
223 nonextensible
225 interface ISWbemMethodSet : IDispatch
227 [ id(DISPID_NEWENUM), propget, restricted ]
228 HRESULT _NewEnum(
229 [out, retval] IUnknown **pUnk);
231 [ id(DISPID_VALUE) ]
232 HRESULT Item(
233 [in] BSTR strName,
234 [in, defaultvalue(0)] long iFlags,
235 [out, retval] ISWbemMethod **objWbemMethod);
237 [ id(1), propget ]
238 HRESULT Count(
239 [out, retval] long *iCount);
243 object,
244 local,
245 uuid(76a64164-cb41-11d1-8b02-00600806d9b6),
246 dual,
247 hidden,
248 oleautomation
250 interface ISWbemNamedValue : IDispatch
252 [ id(DISPID_VALUE), propget ]
253 HRESULT Value(
254 [out, retval] VARIANT *varValue);
256 [ id(DISPID_VALUE), propput ]
257 HRESULT Value(
258 [in] VARIANT *varValue);
260 [ id(2), propget ]
261 HRESULT Name(
262 [out, retval] BSTR *strName);
266 object,
267 local,
268 uuid(cf2376ea-ce8c-11d1-8b05-00600806d9b6),
269 dual,
270 hidden,
271 oleautomation
273 interface ISWbemNamedValueSet : IDispatch
275 [ id(DISPID_NEWENUM), propget, restricted ]
276 HRESULT _NewEnum(
277 [out, retval] IUnknown **pUnk);
279 [ id(DISPID_VALUE) ]
280 HRESULT Item(
281 [in] BSTR strName,
282 [in, defaultvalue(0)] long iFlags,
283 [out, retval] ISWbemNamedValue **objWbemNamedValue);
285 [ id(1), propget ]
286 HRESULT Count(
287 [out, retval] long *iCount);
289 [ id(2) ]
290 HRESULT Add(
291 [in] BSTR strName,
292 [in] VARIANT *varValue,
293 [in, defaultvalue(0)] long iFlags,
294 [out, retval] ISWbemNamedValue **objWbemNamedValue);
296 [ id(3) ]
297 HRESULT Remove(
298 [in] BSTR strName,
299 [in, defaultvalue(0)] long iFlags);
301 [ id(4) ]
302 HRESULT Clone(
303 [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
305 [ id(5) ]
306 HRESULT DeleteAll();
310 object,
311 local,
312 uuid(76A6415A-CB41-11d1-8B02-00600806D9B6),
313 dual,
314 hidden,
315 oleautomation
317 interface ISWbemObject : IDispatch
319 [ id(1) ]
320 HRESULT Put_(
321 [in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags,
322 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
323 [out, retval] ISWbemObjectPath **objWbemObjectPath);
325 [ id(2) ]
326 HRESULT PutAsync_(
327 [in] IDispatch *objWbemSink,
328 [in, defaultvalue(wbemChangeFlagCreateOrUpdate)] long iFlags,
329 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
330 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
332 [ id (3) ]
333 HRESULT Delete_(
334 [in, defaultvalue(0)] long iFlags,
335 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet);
337 [ id (4) ]
338 HRESULT DeleteAsync_(
339 [in] IDispatch *objWbemSink,
340 [in, defaultvalue(0)] long iFlags,
341 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
342 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
344 [ id(5) ]
345 HRESULT Instances_(
346 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
347 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
348 [out, retval] ISWbemObjectSet **objWbemObjectSet);
350 [ id(6) ]
351 HRESULT InstancesAsync_(
352 [in] IDispatch *objWbemSink,
353 [in, defaultvalue(0)] long iFlags,
354 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
355 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
357 [ id(7) ]
358 HRESULT Subclasses_(
359 [in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,
360 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
361 [out, retval] ISWbemObjectSet **objWbemObjectSet);
363 [ id(8) ]
364 HRESULT SubclassesAsync_(
365 [in] IDispatch *objWbemSink,
366 [in, defaultvalue(wbemQueryFlagDeep)] long iFlags,
367 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
368 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
370 [ id(9) ]
371 HRESULT Associators_(
372 [in, defaultvalue("")] BSTR strAssocClass,
373 [in, defaultvalue("")] BSTR strResultClass,
374 [in, defaultvalue("")] BSTR strResultRole,
375 [in, defaultvalue("")] BSTR strRole,
376 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
377 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
378 [in, defaultvalue("")] BSTR strRequiredAssocQualifier,
379 [in, defaultvalue("")] BSTR strRequiredQualifier,
380 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
381 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
382 [out, retval] ISWbemObjectSet **objWbemObjectSet);
384 [ id(10) ]
385 HRESULT AssociatorsAsync_(
386 [in] IDispatch *objWbemSink,
387 [in, defaultvalue("")] BSTR strAssocClass,
388 [in, defaultvalue("")] BSTR strResultClass,
389 [in, defaultvalue("")] BSTR strResultRole,
390 [in, defaultvalue("")] BSTR strRole,
391 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
392 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
393 [in, defaultvalue("")] BSTR strRequiredAssocQualifier,
394 [in, defaultvalue("")] BSTR strRequiredQualifier,
395 [in, defaultvalue(0)] long iFlags,
396 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
397 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
399 [ id(11) ]
400 HRESULT References_(
401 [in, defaultvalue("")] BSTR strResultClass,
402 [in, defaultvalue("")] BSTR strRole,
403 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
404 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
405 [in, defaultvalue("")] BSTR strRequiredQualifier,
406 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
407 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
408 [out, retval] ISWbemObjectSet **objWbemObjectSet);
410 [ id(12) ]
411 HRESULT ReferencesAsync_(
412 [in] IDispatch *objWbemSink,
413 [in, defaultvalue("")] BSTR strResultClass,
414 [in, defaultvalue("")] BSTR strRole,
415 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
416 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
417 [in, defaultvalue("")] BSTR strRequiredQualifier,
418 [in, defaultvalue(0)] long iFlags,
419 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
420 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
422 [ id(13) ]
423 HRESULT ExecMethod_(
424 [in] BSTR strMethodName,
425 [in, defaultvalue(0)] IDispatch *objWbemInParameters,
426 [in, defaultvalue(0)] long iFlags,
427 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
428 [out, retval] ISWbemObject **objWbemOutParameters);
430 [ id(14) ]
431 HRESULT ExecMethodAsync_(
432 [in] IDispatch *objWbemSink,
433 [in] BSTR strMethodName,
434 [in, defaultvalue(0)] IDispatch *objWbemInParameters,
435 [in, defaultvalue(0)] long iFlags,
436 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
437 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
439 [ id(15) ]
440 HRESULT Clone_(
441 [out, retval] ISWbemObject **objWbemObject);
443 [ id(16) ]
444 HRESULT GetObjectText_(
445 [in, defaultvalue(0)] long iFlags,
446 [out, retval] BSTR *strObjectText);
448 [ id(17) ]
449 HRESULT SpawnDerivedClass_(
450 [in, defaultvalue(0)] long iFlags,
451 [out, retval] ISWbemObject **objWbemObject);
453 [ id(18) ]
454 HRESULT SpawnInstance_(
455 [in, defaultvalue(0)] long iFlags,
456 [out, retval] ISWbemObject **objWbemObject);
458 [ id(19) ]
459 HRESULT CompareTo_(
460 [in] IDispatch *objWbemObject,
461 [in, defaultvalue(wbemComparisonFlagIncludeAll)] long iFlags,
462 [out, retval] VARIANT_BOOL *bResult);
464 [ id(20), propget ]
465 HRESULT Qualifiers_(
466 [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
468 [ id(21), propget ]
469 HRESULT Properties_(
470 [out, retval] ISWbemPropertySet **objWbemPropertySet);
472 [ id(22), propget ]
473 HRESULT Methods_(
474 [out, retval] ISWbemMethodSet **objWbemMethodSet);
476 [ id(23), propget ]
477 HRESULT Derivation_(
478 [out, retval] VARIANT *strClassNameArray);
480 [ id(24), propget ]
481 HRESULT Path_(
482 [out, retval] ISWbemObjectPath **objWbemObjectPath);
484 [ id(25), propget ]
485 HRESULT Security_(
486 [out, retval] ISWbemSecurity **objWbemSecurity);
490 object,
491 local,
492 uuid(5791bc27-ce9c-11d1-97bf-0000f81e849c),
493 dual,
494 hidden,
495 oleautomation,
496 pointer_default(unique)
498 interface ISWbemObjectPath : IDispatch
500 [ id(DISPID_VALUE), propget ]
501 HRESULT Path(
502 [out, retval] BSTR *strPath);
504 [ id(DISPID_VALUE), propput ]
505 HRESULT Path(
506 [in] BSTR strPath);
508 [ id(1), propget ]
509 HRESULT RelPath(
510 [out, retval] BSTR *strRelPath);
512 [ id(1), propput ]
513 HRESULT RelPath(
514 [in] BSTR strRelPath);
516 [ id(2), propget ]
517 HRESULT Server(
518 [out, retval] BSTR *strServer);
520 [ id(2), propput ]
521 HRESULT Server(
522 [in] BSTR strServer);
524 [ id(3), propget ]
525 HRESULT Namespace(
526 [out, retval] BSTR *strNamespace);
528 [ id(3), propput ]
529 HRESULT Namespace(
530 [in] BSTR strNamespace);
532 [ id(4), propget ]
533 HRESULT ParentNamespace(
534 [out, retval] BSTR *strParentNamespace);
536 [ id(5), propget ]
537 HRESULT DisplayName(
538 [out, retval] BSTR *strDisplayName);
540 [ id(5), propput ]
541 HRESULT DisplayName(
542 [in] BSTR strDisplayName);
544 [ id(6), propget ]
545 HRESULT Class(
546 [out, retval] BSTR *strClass);
548 [ id(6), propput ]
549 HRESULT Class(
550 [in] BSTR strClass);
552 [ id(7), propget ]
553 HRESULT IsClass(
554 [out, retval] VARIANT_BOOL *bIsClass);
556 [ id(8) ]
557 HRESULT SetAsClass();
559 [ id(9), propget ]
560 HRESULT IsSingleton(
561 [out, retval] VARIANT_BOOL *bIsSingleton);
563 [ id(10) ]
564 HRESULT SetAsSingleton();
566 [ id(11), propget ]
567 HRESULT Keys(
568 [out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
570 [ id(12), propget ]
571 HRESULT Security_(
572 [out, retval] ISWbemSecurity **objWbemSecurity);
574 [ id(13), propget ]
575 HRESULT Locale(
576 [out, retval] BSTR *strLocale);
578 [ id(13), propput ]
579 HRESULT Locale(
580 [in] BSTR strLocale);
582 [ id(14), propget ]
583 HRESULT Authority(
584 [out, retval] BSTR *strAuthority);
586 [ id(14), propput ]
587 HRESULT Authority(
588 [in] BSTR strAuthority);
592 object,
593 local,
594 uuid(76a6415f-cb41-11d1-8b02-00600806d9b6),
595 dual,
596 hidden,
597 oleautomation,
598 nonextensible
600 interface ISWbemObjectSet : IDispatch
602 [ id(DISPID_NEWENUM), propget, restricted ]
603 HRESULT _NewEnum(
604 [out, retval] IUnknown **pUnk);
606 [ id(DISPID_VALUE) ]
607 HRESULT Item(
608 [in] BSTR strObjectPath,
609 [in, defaultvalue(0)] long iFlags,
610 [out, retval] ISWbemObject **objWbemObject);
612 [ id(1), propget ]
613 HRESULT Count(
614 [out, retval] long *iCount);
616 [ id(4), propget ]
617 HRESULT Security_(
618 [out, retval] ISWbemSecurity **objWbemSecurity);
620 [ id(5) ]
621 HRESULT ItemIndex(
622 [in] long lIndex,
623 [out, retval] ISWbemObject **objWbemObject);
626 typedef
628 v1_enum,
629 uuid(176d2f70-5af3-11d2-8b4a-00600806d9b6)
631 enum WbemPrivilegeEnum
633 wbemPrivilegeCreateToken = 1,
634 wbemPrivilegePrimaryToken = 2,
635 wbemPrivilegeLockMemory = 3,
636 wbemPrivilegeIncreaseQuota = 4,
637 wbemPrivilegeMachineAccount = 5,
638 wbemPrivilegeTcb = 6,
639 wbemPrivilegeSecurity = 7,
640 wbemPrivilegeTakeOwnership = 8,
641 wbemPrivilegeLoadDriver = 9,
642 wbemPrivilegeSystemProfile = 10,
643 wbemPrivilegeSystemtime = 11,
644 wbemPrivilegeProfileSingleProcess = 12,
645 wbemPrivilegeIncreaseBasePriority = 13,
646 wbemPrivilegeCreatePagefile = 14,
647 wbemPrivilegeCreatePermanent = 15,
648 wbemPrivilegeBackup = 16,
649 wbemPrivilegeRestore = 17,
650 wbemPrivilegeShutdown = 18,
651 wbemPrivilegeDebug = 19,
652 wbemPrivilegeAudit = 20,
653 wbemPrivilegeSystemEnvironment = 21,
654 wbemPrivilegeChangeNotify = 22,
655 wbemPrivilegeRemoteShutdown = 23,
656 wbemPrivilegeUndock = 24,
657 wbemPrivilegeSyncAgent = 25,
658 wbemPrivilegeEnableDelegation = 26,
659 wbemPrivilegeManageVolume = 27
660 } WbemPrivilegeEnum;
663 object,
664 local,
665 uuid(26ee67bd-5804-11d2-8b4a-00600806d9b6),
666 dual,
667 hidden,
668 oleautomation,
669 nonextensible
671 interface ISWbemPrivilege : IDispatch
673 [ id(DISPID_VALUE), propget ]
674 HRESULT IsEnabled(
675 [out, retval] VARIANT_BOOL *bIsEnabled);
677 [ id(DISPID_VALUE), propput ]
678 HRESULT IsEnabled(
679 [in] VARIANT_BOOL bIsEnabled);
681 [ id(1), propget ]
682 HRESULT Name(
683 [out, retval] BSTR *strDisplayName);
685 [ id(2), propget ]
686 HRESULT DisplayName(
687 [out, retval] BSTR *strDisplayName);
689 [ id(3), propget ]
690 HRESULT Identifier(
691 [out, retval] WbemPrivilegeEnum *iPrivilege);
695 object,
696 local,
697 uuid(26ee67bf-5804-11d2-8b4a-00600806d9b6),
698 dual,
699 hidden,
700 oleautomation,
701 nonextensible
703 interface ISWbemPrivilegeSet : IDispatch
705 [ id(DISPID_NEWENUM), propget, restricted ]
706 HRESULT _NewEnum(
707 [out, retval] IUnknown **pUnk);
709 [ id(DISPID_VALUE) ]
710 HRESULT Item(
711 [in] WbemPrivilegeEnum iPrivilege,
712 [out, retval] ISWbemPrivilege **objWbemPrivilege);
714 [ id(1), propget ]
715 HRESULT Count(
716 [out, retval] long *iCount);
718 [ id(2) ]
719 HRESULT Add(
720 [in] WbemPrivilegeEnum iPrivilege,
721 [in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled,
722 [out, retval] ISWbemPrivilege **objWbemPrivilege);
724 [ id(3) ]
725 HRESULT Remove(
726 [in] WbemPrivilegeEnum iPrivilege);
728 [ id(4) ]
729 HRESULT DeleteAll();
731 [ id(5) ]
732 HRESULT AddAsString(
733 [in] BSTR strPrivilege,
734 [in, defaultvalue(TRUE)] VARIANT_BOOL bIsEnabled,
735 [out, retval] ISWbemPrivilege **objWbemPrivilege);
738 typedef
740 v1_enum,
741 uuid(4a249b7b-fc9a-11d1-8b1e-00600806d9b6),
743 enum WbemCimtypeEnum
745 wbemCimtypeSint16 = 2,
746 wbemCimtypeSint32 = 3,
747 wbemCimtypeReal32 = 4,
748 wbemCimtypeReal64 = 5,
749 wbemCimtypeString = 8,
750 wbemCimtypeBoolean = 11,
751 wbemCimtypeObject = 13,
752 wbemCimtypeSint8 = 16,
753 wbemCimtypeUint8 = 17,
754 wbemCimtypeUint16 = 18,
755 wbemCimtypeUint32 = 19,
756 wbemCimtypeSint64 = 20,
757 wbemCimtypeUint64 = 21,
758 wbemCimtypeDatetime = 101,
759 wbemCimtypeReference = 102,
760 wbemCimtypeChar16 = 103
761 } WbemCimtypeEnum;
763 typedef
765 v1_enum,
766 uuid(4a249b7c-fc9a-11d1-8b1e-00600806d9b6),
768 enum WbemErrorEnum
770 wbemNoErr = 0,
771 wbemErrFailed = 0x80041001,
772 wbemErrNotFound = 0x80041002,
773 wbemErrAccessDenied = 0x80041003,
774 wbemErrProviderFailure = 0x80041004,
775 wbemErrTypeMismatch = 0x80041005,
776 wbemErrOutOfMemory = 0x80041006,
777 wbemErrInvalidContext = 0x80041007,
778 wbemErrInvalidParameter = 0x80041008,
779 wbemErrNotAvailable = 0x80041009,
780 wbemErrCriticalError = 0x8004100a,
781 wbemErrInvalidStream = 0x8004100b,
782 wbemErrNotSupported = 0x8004100c,
783 wbemErrInvalidSuperclass = 0x8004100d,
784 wbemErrInvalidNamespace = 0x8004100e,
785 wbemErrInvalidObject = 0x8004100f,
786 wbemErrInvalidClass = 0x80041010,
787 wbemErrProviderNotFound = 0x80041011,
788 wbemErrInvalidProviderRegistration = 0x80041012,
789 wbemErrProviderLoadFailure = 0x80041013,
790 wbemErrInitializationFailure = 0x80041014,
791 wbemErrTransportFailure = 0x80041015,
792 wbemErrInvalidOperation = 0x80041016,
793 wbemErrInvalidQuery = 0x80041017,
794 wbemErrInvalidQueryType = 0x80041018,
795 wbemErrAlreadyExists = 0x80041019,
796 wbemErrOverrideNotAllowed = 0x8004101a,
797 wbemErrPropagatedQualifier = 0x8004101b,
798 wbemErrPropagatedProperty = 0x8004101c,
799 wbemErrUnexpected = 0x8004101d,
800 wbemErrIllegalOperation = 0x8004101e,
801 wbemErrCannotBeKey = 0x8004101f,
802 wbemErrIncompleteClass = 0x80041020,
803 wbemErrInvalidSyntax = 0x80041021,
804 wbemErrNondecoratedObject = 0x80041022,
805 wbemErrReadOnly = 0x80041023,
806 wbemErrProviderNotCapable = 0x80041024,
807 wbemErrClassHasChildren = 0x80041025,
808 wbemErrClassHasInstances = 0x80041026,
809 wbemErrQueryNotImplemented = 0x80041027,
810 wbemErrIllegalNull = 0x80041028,
811 wbemErrInvalidQualifierType = 0x80041029,
812 wbemErrInvalidPropertyType = 0x8004102a,
813 wbemErrValueOutOfRange = 0x8004102b,
814 wbemErrCannotBeSingleton = 0x8004102c,
815 wbemErrInvalidCimType = 0x8004102d,
816 wbemErrInvalidMethod = 0x8004102e,
817 wbemErrInvalidMethodParameters = 0x8004102f,
818 wbemErrSystemProperty = 0x80041030,
819 wbemErrInvalidProperty = 0x80041031,
820 wbemErrCallCancelled = 0x80041032,
821 wbemErrShuttingDown = 0x80041033,
822 wbemErrPropagatedMethod = 0x80041034,
823 wbemErrUnsupportedParameter = 0x80041035,
824 wbemErrMissingParameter = 0x80041036,
825 wbemErrInvalidParameterId = 0x80041037,
826 wbemErrNonConsecutiveParameterIds = 0x80041038,
827 wbemErrParameterIdOnRetval = 0x80041039,
828 wbemErrInvalidObjectPath = 0x8004103a,
829 wbemErrOutOfDiskSpace = 0x8004103b,
830 wbemErrBufferTooSmall = 0x8004103c,
831 wbemErrUnsupportedPutExtension = 0x8004103d,
832 wbemErrUnknownObjectType = 0x8004103e,
833 wbemErrUnknownPacketType = 0x8004103f,
834 wbemErrMarshalVersionMismatch = 0x80041040,
835 wbemErrMarshalInvalidSignature = 0x80041041,
836 wbemErrInvalidQualifier = 0x80041042,
837 wbemErrInvalidDuplicateParameter = 0x80041043,
838 wbemErrTooMuchData = 0x80041044,
839 wbemErrServerTooBusy = 0x80041045,
840 wbemErrInvalidFlavor = 0x80041046,
841 wbemErrCircularReference = 0x80041047,
842 wbemErrUnsupportedClassUpdate = 0x80041048,
843 wbemErrCannotChangeKeyInheritance = 0x80041049,
844 wbemErrCannotChangeIndexInheritance = 0x80041050,
845 wbemErrTooManyProperties = 0x80041051,
846 wbemErrUpdateTypeMismatch = 0x80041052,
847 wbemErrUpdateOverrideNotAllowed = 0x80041053,
848 wbemErrUpdatePropagatedMethod = 0x80041054,
849 wbemErrMethodNotImplemented = 0x80041055,
850 wbemErrMethodDisabled = 0x80041056,
851 wbemErrRefresherBusy = 0x80041057,
852 wbemErrUnparsableQuery = 0x80041058,
853 wbemErrNotEventClass = 0x80041059,
854 wbemErrMissingGroupWithin = 0x8004105a,
855 wbemErrMissingAggregationList = 0x8004105b,
856 wbemErrPropertyNotAnObject = 0x8004105c,
857 wbemErrAggregatingByObject = 0x8004105d,
858 wbemErrUninterpretableProviderQuery = 0x8004105f,
859 wbemErrBackupRestoreWinmgmtRunning = 0x80041060,
860 wbemErrQueueOverflow = 0x80041061,
861 wbemErrPrivilegeNotHeld = 0x80041062,
862 wbemErrInvalidOperator = 0x80041063,
863 wbemErrLocalCredentials = 0x80041064,
864 wbemErrCannotBeAbstract = 0x80041065,
865 wbemErrAmendedObject = 0x80041066,
866 wbemErrClientTooSlow = 0x80041067,
867 wbemErrNullSecurityDescriptor = 0x80041068,
868 wbemErrTimeout = 0x80041069,
869 wbemErrInvalidAssociation = 0x8004106a,
870 wbemErrAmbiguousOperation = 0x8004106b,
871 wbemErrQuotaViolation = 0x8004106c,
872 wbemErrTransactionConflict = 0x8004106d,
873 wbemErrForcedRollback = 0x8004106e,
874 wbemErrUnsupportedLocale = 0x8004106f,
875 wbemErrHandleOutOfDate = 0x80041070,
876 wbemErrConnectionFailed = 0x80041071,
877 wbemErrInvalidHandleRequest = 0x80041072,
878 wbemErrPropertyNameTooWide = 0x80041073,
879 wbemErrClassNameTooWide = 0x80041074,
880 wbemErrMethodNameTooWide = 0x80041075,
881 wbemErrQualifierNameTooWide = 0x80041076,
882 wbemErrRerunCommand = 0x80041077,
883 wbemErrDatabaseVerMismatch = 0x80041078,
884 wbemErrVetoPut = 0x80041079,
885 wbemErrVetoDelete = 0x8004107a,
886 wbemErrInvalidLocale = 0x80041080,
887 wbemErrProviderSuspended = 0x80041081,
888 wbemErrSynchronizationRequired = 0x80041082,
889 wbemErrNoSchema = 0x80041083,
890 wbemErrProviderAlreadyRegistered = 0x80041084,
891 wbemErrProviderNotRegistered = 0x80041085,
892 wbemErrFatalTransportError = 0x80041086,
893 wbemErrEncryptedConnectionRequired = 0x80041087,
894 wbemErrRegistrationTooBroad = 0x80042001,
895 wbemErrRegistrationTooPrecise = 0x80042002,
896 wbemErrTimedout = 0x80043001,
897 wbemErrResetToDefault = 0x80043002
898 } WbemErrorEnum;
901 object,
902 local,
903 uuid(1a388f98-d4ba-11d1-8b09-00600806d9b6),
904 dual,
905 hidden,
906 oleautomation,
907 pointer_default(unique)
909 interface ISWbemProperty : IDispatch
911 [ id(DISPID_VALUE), propget ]
912 HRESULT Value(
913 [out, retval] VARIANT *varValue);
915 [ id(DISPID_VALUE), propput ]
916 HRESULT Value(
917 [in] VARIANT *varValue);
919 [ id(1), propget ]
920 HRESULT Name(
921 [out, retval] BSTR *strName);
923 [ id(2), propget ]
924 HRESULT IsLocal(
925 [out, retval] VARIANT_BOOL *bIsLocal);
927 [ id(3), propget ]
928 HRESULT Origin(
929 [out, retval] BSTR *strOrigin);
931 [ id(4), propget ]
932 HRESULT CIMType(
933 [out, retval] WbemCimtypeEnum *iCimType);
935 [ id(5), propget ]
936 HRESULT Qualifiers_(
937 [out, retval] ISWbemQualifierSet **objWbemQualifierSet);
939 [ id(6), propget ]
940 HRESULT IsArray(
941 [out, retval] VARIANT_BOOL *bIsArray);
945 object,
946 local,
947 uuid(dea0a7b2-d4ba-11d1-8b09-00600806d9b6),
948 dual,
949 hidden,
950 oleautomation
952 interface ISWbemPropertySet : IDispatch
954 [ id(DISPID_NEWENUM), propget, restricted ]
955 HRESULT _NewEnum(
956 [out, retval] IUnknown **pUnk);
958 [ id(DISPID_VALUE) ]
959 HRESULT Item(
960 [in] BSTR strName,
961 [in, defaultvalue(0)] long iFlags,
962 [out, retval] ISWbemProperty **objWbemProperty);
964 [ id(1), propget ]
965 HRESULT Count(
966 [out, retval] long *iCount);
968 [ id(2) ]
969 HRESULT Add(
970 [in] BSTR strName,
971 [in] WbemCimtypeEnum iCIMType,
972 [in, defaultvalue(FALSE)] VARIANT_BOOL bIsArray,
973 [in, defaultvalue(0)] long iFlags,
974 [out, retval] ISWbemProperty **objWbemProperty);
976 [ id(3) ]
977 HRESULT Remove(
978 [in] BSTR strName,
979 [in, defaultvalue(0)] long iFlags);
983 object,
984 local,
985 uuid(79b05932-d3b7-11d1-8b06-00600806d9b6),
986 dual,
987 hidden,
988 oleautomation,
989 nonextensible,
990 pointer_default(unique)
992 interface ISWbemQualifier : IDispatch
994 [ id(DISPID_VALUE), propget ]
995 HRESULT Value(
996 [out, retval] VARIANT *varValue);
998 [ id(DISPID_VALUE), propput ]
999 HRESULT Value(
1000 [in] VARIANT *varValue);
1002 [ id(1), propget ]
1003 HRESULT Name(
1004 [out, retval] BSTR *strName);
1006 [ id(2), propget ]
1007 HRESULT IsLocal(
1008 [out, retval] VARIANT_BOOL *bIsLocal);
1010 [ id(3), propget ]
1011 HRESULT PropagatesToSubclass(
1012 [out, retval] VARIANT_BOOL *bPropagatesToSubclass);
1014 [ id(3), propput ]
1015 HRESULT PropagatesToSubclass(
1016 [in] VARIANT_BOOL bPropagatesToSubclass);
1018 [ id(4), propget ]
1019 HRESULT PropagatesToInstance(
1020 [out, retval] VARIANT_BOOL *bPropagatesToInstance);
1022 [ id(4), propput ]
1023 HRESULT PropagatesToInstance(
1024 [in] VARIANT_BOOL bPropagatesToInstance);
1026 [ id(5), propget ]
1027 HRESULT IsOverridable(
1028 [out, retval] VARIANT_BOOL *bIsOverridable);
1030 [ id(5), propput ]
1031 HRESULT IsOverridable(
1032 [in] VARIANT_BOOL bIsOverridable);
1034 [ id(6), propget ]
1035 HRESULT IsAmended(
1036 [out, retval] VARIANT_BOOL *bIsAmended);
1040 object,
1041 local,
1042 uuid(9b16ed16-d3df-11d1-8b08-00600806d9b6),
1043 dual,
1044 hidden,
1045 oleautomation,
1046 nonextensible
1048 interface ISWbemQualifierSet : IDispatch
1050 [ id(DISPID_NEWENUM), propget, restricted ]
1051 HRESULT _NewEnum(
1052 [out, retval] IUnknown **pUnk);
1054 [ id(DISPID_VALUE) ]
1055 HRESULT Item(
1056 [in] BSTR name,
1057 [in, defaultvalue(0)] long iFlags,
1058 [out, retval] ISWbemQualifier **objWbemQualifier);
1060 [ id(1), propget ]
1061 HRESULT Count(
1062 [out, retval] long *iCount);
1064 [ id(2) ]
1065 HRESULT Add(
1066 [in] BSTR strName,
1067 [in] VARIANT *varVal,
1068 [in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToSubclass,
1069 [in, defaultvalue(TRUE)] VARIANT_BOOL bPropagatesToInstance,
1070 [in, defaultvalue(TRUE)] VARIANT_BOOL bIsOverridable,
1071 [in, defaultvalue(0)] long iFlags,
1072 [out, retval] ISWbemQualifier **objWbemQualifier);
1074 [ id(3) ]
1075 HRESULT Remove(
1076 [in] BSTR strName,
1077 [in, defaultvalue(0)] long iFlags);
1080 typedef
1082 v1_enum,
1083 uuid(b54d66e8-2287-11d2-8b33-00600806d9b6)
1085 enum WbemImpersonationLevelEnum
1087 wbemImpersonationLevelAnonymous = 1,
1088 wbemImpersonationLevelIdentify = 2,
1089 wbemImpersonationLevelImpersonate = 3,
1090 wbemImpersonationLevelDelegate = 4
1091 } WbemImpersonationLevelEnum;
1093 typedef
1095 v1_enum,
1096 uuid(b54d66e7-2287-11d2-8b33-00600806d9b6)
1098 enum WbemAuthenticationLevelEnum
1100 wbemAuthenticationLevelDefault = 0,
1101 wbemAuthenticationLevelNone = 1,
1102 wbemAuthenticationLevelConnect = 2,
1103 wbemAuthenticationLevelCall = 3,
1104 wbemAuthenticationLevelPkt = 4,
1105 wbemAuthenticationLevelPktIntegrity = 5,
1106 wbemAuthenticationLevelPktPrivacy = 6
1107 } WbemAuthenticationLevelEnum;
1110 object,
1111 local,
1112 uuid(b54d66e6-2287-11d2-8b33-00600806d9b6),
1113 dual,
1114 hidden,
1115 oleautomation,
1116 nonextensible
1118 interface ISWbemSecurity : IDispatch
1120 [ id(1), propget ]
1121 HRESULT ImpersonationLevel(
1122 [out, retval] WbemImpersonationLevelEnum *iImpersonationLevel);
1124 [ id(1), propput ]
1125 HRESULT ImpersonationLevel(
1126 [in] WbemImpersonationLevelEnum iImpersonationLevel);
1128 [ id(2), propget ]
1129 HRESULT AuthenticationLevel(
1130 [out, retval] WbemAuthenticationLevelEnum *iAuthenticationLevel);
1132 [ id(2), propput ]
1133 HRESULT AuthenticationLevel(
1134 [in] WbemAuthenticationLevelEnum iAuthenticationLevel);
1136 [ id(3), propget ]
1137 HRESULT Privileges(
1138 [out, retval] ISWbemPrivilegeSet **objWbemPrivilegeSet);
1142 object,
1143 local,
1144 uuid(76a6415c-cb41-11d1-8b02-00600806d9b6),
1145 dual,
1146 hidden,
1147 oleautomation,
1148 pointer_default(unique)
1150 interface ISWbemServices : IDispatch
1152 [ id(1) ]
1153 HRESULT Get(
1154 [in, defaultvalue("")] BSTR strObjectPath,
1155 [in, defaultvalue(0)] long iFlags,
1156 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1157 [out, retval] ISWbemObject **objWbemObject);
1159 [ id(2) ]
1160 HRESULT GetAsync(
1161 [in] IDispatch *objWbemSink,
1162 [in, defaultvalue("")] BSTR strObjectPath,
1163 [in, defaultvalue(0)] long iFlags,
1164 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1165 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1167 [ id(3) ]
1168 HRESULT Delete(
1169 [in] BSTR strObjectPath,
1170 [in, defaultvalue(0)] long iFlags,
1171 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet);
1173 [ id(4) ]
1174 HRESULT DeleteAsync(
1175 [in] IDispatch *objWbemSink,
1176 [in] BSTR strObjectPath,
1177 [in, defaultvalue(0)] long iFlags,
1178 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1179 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1181 [ id(5) ]
1182 HRESULT InstancesOf(
1183 [in] BSTR strClass,
1184 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
1185 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1186 [out, retval] ISWbemObjectSet **objWbemObjectSet);
1188 [ id(6) ]
1189 HRESULT InstancesOfAsync(
1190 [in] IDispatch *objWbemSink,
1191 [in] BSTR strClass,
1192 [in, defaultvalue(0)] long iFlags,
1193 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1194 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1196 [ id(7) ]
1197 HRESULT SubclassesOf(
1198 [in, defaultvalue("")] BSTR strSuperclass,
1199 [in, defaultvalue(wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,
1200 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1201 [out, retval] ISWbemObjectSet **objWbemObjectSet);
1203 [ id(8) ]
1204 HRESULT SubclassesOfAsync(
1205 [in] IDispatch *objWbemSink,
1206 [in, defaultvalue("")] BSTR strSuperclass,
1207 [in, defaultvalue(wbemQueryFlagDeep)] long iFlags,
1208 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1209 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1211 [ id(9) ]
1212 HRESULT ExecQuery(
1213 [in] BSTR strQuery,
1214 [in, defaultvalue("WQL")] BSTR strQueryLanguage,
1215 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
1216 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1217 [out, retval] ISWbemObjectSet **objWbemObjectSet);
1219 [ id(10) ]
1220 HRESULT ExecQueryAsync(
1221 [in] IDispatch *objWbemSink,
1222 [in] BSTR strQuery,
1223 [in, defaultvalue("WQL")] BSTR strQueryLanguage,
1224 [in, defaultvalue(0)] long lFlags,
1225 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1226 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1228 [ id(11) ]
1229 HRESULT AssociatorsOf(
1230 [in] BSTR strObjectPath,
1231 [in, defaultvalue("")] BSTR strAssocClass,
1232 [in, defaultvalue("")] BSTR strResultClass,
1233 [in, defaultvalue("")] BSTR strResultRole,
1234 [in, defaultvalue("")] BSTR strRole,
1235 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
1236 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
1237 [in, defaultvalue("")] BSTR strRequiredAssocQualifier,
1238 [in, defaultvalue("")] BSTR strRequiredQualifier,
1239 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
1240 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1241 [out, retval] ISWbemObjectSet **objWbemObjectSet);
1243 [ id(12) ]
1244 HRESULT AssociatorsOfAsync(
1245 [in] IDispatch *objWbemSink,
1246 [in] BSTR strObjectPath,
1247 [in, defaultvalue("")] BSTR strAssocClass,
1248 [in, defaultvalue("")] BSTR strResultClass,
1249 [in, defaultvalue("")] BSTR strResultRole,
1250 [in, defaultvalue("")] BSTR strRole,
1251 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
1252 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
1253 [in, defaultvalue("")] BSTR strRequiredAssocQualifier,
1254 [in, defaultvalue("")] BSTR strRequiredQualifier,
1255 [in, defaultvalue(0)] long iFlags,
1256 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1257 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1259 [ id(13) ]
1260 HRESULT ReferencesTo(
1261 [in] BSTR strObjectPath,
1262 [in, defaultvalue("")] BSTR strResultClass,
1263 [in, defaultvalue("")] BSTR strRole,
1264 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
1265 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
1266 [in, defaultvalue("")] BSTR strRequiredQualifier,
1267 [in, defaultvalue(wbemFlagReturnImmediately)] long iFlags,
1268 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1269 [out, retval] ISWbemObjectSet **objWbemObjectSet);
1271 [ id(14) ]
1272 HRESULT ReferencesToAsync(
1273 [in] IDispatch *objWbemSink,
1274 [in] BSTR strObjectPath,
1275 [in, defaultvalue("")] BSTR strResultClass,
1276 [in, defaultvalue("")] BSTR strRole,
1277 [in, defaultvalue(FALSE)] VARIANT_BOOL bClassesOnly,
1278 [in, defaultvalue(FALSE)] VARIANT_BOOL bSchemaOnly,
1279 [in, defaultvalue("")] BSTR strRequiredQualifier,
1280 [in, defaultvalue(0)] long iFlags,
1281 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1282 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1284 [ id(15) ]
1285 HRESULT ExecNotificationQuery(
1286 [in] BSTR strQuery,
1287 [in, defaultvalue("WQL")] BSTR strQueryLanguage,
1288 [in, defaultvalue(wbemFlagReturnImmediately|wbemFlagForwardOnly)] long iFlags,
1289 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1290 [out, retval] ISWbemEventSource **objWbemEventSource);
1292 [ id(16) ]
1293 HRESULT ExecNotificationQueryAsync(
1294 [in] IDispatch *objWbemSink,
1295 [in] BSTR strQuery,
1296 [in, defaultvalue("WQL")] BSTR strQueryLanguage,
1297 [in, defaultvalue(0)] long iFlags,
1298 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1299 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1301 [ id(17) ]
1302 HRESULT ExecMethod(
1303 [in] BSTR strObjectPath,
1304 [in] BSTR strMethodName,
1305 [in, defaultvalue(0)] IDispatch *objWbemInParameters,
1306 [in, defaultvalue(0)] long iFlags,
1307 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1308 [out, retval] ISWbemObject **objWbemOutParameters);
1310 [ id(18) ]
1311 HRESULT ExecMethodAsync(
1312 [in] IDispatch *objWbemSink,
1313 [in] BSTR strObjectPath,
1314 [in] BSTR strMethodName,
1315 [in, defaultvalue(0)] IDispatch *objWbemInParameters,
1316 [in, defaultvalue(0)] long iFlags,
1317 [in, defaultvalue(0)] IDispatch *objWbemNamedValueSet,
1318 [in, defaultvalue(0)] IDispatch *objWbemAsyncContext);
1320 [ id(19), propget ]
1321 HRESULT Security_(
1322 [out, retval] ISWbemSecurity **objWbemSecurity);
1326 threading(apartment),
1327 uuid(76a64158-cb41-11d1-8b02-00600806d9b6),
1328 progid("WbemScripting.SWbemLocator.1"),
1329 vi_progid("WbemScripting.SWbemLocator")
1331 coclass SWbemLocator
1333 interface ISWbemLocator;
1337 threading(apartment),
1338 uuid(9aed384e-ce8b-11d1-8b05-00600806d9b6),
1339 progid("WbemScripting.SWbemNamedValueSet.1"),
1340 vi_progid("WbemScripting.SWbemNamedValueSet")
1342 coclass SWbemNamedValueSet
1344 interface ISWbemNamedValueSet;
1347 } /* WbemScripting */