source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wbemdisp.idl@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 44.2 KB
Line 
1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6
7import "dispex.idl";
8
9cpp_quote("#include <winapifamily.h>")
10cpp_quote("")
11cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
12
13[uuid (565783c6-CB41-11d1-8b02-00600806d9b6), lcid (0x00), version (1.2)]
14library WbemScripting {
15 importlib ("stdole2.tlb");
16
17 interface ISWbemDateTime;
18 interface ISWbemEventSource;
19 interface ISWbemLastError;
20 interface ISWbemLocator;
21 interface ISWbemMethod;
22 interface ISWbemMethodSet;
23 interface ISWbemNamedValue;
24 interface ISWbemNamedValueSet;
25 interface ISWbemObject;
26 interface ISWbemObjectEx;
27 interface ISWbemObjectPath;
28 interface ISWbemObjectSet;
29 interface ISWbemQualifier;
30 interface ISWbemQualifierSet;
31 interface ISWbemPrivilege;
32 interface ISWbemPrivilegeSet;
33 interface ISWbemProperty;
34 interface ISWbemPropertySet;
35 interface ISWbemRefresher;
36 interface ISWbemRefreshableItem;
37 interface ISWbemSecurity;
38 interface ISWbemServices;
39 interface ISWbemServicesEx;
40 interface ISWbemSink;
41 interface ISWbemSinkEvents;
42
43 typedef [v1_enum, uuid (4a249b72-FC9A-11d1-8b1e-00600806d9b6)]
44 enum WbemChangeFlagEnum {
45 wbemChangeFlagCreateOrUpdate = 0x0,
46 wbemChangeFlagUpdateOnly = 0x1,
47 wbemChangeFlagCreateOnly = 0x2,
48 wbemChangeFlagUpdateCompatible = 0x0,
49 wbemChangeFlagUpdateSafeMode = 0x20,
50 wbemChangeFlagUpdateForceMode = 0x40,
51 wbemChangeFlagStrongValidation = 0x80,
52 wbemChangeFlagAdvisory = 0x000010000
53 } WbemChangeFlagEnum;
54
55 typedef [v1_enum, uuid (4a249b73-FC9A-11d1-8b1e-00600806d9b6)]
56 enum WbemFlagEnum {
57 wbemFlagReturnImmediately = 0x10,
58 wbemFlagReturnWhenComplete = 0,
59 wbemFlagBidirectional = 0,
60 wbemFlagForwardOnly = 0x20,
61 wbemFlagNoErrorObject = 0x40,
62 wbemFlagReturnErrorObject = 0,
63 wbemFlagSendStatus = 0x80,
64 wbemFlagDontSendStatus = 0,
65 wbemFlagEnsureLocatable = 0x100,
66 wbemFlagDirectRead = 0x200,
67 wbemFlagSendOnlySelected = 0,
68 wbemFlagUseAmendedQualifiers = 0x20000,
69 wbemFlagGetDefault = 0x0,
70 wbemFlagSpawnInstance = 0x1,
71 wbemFlagUseCurrentTime = 0x1
72 } WbemFlagEnum;
73
74 typedef [v1_enum, uuid (4a249b76-FC9A-11d1-8b1e-00600806d9b6)]
75 enum WbemQueryFlagEnum {
76 wbemQueryFlagDeep = 0,
77 wbemQueryFlagShallow = 1,
78 wbemQueryFlagPrototype = 2
79 } WbemQueryFlagEnum;
80
81 typedef [v1_enum, uuid (4a249b78-FC9A-11d1-8b1e-00600806d9b6)]
82 enum WbemTextFlagEnum {
83 wbemTextFlagNoFlavors = 0x1
84 } WbemTextFlagEnum;
85
86 typedef [v1_enum, uuid (BF078C2A-07d9-11d2-8b21-00600806d9b6)]
87 enum WbemTimeout {
88 wbemTimeoutInfinite = 0xffffffff
89 } WbemTimeout;
90
91 typedef [v1_enum, uuid (4a249b79-FC9A-11d1-8b1e-00600806d9b6)]
92 enum WbemComparisonFlagEnum {
93 wbemComparisonFlagIncludeAll = 0,
94 wbemComparisonFlagIgnoreQualifiers = 0x1,
95 wbemComparisonFlagIgnoreObjectSource = 0x2,
96 wbemComparisonFlagIgnoreDefaultValues = 0x4,
97 wbemComparisonFlagIgnoreClass = 0x8,
98 wbemComparisonFlagIgnoreCase = 0x10,
99 wbemComparisonFlagIgnoreFlavor = 0x20
100 } WbemComparisonFlagEnum;
101
102 typedef [v1_enum, uuid (4a249b7b-FC9A-11d1-8b1e-00600806d9b6)]
103 enum WbemCimtypeEnum {
104 wbemCimtypeSint16 = 2,
105 wbemCimtypeSint32 = 3,
106 wbemCimtypeReal32 = 4,
107 wbemCimtypeReal64 = 5,
108 wbemCimtypeString = 8,
109 wbemCimtypeBoolean = 11,
110 wbemCimtypeObject = 13,
111 wbemCimtypeSint8 = 16,
112 wbemCimtypeUint8 = 17,
113 wbemCimtypeUint16 = 18,
114 wbemCimtypeUint32 = 19,
115 wbemCimtypeSint64 = 20,
116 wbemCimtypeUint64 = 21,
117 wbemCimtypeDatetime = 101,
118 wbemCimtypeReference = 102,
119 wbemCimtypeChar16 = 103
120 } WbemCimtypeEnum;
121
122 typedef [v1_enum, uuid (4a249b7c-FC9A-11d1-8b1e-00600806d9b6)]
123 enum WbemErrorEnum {
124 wbemNoErr = 0,
125 wbemErrFailed = 0x80041001,
126 wbemErrNotFound = 0x80041002,
127 wbemErrAccessDenied = 0x80041003,
128 wbemErrProviderFailure = 0x80041004,
129 wbemErrTypeMismatch = 0x80041005,
130 wbemErrOutOfMemory = 0x80041006,
131 wbemErrInvalidContext = 0x80041007,
132 wbemErrInvalidParameter = 0x80041008,
133 wbemErrNotAvailable = 0x80041009,
134 wbemErrCriticalError = 0x8004100a,
135 wbemErrInvalidStream = 0x8004100b,
136 wbemErrNotSupported = 0x8004100c,
137 wbemErrInvalidSuperclass = 0x8004100d,
138 wbemErrInvalidNamespace = 0x8004100e,
139 wbemErrInvalidObject = 0x8004100f,
140 wbemErrInvalidClass = 0x80041010,
141 wbemErrProviderNotFound = 0x80041011,
142 wbemErrInvalidProviderRegistration = 0x80041012,
143 wbemErrProviderLoadFailure = 0x80041013,
144 wbemErrInitializationFailure = 0x80041014,
145 wbemErrTransportFailure = 0x80041015,
146 wbemErrInvalidOperation = 0x80041016,
147 wbemErrInvalidQuery = 0x80041017,
148 wbemErrInvalidQueryType = 0x80041018,
149 wbemErrAlreadyExists = 0x80041019,
150 wbemErrOverrideNotAllowed = 0x8004101a,
151 wbemErrPropagatedQualifier = 0x8004101b,
152 wbemErrPropagatedProperty = 0x8004101c,
153 wbemErrUnexpected = 0x8004101d,
154 wbemErrIllegalOperation = 0x8004101e,
155 wbemErrCannotBeKey = 0x8004101f,
156 wbemErrIncompleteClass = 0x80041020,
157 wbemErrInvalidSyntax = 0x80041021,
158 wbemErrNondecoratedObject = 0x80041022,
159 wbemErrReadOnly = 0x80041023,
160 wbemErrProviderNotCapable = 0x80041024,
161 wbemErrClassHasChildren = 0x80041025,
162 wbemErrClassHasInstances = 0x80041026,
163 wbemErrQueryNotImplemented = 0x80041027,
164 wbemErrIllegalNull = 0x80041028,
165 wbemErrInvalidQualifierType = 0x80041029,
166 wbemErrInvalidPropertyType = 0x8004102a,
167 wbemErrValueOutOfRange = 0x8004102b,
168 wbemErrCannotBeSingleton = 0x8004102c,
169 wbemErrInvalidCimType = 0x8004102d,
170 wbemErrInvalidMethod = 0x8004102e,
171 wbemErrInvalidMethodParameters = 0x8004102f,
172 wbemErrSystemProperty = 0x80041030,
173 wbemErrInvalidProperty = 0x80041031,
174 wbemErrCallCancelled = 0x80041032,
175 wbemErrShuttingDown = 0x80041033,
176 wbemErrPropagatedMethod = 0x80041034,
177 wbemErrUnsupportedParameter = 0x80041035,
178 wbemErrMissingParameter = 0x80041036,
179 wbemErrInvalidParameterId = 0x80041037,
180 wbemErrNonConsecutiveParameterIds = 0x80041038,
181 wbemErrParameterIdOnRetval = 0x80041039,
182 wbemErrInvalidObjectPath = 0x8004103a,
183 wbemErrOutOfDiskSpace = 0x8004103b,
184 wbemErrBufferTooSmall = 0x8004103c,
185 wbemErrUnsupportedPutExtension = 0x8004103d,
186 wbemErrUnknownObjectType = 0x8004103e,
187 wbemErrUnknownPacketType = 0x8004103f,
188 wbemErrMarshalVersionMismatch = 0x80041040,
189 wbemErrMarshalInvalidSignature = 0x80041041,
190 wbemErrInvalidQualifier = 0x80041042,
191 wbemErrInvalidDuplicateParameter = 0x80041043,
192 wbemErrTooMuchData = 0x80041044,
193 wbemErrServerTooBusy = 0x80041045,
194 wbemErrInvalidFlavor = 0x80041046,
195 wbemErrCircularReference = 0x80041047,
196 wbemErrUnsupportedClassUpdate = 0x80041048,
197 wbemErrCannotChangeKeyInheritance = 0x80041049,
198 wbemErrCannotChangeIndexInheritance = 0x80041050,
199 wbemErrTooManyProperties = 0x80041051,
200 wbemErrUpdateTypeMismatch = 0x80041052,
201 wbemErrUpdateOverrideNotAllowed = 0x80041053,
202 wbemErrUpdatePropagatedMethod = 0x80041054,
203 wbemErrMethodNotImplemented = 0x80041055,
204 wbemErrMethodDisabled = 0x80041056,
205 wbemErrRefresherBusy = 0x80041057,
206 wbemErrUnparsableQuery = 0x80041058,
207 wbemErrNotEventClass = 0x80041059,
208 wbemErrMissingGroupWithin = 0x8004105a,
209 wbemErrMissingAggregationList = 0x8004105b,
210 wbemErrPropertyNotAnObject = 0x8004105c,
211 wbemErrAggregatingByObject = 0x8004105d,
212 wbemErrUninterpretableProviderQuery = 0x8004105f,
213 wbemErrBackupRestoreWinmgmtRunning = 0x80041060,
214 wbemErrQueueOverflow = 0x80041061,
215 wbemErrPrivilegeNotHeld = 0x80041062,
216 wbemErrInvalidOperator = 0x80041063,
217 wbemErrLocalCredentials = 0x80041064,
218 wbemErrCannotBeAbstract = 0x80041065,
219 wbemErrAmendedObject = 0x80041066,
220 wbemErrClientTooSlow = 0x80041067,
221 wbemErrNullSecurityDescriptor = 0x80041068,
222 wbemErrTimeout = 0x80041069,
223 wbemErrInvalidAssociation = 0x8004106a,
224 wbemErrAmbiguousOperation = 0x8004106b,
225 wbemErrQuotaViolation = 0x8004106c,
226 wbemErrTransactionConflict = 0x8004106d,
227 wbemErrForcedRollback = 0x8004106e,
228 wbemErrUnsupportedLocale = 0x8004106f,
229 wbemErrHandleOutOfDate = 0x80041070,
230 wbemErrConnectionFailed = 0x80041071,
231 wbemErrInvalidHandleRequest = 0x80041072,
232 wbemErrPropertyNameTooWide = 0x80041073,
233 wbemErrClassNameTooWide = 0x80041074,
234 wbemErrMethodNameTooWide = 0x80041075,
235 wbemErrQualifierNameTooWide = 0x80041076,
236 wbemErrRerunCommand = 0x80041077,
237 wbemErrDatabaseVerMismatch = 0x80041078,
238 wbemErrVetoPut = 0x80041079,
239 wbemErrVetoDelete = 0x8004107a,
240
241 wbemErrInvalidLocale = 0x80041080,
242 wbemErrProviderSuspended = 0x80041081,
243 wbemErrSynchronizationRequired = 0x80041082,
244 wbemErrNoSchema = 0x80041083,
245 wbemErrProviderAlreadyRegistered = 0x80041084,
246 wbemErrProviderNotRegistered = 0x80041085,
247 wbemErrFatalTransportError = 0x80041086,
248 wbemErrEncryptedConnectionRequired = 0x80041087,
249 wbemErrRegistrationTooBroad = 0x80042001,
250 wbemErrRegistrationTooPrecise = 0x80042002,
251 wbemErrTimedout = 0x80043001,
252 wbemErrResetToDefault = 0x80043002
253 } WbemErrorEnum;
254
255 typedef [v1_enum, uuid (B54D66E7-2287-11d2-8b33-00600806d9b6)]
256 enum WbemAuthenticationLevelEnum {
257 wbemAuthenticationLevelDefault = 0,
258 wbemAuthenticationLevelNone = 1,
259 wbemAuthenticationLevelConnect = 2,
260 wbemAuthenticationLevelCall = 3,
261 wbemAuthenticationLevelPkt = 4,
262 wbemAuthenticationLevelPktIntegrity = 5,
263 wbemAuthenticationLevelPktPrivacy = 6
264 } WbemAuthenticationLevelEnum;
265
266 typedef [v1_enum, uuid (B54D66E8-2287-11d2-8b33-00600806d9b6)]
267 enum WbemImpersonationLevelEnum {
268 wbemImpersonationLevelAnonymous = 1,
269 wbemImpersonationLevelIdentify = 2,
270 wbemImpersonationLevelImpersonate = 3,
271 wbemImpersonationLevelDelegate = 4
272 } WbemImpersonationLevelEnum;
273
274 typedef [v1_enum, uuid (176d2f70-5af3-11d2-8b4a-00600806d9b6)]
275 enum WbemPrivilegeEnum {
276 wbemPrivilegeCreateToken = 1,
277 wbemPrivilegePrimaryToken = 2,
278 wbemPrivilegeLockMemory = 3,
279 wbemPrivilegeIncreaseQuota = 4,
280 wbemPrivilegeMachineAccount = 5,
281 wbemPrivilegeTcb = 6,
282 wbemPrivilegeSecurity = 7,
283 wbemPrivilegeTakeOwnership = 8,
284 wbemPrivilegeLoadDriver = 9,
285 wbemPrivilegeSystemProfile = 10,
286 wbemPrivilegeSystemtime = 11,
287 wbemPrivilegeProfileSingleProcess = 12,
288 wbemPrivilegeIncreaseBasePriority = 13,
289 wbemPrivilegeCreatePagefile = 14,
290 wbemPrivilegeCreatePermanent = 15,
291 wbemPrivilegeBackup = 16,
292 wbemPrivilegeRestore = 17,
293 wbemPrivilegeShutdown = 18,
294 wbemPrivilegeDebug = 19,
295 wbemPrivilegeAudit = 20,
296 wbemPrivilegeSystemEnvironment = 21,
297 wbemPrivilegeChangeNotify = 22,
298 wbemPrivilegeRemoteShutdown = 23,
299 wbemPrivilegeUndock = 24,
300 wbemPrivilegeSyncAgent = 25,
301 wbemPrivilegeEnableDelegation = 26,
302 wbemPrivilegeManageVolume = 27
303 } WbemPrivilegeEnum;
304
305 typedef [v1_enum, uuid (09ff1992-EA0E-11d3-B391-00105a1f473a)]
306 enum WbemObjectTextFormatEnum {
307 wbemObjectTextFormatCIMDTD20 = 1,
308 wbemObjectTextFormatWMIDTD20 = 2
309 } WbemObjectTextFormatEnum;
310
311 typedef [v1_enum] enum WbemConnectOptionsEnum {
312 wbemConnectFlagUseMaxWait = 0x80
313 } WbemConnectOptionsEnum;
314
315const ULONG WBEMS_DISPID_OBJECT_READY = 1;
316const ULONG WBEMS_DISPID_COMPLETED = 2;
317const ULONG WBEMS_DISPID_PROGRESS = 3;
318const ULONG WBEMS_DISPID_OBJECT_PUT = 4;
319const ULONG WBEMS_DISPID_CONNECTION_READY = 5;
320
321const ULONG WBEMS_DISPID_DERIVATION = 23;
322
323 [uuid (76a64158-CB41-11d1-8b02-00600806d9b6)]
324 coclass SWbemLocator {
325 interface ISWbemLocator;
326 };
327
328 [uuid (9aed384e-CE8B-11d1-8b05-00600806d9b6)]
329 coclass SWbemNamedValueSet {
330 interface ISWbemNamedValueSet;
331 };
332
333 [uuid (5791bc26-CE9C-11d1-97bf-0000f81e849c)]
334 coclass SWbemObjectPath {
335 interface ISWbemObjectPath;
336 };
337
338 [uuid (C2FEEEAC-CFCD-11d1-8b05-00600806d9b6)]
339 coclass SWbemLastError {
340 interface ISWbemLastError;
341 };
342
343 [uuid (75718c9a-F029-11d1-A1AC-00c04fb6c223)]
344 coclass SWbemSink {
345 interface ISWbemSink;
346 [default, source] dispinterface ISWbemSinkEvents;
347 };
348
349 [uuid (47dfbe54-CF76-11d3-B38F-00105a1f473a)]
350 coclass SWbemDateTime {
351 interface ISWbemDateTime;
352 };
353
354 [uuid (D269BF5C-D9C1-11d3-B38F-00105a1f473a)]
355 coclass SWbemRefresher {
356 interface ISWbemRefresher;
357 };
358
359 [uuid (04b83d63-21ae-11d2-8b33-00600806d9b6), noncreatable]
360 coclass SWbemServices {
361 interface ISWbemServices;
362 };
363
364 [uuid (62e522dc-8cf3-40a8-8b2e-37d595651e40), noncreatable]
365 coclass SWbemServicesEx {
366 interface ISWbemServicesEx;
367 };
368
369 [uuid (04b83d62-21ae-11d2-8b33-00600806d9b6), noncreatable]
370 coclass SWbemObject {
371 interface ISWbemObject;
372 };
373
374 [uuid (D6BDAFB2-9435-491f-BB87-6aa0f0bc31a2), noncreatable]
375 coclass SWbemObjectEx {
376 interface ISWbemObjectEx;
377 };
378
379 [uuid (04b83d61-21ae-11d2-8b33-00600806d9b6), noncreatable]
380 coclass SWbemObjectSet {
381 interface ISWbemObjectSet;
382 };
383
384 [uuid (04b83d60-21ae-11d2-8b33-00600806d9b6), noncreatable]
385 coclass SWbemNamedValue {
386 interface ISWbemNamedValue;
387 };
388
389 [uuid (04b83d5f-21ae-11d2-8b33-00600806d9b6), noncreatable]
390 coclass SWbemQualifier {
391 interface ISWbemQualifier;
392 }
393
394 [uuid (04b83d5e-21ae-11d2-8b33-00600806d9b6), noncreatable]
395 coclass SWbemQualifierSet {
396 interface ISWbemQualifierSet;
397 };
398
399 [uuid (04b83d5d-21ae-11d2-8b33-00600806d9b6), noncreatable]
400 coclass SWbemProperty {
401 interface ISWbemProperty;
402 };
403
404 [uuid (04b83d5c-21ae-11d2-8b33-00600806d9b6), noncreatable]
405 coclass SWbemPropertySet {
406 interface ISWbemPropertySet;
407 };
408
409 [uuid (04b83d5b-21ae-11d2-8b33-00600806d9b6), noncreatable]
410 coclass SWbemMethod {
411 interface ISWbemMethod;
412 };
413
414 [uuid (04b83d5a-21ae-11d2-8b33-00600806d9b6), noncreatable]
415 coclass SWbemMethodSet {
416 interface ISWbemMethodSet;
417 }
418
419 [uuid (04b83d58-21ae-11d2-8b33-00600806d9b6), noncreatable]
420 coclass SWbemEventSource {
421 interface ISWbemEventSource;
422 };
423
424 [uuid (B54D66E9-2287-11d2-8b33-00600806d9b6), noncreatable]
425 coclass SWbemSecurity {
426 interface ISWbemSecurity;
427 }
428
429 [uuid (26ee67bc-5804-11d2-8b4a-00600806d9b6), noncreatable]
430 coclass SWbemPrivilege {
431 interface ISWbemPrivilege;
432 }
433
434 [uuid (26ee67be-5804-11d2-8b4a-00600806d9b6), noncreatable]
435 coclass SWbemPrivilegeSet {
436 interface ISWbemPrivilegeSet;
437 }
438
439 [uuid (8c6854bc-DE4B-11d3-B390-00105a1f473a), noncreatable]
440 coclass SWbemRefreshableItem {
441 interface ISWbemRefreshableItem;
442 }
443};
444
445[object, local, uuid (76a6415b-CB41-11d1-8b02-00600806d9b6), dual, hidden, oleautomation, pointer_default (unique)]
446interface ISWbemLocator : IDispatch {
447 [id (1)] HRESULT ConnectServer ([in, defaultvalue (L".")] BSTR strServer,[in, defaultvalue (L"")] BSTR strNamespace,[in, defaultvalue (L"")] BSTR strUser,[in, defaultvalue (L"")] BSTR strPassword,[in, defaultvalue (L"")] BSTR strLocale,[in, defaultvalue (L"")] BSTR strAuthority,[in, defaultvalue (0)] long iSecurityFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemServices **objWbemServices);
448 [id (2), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
449};
450
451[local, object, uuid (76a6415c-CB41-11d1-8b02-00600806d9b6), oleautomation, dual, pointer_default (unique), hidden]
452interface ISWbemServices : IDispatch {
453 [id (1)] HRESULT Get ([in, defaultvalue (L"")] BSTR strObjectPath,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObject **objWbemObject);
454 [id (2)] HRESULT GetAsync ([in] IDispatch *objWbemSink,[in, defaultvalue (L"")] BSTR strObjectPath,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
455 [id (3)] HRESULT Delete ([in] BSTR strObjectPath,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet);
456 [id (4)] HRESULT DeleteAsync ([in] IDispatch *objWbemSink,[in] BSTR strObjectPath,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
457 [id (5)] HRESULT InstancesOf ([in] BSTR strClass,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
458 [id (6)] HRESULT InstancesOfAsync ([in] IDispatch *objWbemSink,[in] BSTR strClass,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
459 [id (7)] HRESULT SubclassesOf ([in, defaultvalue (L"")] BSTR strSuperclass,[in, defaultvalue (wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
460 [id (8)] HRESULT SubclassesOfAsync ([in] IDispatch *objWbemSink,[in, defaultvalue (L"")] BSTR strSuperclass,[in, defaultvalue (wbemQueryFlagDeep)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
461 [id (9)] HRESULT ExecQuery ([in] BSTR strQuery,[in, defaultvalue (L"WQL")] BSTR strQueryLanguage,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
462 [id (10)] HRESULT ExecQueryAsync ([in] IDispatch *objWbemSink,[in] BSTR strQuery,[in, defaultvalue (L"WQL")] BSTR strQueryLanguage,[in, defaultvalue (0)] long lFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
463 [id (11)] HRESULT AssociatorsOf ([in] BSTR strObjectPath,[in, defaultvalue (L"")] BSTR strAssocClass,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strResultRole,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredAssocQualifier,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
464 [id (12)] HRESULT AssociatorsOfAsync ([in] IDispatch *objWbemSink,[in] BSTR strObjectPath,[in, defaultvalue (L"")] BSTR strAssocClass,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strResultRole,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredAssocQualifier,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
465 [id (13)] HRESULT ReferencesTo ([in] BSTR strObjectPath,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
466 [id (14)] HRESULT ReferencesToAsync ([in] IDispatch *objWbemSink,[in] BSTR strObjectPath,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
467 [id (15)] HRESULT ExecNotificationQuery ([in] BSTR strQuery,[in, defaultvalue (L"WQL")] BSTR strQueryLanguage,[in, defaultvalue (wbemFlagReturnImmediately|wbemFlagForwardOnly)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemEventSource **objWbemEventSource);
468 [id (16)] HRESULT ExecNotificationQueryAsync ([in] IDispatch *objWbemSink,[in] BSTR strQuery,[in, defaultvalue (L"WQL")] BSTR strQueryLanguage,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
469 [id (17)] HRESULT ExecMethod ([in] BSTR strObjectPath,[in] BSTR strMethodName,[in, defaultvalue (0)] IDispatch *objWbemInParameters,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObject **objWbemOutParameters);
470 [id (18)] HRESULT ExecMethodAsync ([in] IDispatch *objWbemSink,[in] BSTR strObjectPath,[in] BSTR strMethodName,[in, defaultvalue (0)] IDispatch *objWbemInParameters,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
471 [id (19), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
472};
473
474[local, object, uuid (d2f68443-85dc-427e-91d8-366554cc754c), oleautomation, dual, nonextensible, pointer_default (unique), hidden]
475interface ISWbemServicesEx : ISWbemServices {
476 [id (20)] HRESULT Put ([in] ISWbemObjectEx *objWbemObject,[in, defaultvalue (wbemChangeFlagCreateOrUpdate)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectPath **objWbemObjectPath);
477 [id (21)] HRESULT PutAsync ([in] ISWbemSink *objWbemSink,[in] ISWbemObjectEx *objWbemObject,[in, defaultvalue (wbemChangeFlagCreateOrUpdate)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
478};
479
480[local, object, uuid (76a6415a-cb41-11d1-8b02-00600806d9b6), dual, oleautomation, hidden]
481interface ISWbemObject : IDispatch {
482 [id (1)] HRESULT Put_ ([in, defaultvalue (wbemChangeFlagCreateOrUpdate)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectPath **objWbemObjectPath);
483 [id (2)] HRESULT PutAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (wbemChangeFlagCreateOrUpdate)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
484 [id (3)] HRESULT Delete_ ([in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet);
485 [id (4)] HRESULT DeleteAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
486 [id (5)] HRESULT Instances_ ([in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
487 [id (6)] HRESULT InstancesAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
488 [id (7)] HRESULT Subclasses_ ([in, defaultvalue (wbemFlagReturnImmediately|wbemQueryFlagDeep)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
489 [id (8)] HRESULT SubclassesAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (wbemQueryFlagDeep)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
490 [id (9)] HRESULT Associators_ ([in, defaultvalue (L"")] BSTR strAssocClass,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strResultRole,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredAssocQualifier,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
491 [id (10)] HRESULT AssociatorsAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (L"")] BSTR strAssocClass,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strResultRole,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredAssocQualifier,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
492 [id (11)] HRESULT References_ ([in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (wbemFlagReturnImmediately)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObjectSet **objWbemObjectSet);
493 [id (12)] HRESULT ReferencesAsync_ ([in] IDispatch *objWbemSink,[in, defaultvalue (L"")] BSTR strResultClass,[in, defaultvalue (L"")] BSTR strRole,[in, defaultvalue (FALSE)] VARIANT_BOOL bClassesOnly,[in, defaultvalue (FALSE)] VARIANT_BOOL bSchemaOnly,[in, defaultvalue (L"")] BSTR strRequiredQualifier,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
494 [id (13)] HRESULT ExecMethod_ ([in] BSTR strMethodName,[in, defaultvalue (0)] IDispatch *objWbemInParameters,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemObject **objWbemOutParameters);
495 [id (14)] HRESULT ExecMethodAsync_ ([in] IDispatch *objWbemSink,[in] BSTR strMethodName,[in, defaultvalue (0)] IDispatch *objWbemInParameters,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[in, defaultvalue (0)] IDispatch *objWbemAsyncContext);
496 [id (15)] HRESULT Clone_ ([out, retval] ISWbemObject **objWbemObject);
497 [id (16)] HRESULT GetObjectText_ ([in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] BSTR *strObjectText);
498 [id (17)] HRESULT SpawnDerivedClass_ ([in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemObject **objWbemObject);
499 [id (18)] HRESULT SpawnInstance_ ([in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemObject **objWbemObject);
500 [id (19)] HRESULT CompareTo_ ([in] IDispatch *objWbemObject,[in, defaultvalue (wbemComparisonFlagIncludeAll)] long iFlags,[defaultvalue (0), out, retval] VARIANT_BOOL *bResult);
501 [id (20), propget] HRESULT Qualifiers_ ([out, retval] ISWbemQualifierSet **objWbemQualifierSet);
502 [id (21), propget] HRESULT Properties_ ([out, retval] ISWbemPropertySet **objWbemPropertySet);
503 [id (22), propget] HRESULT Methods_ ([out, retval] ISWbemMethodSet **objWbemMethodSet);
504 [id (23), propget] HRESULT Derivation_ ([out, retval] VARIANT *strClassNameArray);
505 [id (24), propget] HRESULT Path_ ([out, retval] ISWbemObjectPath **objWbemObjectPath);
506 [id (25), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
507};
508
509[local, object, uuid (269ad56a-8a67-4129-bc8c-0506dcfe9880), dual, oleautomation, hidden]
510interface ISWbemObjectEx : ISWbemObject {
511 [id (26)] HRESULT Refresh_ ([in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet);
512 [id (27), propget] HRESULT SystemProperties_ ([out, retval] ISWbemPropertySet **objWbemPropertySet);
513 [id (28)] HRESULT GetText_ ([in] WbemObjectTextFormatEnum iObjectTextFormat,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] BSTR *bsText);
514 [id (29)] HRESULT SetFromText_ ([in] BSTR bsText,[in] WbemObjectTextFormatEnum iObjectTextFormat,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet);
515};
516
517[local, object, uuid (d962db84-d4bb-11d1-8b09-00600806d9b6), dual, oleautomation, hidden]
518interface ISWbemLastError : ISWbemObject {
519};
520
521[local, object, uuid (76a6415f-cb41-11d1-8b02-00600806d9b6), oleautomation, dual, hidden, nonextensible]
522interface ISWbemObjectSet : IDispatch {
523 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
524 [id (DISPID_VALUE)] HRESULT Item ([in] BSTR strObjectPath,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemObject **objWbemObject);
525 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
526 [id (4), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
527 [id (5)] HRESULT ItemIndex ([in] long lIndex,[out, retval] ISWbemObject **objWbemObject);
528};
529
530[local, object, uuid (cf2376ea-ce8c-11d1-8b05-00600806d9b6), oleautomation, dual, hidden]
531interface ISWbemNamedValueSet : IDispatch {
532 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
533 [id (DISPID_VALUE)] HRESULT Item ([in] BSTR strName,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemNamedValue **objWbemNamedValue);
534 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
535 [id (2)] HRESULT Add ([in] BSTR strName,[in] VARIANT *varValue,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemNamedValue **objWbemNamedValue);
536 [id (3)] HRESULT Remove ([in] BSTR strName,[in, defaultvalue (0)] long iFlags);
537 [id (4)] HRESULT Clone ([out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
538 [id (5)] HRESULT DeleteAll ();
539};
540
541[local, object, uuid (76a64164-CB41-11d1-8b02-00600806d9b6), dual, oleautomation, hidden]
542interface ISWbemNamedValue : IDispatch {
543 [id (DISPID_VALUE), propget] HRESULT Value ([out, retval] VARIANT *varValue);
544 [id (DISPID_VALUE), propput] HRESULT Value ([in] VARIANT *varValue);
545 [id (2), propget] HRESULT Name ([out, retval] BSTR *strName);
546};
547
548[object, local, uuid (5791bc27-CE9C-11d1-97bf-0000f81e849c), dual, oleautomation, hidden, pointer_default (unique)]
549interface ISWbemObjectPath : IDispatch {
550 [id (DISPID_VALUE), propget] HRESULT Path ([out, retval] BSTR *strPath);
551 [id (DISPID_VALUE), propput] HRESULT Path ([in] BSTR strPath);
552 [id (1), propget] HRESULT RelPath ([out, retval] BSTR *strRelPath);
553 [id (1), propput] HRESULT RelPath ([in] BSTR strRelPath);
554 [id (2), propget] HRESULT Server ([out, retval] BSTR *strServer);
555 [id (2), propput] HRESULT Server ([in] BSTR strServer);
556 [id (3), propget] HRESULT Namespace ([out, retval] BSTR *strNamespace);
557 [id (3), propput] HRESULT Namespace ([in] BSTR strNamespace);
558 [id (4), propget] HRESULT ParentNamespace ([out, retval] BSTR *strParentNamespace);
559 [id (5), propget] HRESULT DisplayName ([out, retval] BSTR *strDisplayName);
560 [id (5), propput] HRESULT DisplayName ([in] BSTR strDisplayName);
561 [id (6), propget] HRESULT Class ([out, retval] BSTR *strClass);
562 [id (6), propput] HRESULT Class ([in] BSTR strClass);
563 [id (7), propget] HRESULT IsClass ([out, retval] VARIANT_BOOL *bIsClass);
564 [id (8)] HRESULT SetAsClass ();
565 [id (9), propget] HRESULT IsSingleton ([out, retval] VARIANT_BOOL *bIsSingleton);
566 [id (10)] HRESULT SetAsSingleton ();
567 [id (11), propget] HRESULT Keys ([out, retval] ISWbemNamedValueSet **objWbemNamedValueSet);
568 [id (12), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
569 [id (13), propget] HRESULT Locale ([out, retval] BSTR *strLocale);
570 [id (13), propput] HRESULT Locale ([in] BSTR strLocale);
571 [id (14), propget] HRESULT Authority ([out, retval] BSTR *strAuthority);
572 [id (14), propput] HRESULT Authority ([in] BSTR strAuthority);
573};
574
575[object, local, uuid (1a388f98-D4BA-11d1-8b09-00600806d9b6), dual, oleautomation, hidden, pointer_default (unique)]
576interface ISWbemProperty : IDispatch {
577 [id (DISPID_VALUE), propget] HRESULT Value ([out, retval] VARIANT *varValue);
578 [id (DISPID_VALUE), propput] HRESULT Value ([in] VARIANT *varValue);
579 [id (1), propget] HRESULT Name ([out, retval] BSTR *strName);
580 [id (2), propget] HRESULT IsLocal ([out, retval] VARIANT_BOOL *bIsLocal);
581 [id (3), propget] HRESULT Origin ([out, retval] BSTR *strOrigin);
582 [id (4), propget] HRESULT CIMType ([out, retval] WbemCimtypeEnum *iCimType);
583 [id (5), propget] HRESULT Qualifiers_ ([out, retval] ISWbemQualifierSet **objWbemQualifierSet);
584 [id (6), propget] HRESULT IsArray ([out, retval] VARIANT_BOOL *bIsArray);
585};
586
587[object, local, uuid (dea0a7B2-d4ba-11d1-8b09-00600806d9b6), oleautomation, dual, hidden]
588interface ISWbemPropertySet : IDispatch {
589 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
590 [id (DISPID_VALUE)] HRESULT Item ([in] BSTR strName,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemProperty **objWbemProperty);
591 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
592 [id (2)] HRESULT Add ([in] BSTR strName,[in] WbemCimtypeEnum iCIMType,[in, defaultvalue (FALSE)] VARIANT_BOOL bIsArray,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemProperty **objWbemProperty);
593 [id (3)] HRESULT Remove ([in] BSTR strName,[in, defaultvalue (0)] long iFlags);
594};
595
596[object, local, uuid (79b05932-D3B7-11d1-8b06-00600806d9b6), dual, oleautomation, hidden, nonextensible, pointer_default (unique)]
597interface ISWbemQualifier : IDispatch {
598 [id (DISPID_VALUE), propget] HRESULT Value ([out, retval] VARIANT *varValue);
599 [id (DISPID_VALUE), propput] HRESULT Value ([in] VARIANT *varValue);
600 [id (1), propget] HRESULT Name ([out, retval] BSTR *strName);
601 [id (2), propget] HRESULT IsLocal ([out, retval] VARIANT_BOOL *bIsLocal);
602 [id (3), propget] HRESULT PropagatesToSubclass ([out, retval] VARIANT_BOOL *bPropagatesToSubclass);
603 [id (3), propput] HRESULT PropagatesToSubclass ([in] VARIANT_BOOL bPropagatesToSubclass);
604 [id (4), propget] HRESULT PropagatesToInstance ([out, retval] VARIANT_BOOL *bPropagatesToInstance);
605 [id (4), propput] HRESULT PropagatesToInstance ([in] VARIANT_BOOL bPropagatesToInstance);
606 [id (5), propget] HRESULT IsOverridable ([out, retval] VARIANT_BOOL *bIsOverridable);
607 [id (5), propput] HRESULT IsOverridable ([in] VARIANT_BOOL bIsOverridable);
608 [id (6), propget] HRESULT IsAmended ([out, retval] VARIANT_BOOL *bIsAmended);
609};
610
611[object, local, uuid (9b16ed16-d3df-11d1-8b08-00600806d9b6), oleautomation, dual, hidden, nonextensible]
612interface ISWbemQualifierSet : IDispatch {
613 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
614 [id (DISPID_VALUE)] HRESULT Item ([in] BSTR name,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemQualifier **objWbemQualifier);
615 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
616 [id (2)] HRESULT Add ([in] BSTR strName,[in] VARIANT *varVal,[in, defaultvalue (TRUE)] VARIANT_BOOL bPropagatesToSubclass,[in, defaultvalue (TRUE)] VARIANT_BOOL bPropagatesToInstance,[in, defaultvalue (TRUE)] VARIANT_BOOL bIsOverridable,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemQualifier **objWbemQualifier);
617 [id (3)] HRESULT Remove ([in] BSTR strName,[in, defaultvalue (0)] long iFlags);
618};
619
620[object, local, uuid (422e8e90-D955-11d1-8b09-00600806d9b6), dual, oleautomation, pointer_default (unique), nonextensible, hidden]
621interface ISWbemMethod : IDispatch {
622 [id (1), propget] HRESULT Name ([out, retval] BSTR *strName);
623 [id (2), propget] HRESULT Origin ([out, retval] BSTR *strOrigin);
624 [id (3), propget] HRESULT InParameters ([out, retval] ISWbemObject **objWbemInParameters);
625 [id (4), propget] HRESULT OutParameters ([out, retval] ISWbemObject **objWbemOutParameters);
626 [id (5), propget] HRESULT Qualifiers_ ([out, retval] ISWbemQualifierSet **objWbemQualifierSet);
627};
628
629[local, object, uuid (c93ba292-d955-11d1-8b09-00600806d9b6), oleautomation, dual, nonextensible, hidden]
630interface ISWbemMethodSet : IDispatch {
631 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
632 [id (DISPID_VALUE)] HRESULT Item ([in] BSTR strName,[in, defaultvalue (0)] long iFlags,[defaultvalue (0), out, retval] ISWbemMethod **objWbemMethod);
633 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
634};
635
636[object, uuid (75718c9f-f029-11d1-a1ac-00c04fb6c223), oleautomation, dual, hidden, nonextensible]
637interface ISWbemSink : IDispatch {
638 [id (1)] HRESULT Cancel ();
639};
640
641[uuid (75718ca0-f029-11d1-a1ac-00c04fb6c223), hidden] /* , nonextensible */
642dispinterface ISWbemSinkEvents {
643 properties:
644 methods:
645 [id (WBEMS_DISPID_OBJECT_READY)] void OnObjectReady (ISWbemObject *objWbemObject, ISWbemNamedValueSet *objWbemAsyncContext);
646 [id (WBEMS_DISPID_COMPLETED)] void OnCompleted (WbemErrorEnum iHResult, ISWbemObject *objWbemErrorObject, ISWbemNamedValueSet *objWbemAsyncContext);
647 [id (WBEMS_DISPID_PROGRESS)] void OnProgress (long iUpperBound, long iCurrent, BSTR strMessage, ISWbemNamedValueSet *objWbemAsyncContext);
648 [id (WBEMS_DISPID_OBJECT_PUT)] void OnObjectPut (ISWbemObjectPath *objWbemObjectPath, ISWbemNamedValueSet *objWbemAsyncContext);
649};
650
651[object, local, uuid (27d54d92-0ebe-11d2-8b22-00600806d9b6), oleautomation, dual, nonextensible, hidden]
652interface ISWbemEventSource : IDispatch {
653 [id (1)] HRESULT NextEvent ([in, defaultvalue (wbemTimeoutInfinite)] long iTimeoutMs,[defaultvalue (0), out, retval] ISWbemObject **objWbemObject);
654 [id (2), propget] HRESULT Security_ ([out, retval] ISWbemSecurity **objWbemSecurity);
655};
656
657[object, local, uuid (b54d66e6-2287-11d2-8b33-00600806d9b6), oleautomation, dual, nonextensible, hidden]
658interface ISWbemSecurity : IDispatch {
659 [id (1), propget] HRESULT ImpersonationLevel ([out, retval] WbemImpersonationLevelEnum *iImpersonationLevel);
660 [id (1), propput] HRESULT ImpersonationLevel ([in] WbemImpersonationLevelEnum iImpersonationLevel);
661 [id (2), propget] HRESULT AuthenticationLevel ([out, retval] WbemAuthenticationLevelEnum *iAuthenticationLevel);
662 [id (2), propput] HRESULT AuthenticationLevel ([in] WbemAuthenticationLevelEnum iAuthenticationLevel);
663 [id (3), propget] HRESULT Privileges ([out, retval] ISWbemPrivilegeSet **objWbemPrivilegeSet);
664};
665
666[object, local, uuid (26ee67bd-5804-11d2-8b4a-00600806d9b6), oleautomation, dual, nonextensible, hidden]
667interface ISWbemPrivilege : IDispatch {
668 [id (DISPID_VALUE), propget] HRESULT IsEnabled ([out, retval] VARIANT_BOOL *bIsEnabled);
669 [id (DISPID_VALUE), propput] HRESULT IsEnabled ([in] VARIANT_BOOL bIsEnabled);
670 [id (1), propget] HRESULT Name ([out, retval] BSTR *strDisplayName);
671 [id (2), propget] HRESULT DisplayName ([out, retval] BSTR *strDisplayName);
672 [id (3), propget] HRESULT Identifier ([out, retval] WbemPrivilegeEnum *iPrivilege);
673};
674
675[object, local, uuid (26ee67bf-5804-11d2-8b4a-00600806d9b6), oleautomation, dual, hidden, nonextensible]
676interface ISWbemPrivilegeSet : IDispatch {
677 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
678 [id (DISPID_VALUE)] HRESULT Item ([in] WbemPrivilegeEnum iPrivilege,[out, retval] ISWbemPrivilege **objWbemPrivilege);
679 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
680 [id (2)] HRESULT Add ([in] WbemPrivilegeEnum iPrivilege,[in, defaultvalue (TRUE)] VARIANT_BOOL bIsEnabled,[defaultvalue (0), out, retval] ISWbemPrivilege **objWbemPrivilege);
681 [id (3)] HRESULT Remove ([in] WbemPrivilegeEnum iPrivilege);
682 [id (4)] HRESULT DeleteAll ();
683 [id (5)] HRESULT AddAsString ([in] BSTR strPrivilege,[in, defaultvalue (TRUE)] VARIANT_BOOL bIsEnabled,[defaultvalue (0), out, retval] ISWbemPrivilege **objWbemPrivilege);
684};
685
686[object, local, uuid (5e97458a-cf77-11d3-B38F-00105a1f473a), oleautomation, dual, nonextensible]
687interface ISWbemDateTime : IDispatch {
688 [id (DISPID_VALUE), propget] HRESULT Value ([out, retval] BSTR *strValue);
689 [id (DISPID_VALUE), propput] HRESULT Value ([in] BSTR strValue);
690 [id (1), propget] HRESULT Year ([out, retval] long *iYear);
691 [id (1), propput] HRESULT Year ([in] long iYear);
692 [id (2), propget] HRESULT YearSpecified ([out, retval] VARIANT_BOOL *bYearSpecified);
693 [id (2), propput] HRESULT YearSpecified ([in] VARIANT_BOOL bYearSpecified);
694 [id (3), propget] HRESULT Month ([out, retval] long *iMonth);
695 [id (3), propput] HRESULT Month ([in] long iMonth);
696 [id (4), propget] HRESULT MonthSpecified ([out, retval] VARIANT_BOOL *bMonthSpecified);
697 [id (4), propput] HRESULT MonthSpecified ([in] VARIANT_BOOL bMonthSpecified);
698 [id (5), propget] HRESULT Day ([out, retval] long *iDay);
699 [id (5), propput] HRESULT Day ([in] long iDay);
700 [id (6), propget] HRESULT DaySpecified ([out, retval] VARIANT_BOOL *bDaySpecified);
701 [id (6), propput] HRESULT DaySpecified ([in] VARIANT_BOOL bDaySpecified);
702 [id (7), propget] HRESULT Hours ([out, retval] long *iHours);
703 [id (7), propput] HRESULT Hours ([in] long iHours);
704 [id (8), propget] HRESULT HoursSpecified ([out, retval] VARIANT_BOOL *bHoursSpecified);
705 [id (8), propput] HRESULT HoursSpecified ([in] VARIANT_BOOL bHoursSpecified);
706 [id (9), propget] HRESULT Minutes ([out, retval] long *iMinutes);
707 [id (9), propput] HRESULT Minutes ([in] long iMinutes);
708 [id (10), propget] HRESULT MinutesSpecified ([out, retval] VARIANT_BOOL *bMinutesSpecified);
709 [id (10), propput] HRESULT MinutesSpecified ([in] VARIANT_BOOL bMinutesSpecified);
710 [id (11), propget] HRESULT Seconds ([out, retval] long *iSeconds);
711 [id (11), propput] HRESULT Seconds ([in] long iSeconds);
712 [id (12), propget] HRESULT SecondsSpecified ([out, retval] VARIANT_BOOL *bSecondsSpecified);
713 [id (12), propput] HRESULT SecondsSpecified ([in] VARIANT_BOOL bSecondsSpecified);
714 [id (13), propget] HRESULT Microseconds ([out, retval] long *iMicroseconds);
715 [id (13), propput] HRESULT Microseconds ([in] long iMicroseconds);
716 [id (14), propget] HRESULT MicrosecondsSpecified ([out, retval] VARIANT_BOOL *bMicrosecondsSpecified);
717 [id (14), propput] HRESULT MicrosecondsSpecified ([in] VARIANT_BOOL bMicrosecondsSpecified);
718 [id (15), propget] HRESULT UTC ([out, retval] long *iUTC);
719 [id (15), propput] HRESULT UTC ([in] long iUTC);
720 [id (16), propget] HRESULT UTCSpecified ([out, retval] VARIANT_BOOL *bUTCSpecified);
721 [id (16), propput] HRESULT UTCSpecified ([in] VARIANT_BOOL bUTCSpecified);
722 [id (17), propget] HRESULT IsInterval ([out, retval] VARIANT_BOOL *bIsInterval);
723 [id (17), propput] HRESULT IsInterval ([in] VARIANT_BOOL bIsInterval);
724 [id (18)] HRESULT GetVarDate ([in, defaultvalue (TRUE)] VARIANT_BOOL bIsLocal,[defaultvalue (0), out, retval] DATE *dVarDate);
725 [id (19)] HRESULT SetVarDate ([in] DATE dVarDate,[in, defaultvalue (TRUE)] VARIANT_BOOL bIsLocal);
726 [id (20)] HRESULT GetFileTime ([in, defaultvalue (TRUE)] VARIANT_BOOL bIsLocal,[defaultvalue (0), out, retval] BSTR *strFileTime);
727 [id (21)] HRESULT SetFileTime ([in] BSTR strFileTime,[in, defaultvalue (TRUE)] VARIANT_BOOL bIsLocal);
728};
729
730[object, local, uuid (5ad4bf92-daab-11d3-b38f-00105a1f473a), oleautomation, dual, nonextensible]
731interface ISWbemRefreshableItem : IDispatch {
732 [id (1), propget] HRESULT Index ([out, retval] long *iIndex);
733 [id (2), propget] HRESULT Refresher ([out, retval] ISWbemRefresher **objWbemRefresher);
734 [id (3), propget] HRESULT IsSet ([out, retval] VARIANT_BOOL *bIsSet);
735 [id (4), propget] HRESULT Object ([out, retval] ISWbemObjectEx **objWbemObject);
736 [id (5), propget] HRESULT ObjectSet ([out, retval] ISWbemObjectSet **objWbemObjectSet);
737 [id (6)] HRESULT Remove ([in, defaultvalue (0)] long iFlags);
738};
739
740[object, local, uuid (14d8250e-d9c2-11d3-b38f-00105a1f473a), oleautomation, dual, nonextensible]
741interface ISWbemRefresher : IDispatch {
742 [id (DISPID_NEWENUM), propget, restricted] HRESULT _NewEnum ([out, retval] IUnknown **pUnk);
743 [id (DISPID_VALUE)] HRESULT Item ([in] long iIndex,[out, retval] ISWbemRefreshableItem **objWbemRefreshableItem);
744 [id (1), propget] HRESULT Count ([out, retval] long *iCount);
745 [id (2)] HRESULT Add ([in] ISWbemServicesEx *objWbemServices,[in] BSTR bsInstancePath,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemRefreshableItem **objWbemRefreshableItem);
746 [id (3)] HRESULT AddEnum ([in] ISWbemServicesEx *objWbemServices,[in] BSTR bsClassName,[in, defaultvalue (0)] long iFlags,[in, defaultvalue (0)] IDispatch *objWbemNamedValueSet,[defaultvalue (0), out, retval] ISWbemRefreshableItem **objWbemRefreshableItem);
747 [id (4)] HRESULT Remove ([in] long iIndex,[in, defaultvalue (0)] long iFlags);
748 [id (5)] HRESULT Refresh ([in, defaultvalue (0)] long iFlags);
749 [id (6), propget] HRESULT AutoReconnect ([out, retval] VARIANT_BOOL *bCount);
750 [id (6), propput] HRESULT AutoReconnect ([in] VARIANT_BOOL bCount);
751 [id (7)] HRESULT DeleteAll ();
752};
753
754cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.