source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wbemcli.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: 31.8 KB
RevLine 
[1166]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
7interface IEnumWbemClassObject;
8interface IUnsecuredApartment;
9interface IWbemBackupRestore;
10interface IWbemBackupRestoreEx;
11interface IWbemCallResult;
12interface IWbemClassObject;
13interface IWbemConfigureRefresher;
14interface IWbemConnection;
15interface IWbemContext;
16interface IWbemEventSink;
17interface IWbemHiPerfEnum;
18interface IWbemLocator;
19interface IWbemObjectAccess;
20interface IWbemObjectSink;
21interface IWbemQualifierSet;
22interface IWbemRefresher;
23interface IWbemSecureObjectSink;
24interface IWbemServices;
25interface IWbemStatusCodeText;
26interface IWbemUnsecuredApartment;
27
28#ifndef DO_NO_IMPORTS
29import "ocidl.idl";
30import "oleidl.idl";
31import "oaidl.idl";
32import "servprov.idl";
33#endif
34
35cpp_quote("#include <winapifamily.h>")
36cpp_quote("")
37cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
38
39[uuid (7ec196fe-7005-11d1-ad90-00c04fd8fdff)]
40library WbemClient_v1 {
41 importlib ("stdole32.tlb");
42
43 typedef [v1_enum] enum tag_WBEM_GENUS_TYPE {
44 WBEM_GENUS_CLASS = 1,
45 WBEM_GENUS_INSTANCE = 2
46 } WBEM_GENUS_TYPE;
47
48 typedef [v1_enum] enum tag_WBEM_CHANGE_FLAG_TYPE {
49 WBEM_FLAG_CREATE_OR_UPDATE = 0,
50 WBEM_FLAG_UPDATE_ONLY = 0x1,
51 WBEM_FLAG_CREATE_ONLY = 0x2,
52 WBEM_FLAG_UPDATE_COMPATIBLE = 0x0,
53 WBEM_FLAG_UPDATE_SAFE_MODE = 0x20,
54 WBEM_FLAG_UPDATE_FORCE_MODE = 0x40,
55 WBEM_MASK_UPDATE_MODE = 0x60,
56 WBEM_FLAG_ADVISORY = 0x000010000
57 } WBEM_CHANGE_FLAG_TYPE;
58
59 typedef [v1_enum] enum tag_WBEM_GENERIC_FLAG_TYPE {
60 WBEM_FLAG_RETURN_IMMEDIATELY = 0x10,
61 WBEM_FLAG_RETURN_WBEM_COMPLETE = 0,
62 WBEM_FLAG_BIDIRECTIONAL = 0,
63 WBEM_FLAG_FORWARD_ONLY = 0x20,
64 WBEM_FLAG_NO_ERROR_OBJECT = 0x40,
65 WBEM_FLAG_RETURN_ERROR_OBJECT = 0,
66 WBEM_FLAG_SEND_STATUS = 0x80,
67 WBEM_FLAG_DONT_SEND_STATUS = 0,
68 WBEM_FLAG_ENSURE_LOCATABLE = 0x100,
69 WBEM_FLAG_DIRECT_READ = 0x200,
70 WBEM_FLAG_SEND_ONLY_SELECTED = 0,
71 WBEM_RETURN_WHEN_COMPLETE = 0,
72 WBEM_RETURN_IMMEDIATELY = 0x10,
73 WBEM_MASK_RESERVED_FLAGS = 0x1f000,
74 WBEM_FLAG_USE_AMENDED_QUALIFIERS = 0x20000,
75 WBEM_FLAG_STRONG_VALIDATION = 0x100000,
76 } WBEM_GENERIC_FLAG_TYPE;
77
78 typedef enum tag_WBEM_STATUS_TYPE {
79 WBEM_STATUS_COMPLETE = 0,
80 WBEM_STATUS_REQUIREMENTS = 1,
81 WBEM_STATUS_PROGRESS = 2,
82 WBEM_STATUS_LOGGING_INFORMATION = 0x100,
83 WBEM_STATUS_LOGGING_INFORMATION_PROVIDER = 0x200,
84 WBEM_STATUS_LOGGING_INFORMATION_HOST = 0x400,
85 WBEM_STATUS_LOGGING_INFORMATION_REPOSITORY = 0x800,
86 WBEM_STATUS_LOGGING_INFORMATION_ESS = 0x1000,
87 } WBEM_STATUS_TYPE;
88
89 typedef [v1_enum] enum tag_WBEM_TIMEOUT_TYPE {
90 WBEM_NO_WAIT = 0,
91 WBEM_INFINITE = 0xffffffff,
92 } WBEM_TIMEOUT_TYPE;
93
94 typedef [v1_enum] enum tag_WBEM_CONDITION_FLAG_TYPE {
95 WBEM_FLAG_ALWAYS = 0,
96 WBEM_FLAG_ONLY_IF_TRUE = 0x1,
97 WBEM_FLAG_ONLY_IF_FALSE = 0x2,
98 WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3,
99 WBEM_MASK_PRIMARY_CONDITION = 0x3,
100 WBEM_FLAG_KEYS_ONLY = 0x4,
101 WBEM_FLAG_REFS_ONLY = 0x8,
102 WBEM_FLAG_LOCAL_ONLY = 0x10,
103 WBEM_FLAG_PROPAGATED_ONLY = 0x20,
104 WBEM_FLAG_SYSTEM_ONLY = 0x30,
105 WBEM_FLAG_NONSYSTEM_ONLY = 0x40,
106 WBEM_MASK_CONDITION_ORIGIN = 0x70,
107 WBEM_FLAG_CLASS_OVERRIDES_ONLY = 0x100,
108 WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES = 0x200,
109 WBEM_MASK_CLASS_CONDITION = 0x300
110 } WBEM_CONDITION_FLAG_TYPE;
111
112 typedef [v1_enum] enum tag_WBEM_FLAVOR_TYPE {
113 WBEM_FLAVOR_DONT_PROPAGATE = 0,
114 WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1,
115 WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2,
116 WBEM_FLAVOR_MASK_PROPAGATION = 0x0f,
117 WBEM_FLAVOR_OVERRIDABLE = 0,
118 WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10,
119 WBEM_FLAVOR_MASK_PERMISSIONS = 0x10,
120 WBEM_FLAVOR_ORIGIN_LOCAL = 0,
121 WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20,
122 WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40,
123 WBEM_FLAVOR_MASK_ORIGIN = 0x60,
124 WBEM_FLAVOR_NOT_AMENDED = 0,
125 WBEM_FLAVOR_AMENDED = 0x80,
126 WBEM_FLAVOR_MASK_AMENDED = 0x80
127 } WBEM_FLAVOR_TYPE;
128
129 typedef [v1_enum] enum tag_WBEM_QUERY_FLAG_TYPE {
130 WBEM_FLAG_DEEP = 0,
131 WBEM_FLAG_SHALLOW = 1,
132 WBEM_FLAG_PROTOTYPE = 2
133 } WBEM_QUERY_FLAG_TYPE;
134
135 typedef [v1_enum] enum tag_WBEM_SECURITY_FLAGS {
136 WBEM_ENABLE = 1,
137 WBEM_METHOD_EXECUTE = 2,
138 WBEM_FULL_WRITE_REP = 4,
139 WBEM_PARTIAL_WRITE_REP = 8,
140 WBEM_WRITE_PROVIDER = 0x10,
141 WBEM_REMOTE_ACCESS = 0x20,
142 WBEM_RIGHT_SUBSCRIBE = 0x40,
143 WBEM_RIGHT_PUBLISH = 0x80
144 } WBEM_SECURITY_FLAGS;
145 typedef [v1_enum] enum tag_WBEM_LIMITATION_FLAG_TYPE {
146 WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS = 0x10,
147 WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS = 0x20
148 } WBEM_LIMITATION_FLAG_TYPE;
149
150 typedef [v1_enum] enum tag_WBEM_TEXT_FLAG_TYPE {
151 WBEM_FLAG_NO_FLAVORS = 0x1
152 } WBEM_TEXT_FLAG_TYPE;
153
154 typedef [v1_enum] enum tag_WBEM_COMPARISON_FLAG {
155 WBEM_COMPARISON_INCLUDE_ALL = 0,
156 WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,
157 WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,
158 WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4,
159 WBEM_FLAG_IGNORE_CLASS = 0x8,
160 WBEM_FLAG_IGNORE_CASE = 0x10,
161 WBEM_FLAG_IGNORE_FLAVOR = 0x20
162 } WBEM_COMPARISON_FLAG;
163
164 typedef [v1_enum] enum tag_WBEM_LOCKING {
165 WBEM_FLAG_ALLOW_READ = 0x1
166 } WBEM_LOCKING_FLAG_TYPE;
167
168 typedef [v1_enum] enum tag_CIMTYPE_ENUMERATION {
169 CIM_ILLEGAL = 0xfff,
170 CIM_EMPTY = 0,
171 CIM_SINT8 = 16,
172 CIM_UINT8 = 17,
173 CIM_SINT16 = 2,
174 CIM_UINT16 = 18,
175 CIM_SINT32 = 3,
176 CIM_UINT32 = 19,
177 CIM_SINT64 = 20,
178 CIM_UINT64 = 21,
179 CIM_REAL32 = 4,
180 CIM_REAL64 = 5,
181 CIM_BOOLEAN = 11,
182 CIM_STRING = 8,
183 CIM_DATETIME = 101,
184 CIM_REFERENCE = 102,
185 CIM_CHAR16 = 103,
186 CIM_OBJECT = 13,
187 CIM_FLAG_ARRAY = 0x2000
188 } CIMTYPE_ENUMERATION;
189
190 typedef [v1_enum] enum tag_WBEM_BACKUP_RESTORE_FLAGS {
191 WBEM_FLAG_BACKUP_RESTORE_DEFAULT = 0,
192 WBEM_FLAG_BACKUP_RESTORE_FORCE_SHUTDOWN = 1
193 } WBEM_BACKUP_RESTORE_FLAGS;
194
195 typedef [v1_enum] enum tag_WBEM_REFRESHER_FLAGS {
196 WBEM_FLAG_REFRESH_AUTO_RECONNECT = 0,
197 WBEM_FLAG_REFRESH_NO_AUTO_RECONNECT = 1
198 } WBEM_REFRESHER_FLAGS;
199
200 typedef enum tag_WBEM_SHUTDOWN_FLAGS {
201 WBEM_SHUTDOWN_UNLOAD_COMPONENT = 1,
202 WBEM_SHUTDOWN_WMI = 2,
203 WBEM_SHUTDOWN_OS = 3
204 } WBEM_SHUTDOWN_FLAGS;
205
206 typedef [v1_enum] enum tag_WBEMSTATUS_FORMAT {
207 WBEMSTATUS_FORMAT_NEWLINE= 0,
208 WBEMSTATUS_FORMAT_NO_NEWLINE= 1
209 } WBEMSTATUS_FORMAT;
210
211 typedef [v1_enum] enum tag_WBEM_LIMITS {
212 WBEM_MAX_IDENTIFIER = 0x1000,
213 WBEM_MAX_QUERY = 0x4000,
214 WBEM_MAX_PATH = 0x2000,
215 WBEM_MAX_OBJECT_NESTING = 64,
216 WBEM_MAX_USER_PROPERTIES = 1024
217 } WBEM_LIMITS;
218
219 typedef [v1_enum] enum tag_WBEMSTATUS {
220 WBEM_NO_ERROR = 0,
221 WBEM_S_NO_ERROR = 0,
222 WBEM_S_SAME = 0,
223 WBEM_S_FALSE = 1,
224 WBEM_S_ALREADY_EXISTS = 0x40001,
225 WBEM_S_RESET_TO_DEFAULT = 0x40002,
226 WBEM_S_DIFFERENT = 0x40003,
227 WBEM_S_TIMEDOUT = 0x40004,
228 WBEM_S_NO_MORE_DATA = 0x40005,
229 WBEM_S_OPERATION_CANCELLED = 0x40006,
230 WBEM_S_PENDING = 0x40007,
231 WBEM_S_DUPLICATE_OBJECTS = 0x40008,
232 WBEM_S_ACCESS_DENIED = 0x40009,
233 WBEM_S_PARTIAL_RESULTS = 0x40010,
234 WBEM_S_SOURCE_NOT_AVAILABLE = 0x40017,
235 WBEM_E_FAILED = 0x80041001,
236 WBEM_E_NOT_FOUND = 0x80041002,
237 WBEM_E_ACCESS_DENIED = 0x80041003,
238 WBEM_E_PROVIDER_FAILURE = 0x80041004,
239 WBEM_E_TYPE_MISMATCH = 0x80041005,
240 WBEM_E_OUT_OF_MEMORY = 0x80041006,
241 WBEM_E_INVALID_CONTEXT = 0x80041007,
242 WBEM_E_INVALID_PARAMETER = 0x80041008,
243 WBEM_E_NOT_AVAILABLE = 0x80041009,
244 WBEM_E_CRITICAL_ERROR = 0x8004100a,
245 WBEM_E_INVALID_STREAM = 0x8004100b,
246 WBEM_E_NOT_SUPPORTED = 0x8004100c,
247 WBEM_E_INVALID_SUPERCLASS = 0x8004100d,
248 WBEM_E_INVALID_NAMESPACE = 0x8004100e,
249 WBEM_E_INVALID_OBJECT = 0x8004100f,
250 WBEM_E_INVALID_CLASS = 0x80041010,
251 WBEM_E_PROVIDER_NOT_FOUND = 0x80041011,
252 WBEM_E_INVALID_PROVIDER_REGISTRATION = 0x80041012,
253 WBEM_E_PROVIDER_LOAD_FAILURE = 0x80041013,
254 WBEM_E_INITIALIZATION_FAILURE = 0x80041014,
255 WBEM_E_TRANSPORT_FAILURE = 0x80041015,
256 WBEM_E_INVALID_OPERATION = 0x80041016,
257 WBEM_E_INVALID_QUERY = 0x80041017,
258 WBEM_E_INVALID_QUERY_TYPE = 0x80041018,
259 WBEM_E_ALREADY_EXISTS = 0x80041019,
260 WBEM_E_OVERRIDE_NOT_ALLOWED = 0x8004101a,
261 WBEM_E_PROPAGATED_QUALIFIER = 0x8004101b,
262 WBEM_E_PROPAGATED_PROPERTY = 0x8004101c,
263 WBEM_E_UNEXPECTED = 0x8004101d,
264 WBEM_E_ILLEGAL_OPERATION = 0x8004101e,
265 WBEM_E_CANNOT_BE_KEY = 0x8004101f,
266 WBEM_E_INCOMPLETE_CLASS = 0x80041020,
267 WBEM_E_INVALID_SYNTAX = 0x80041021,
268 WBEM_E_NONDECORATED_OBJECT = 0x80041022,
269 WBEM_E_READ_ONLY = 0x80041023,
270 WBEM_E_PROVIDER_NOT_CAPABLE = 0x80041024,
271 WBEM_E_CLASS_HAS_CHILDREN = 0x80041025,
272 WBEM_E_CLASS_HAS_INSTANCES = 0x80041026,
273 WBEM_E_QUERY_NOT_IMPLEMENTED = 0x80041027,
274 WBEM_E_ILLEGAL_NULL = 0x80041028,
275 WBEM_E_INVALID_QUALIFIER_TYPE = 0x80041029,
276 WBEM_E_INVALID_PROPERTY_TYPE = 0x8004102a,
277 WBEM_E_VALUE_OUT_OF_RANGE = 0x8004102b,
278 WBEM_E_CANNOT_BE_SINGLETON = 0x8004102c,
279 WBEM_E_INVALID_CIM_TYPE = 0x8004102d,
280 WBEM_E_INVALID_METHOD = 0x8004102e,
281 WBEM_E_INVALID_METHOD_PARAMETERS = 0x8004102f,
282 WBEM_E_SYSTEM_PROPERTY = 0x80041030,
283 WBEM_E_INVALID_PROPERTY = 0x80041031,
284 WBEM_E_CALL_CANCELLED = 0x80041032,
285 WBEM_E_SHUTTING_DOWN = 0x80041033,
286 WBEM_E_PROPAGATED_METHOD = 0x80041034,
287 WBEM_E_UNSUPPORTED_PARAMETER = 0x80041035,
288 WBEM_E_MISSING_PARAMETER_ID = 0x80041036,
289 WBEM_E_INVALID_PARAMETER_ID = 0x80041037,
290 WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = 0x80041038,
291 WBEM_E_PARAMETER_ID_ON_RETVAL = 0x80041039,
292 WBEM_E_INVALID_OBJECT_PATH = 0x8004103a,
293 WBEM_E_OUT_OF_DISK_SPACE = 0x8004103b,
294 WBEM_E_BUFFER_TOO_SMALL = 0x8004103c,
295 WBEM_E_UNSUPPORTED_PUT_EXTENSION = 0x8004103d,
296 WBEM_E_UNKNOWN_OBJECT_TYPE = 0x8004103e,
297 WBEM_E_UNKNOWN_PACKET_TYPE = 0x8004103f,
298 WBEM_E_MARSHAL_VERSION_MISMATCH = 0x80041040,
299 WBEM_E_MARSHAL_INVALID_SIGNATURE = 0x80041041,
300 WBEM_E_INVALID_QUALIFIER = 0x80041042,
301 WBEM_E_INVALID_DUPLICATE_PARAMETER = 0x80041043,
302 WBEM_E_TOO_MUCH_DATA = 0x80041044,
303 WBEM_E_SERVER_TOO_BUSY = 0x80041045,
304 WBEM_E_INVALID_FLAVOR = 0x80041046,
305 WBEM_E_CIRCULAR_REFERENCE = 0x80041047,
306 WBEM_E_UNSUPPORTED_CLASS_UPDATE = 0x80041048,
307 WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE = 0x80041049,
308 WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE = 0x80041050,
309 WBEM_E_TOO_MANY_PROPERTIES = 0x80041051,
310 WBEM_E_UPDATE_TYPE_MISMATCH = 0x80041052,
311 WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED = 0x80041053,
312 WBEM_E_UPDATE_PROPAGATED_METHOD = 0x80041054,
313 WBEM_E_METHOD_NOT_IMPLEMENTED = 0x80041055,
314 WBEM_E_METHOD_DISABLED = 0x80041056,
315 WBEM_E_REFRESHER_BUSY = 0x80041057,
316 WBEM_E_UNPARSABLE_QUERY = 0x80041058,
317 WBEM_E_NOT_EVENT_CLASS = 0x80041059,
318 WBEM_E_MISSING_GROUP_WITHIN = 0x8004105a,
319 WBEM_E_MISSING_AGGREGATION_LIST = 0x8004105b,
320 WBEM_E_PROPERTY_NOT_AN_OBJECT = 0x8004105c,
321 WBEM_E_AGGREGATING_BY_OBJECT = 0x8004105d,
322 WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY = 0x8004105f,
323 WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING = 0x80041060,
324 WBEM_E_QUEUE_OVERFLOW = 0x80041061,
325 WBEM_E_PRIVILEGE_NOT_HELD = 0x80041062,
326 WBEM_E_INVALID_OPERATOR = 0x80041063,
327 WBEM_E_LOCAL_CREDENTIALS = 0x80041064,
328 WBEM_E_CANNOT_BE_ABSTRACT = 0x80041065,
329 WBEM_E_AMENDED_OBJECT = 0x80041066,
330 WBEM_E_CLIENT_TOO_SLOW = 0x80041067,
331 WBEM_E_NULL_SECURITY_DESCRIPTOR = 0x80041068,
332 WBEM_E_TIMED_OUT = 0x80041069,
333 WBEM_E_INVALID_ASSOCIATION = 0x8004106a,
334 WBEM_E_AMBIGUOUS_OPERATION = 0x8004106b,
335 WBEM_E_QUOTA_VIOLATION = 0x8004106c,
336 WBEM_E_RESERVED_001 = 0x8004106d,
337 WBEM_E_RESERVED_002 = 0x8004106e,
338 WBEM_E_UNSUPPORTED_LOCALE = 0x8004106f,
339 WBEM_E_HANDLE_OUT_OF_DATE = 0x80041070,
340 WBEM_E_CONNECTION_FAILED = 0x80041071,
341 WBEM_E_INVALID_HANDLE_REQUEST = 0x80041072,
342 WBEM_E_PROPERTY_NAME_TOO_WIDE = 0x80041073,
343 WBEM_E_CLASS_NAME_TOO_WIDE = 0x80041074,
344 WBEM_E_METHOD_NAME_TOO_WIDE = 0x80041075,
345 WBEM_E_QUALIFIER_NAME_TOO_WIDE = 0x80041076,
346 WBEM_E_RERUN_COMMAND = 0x80041077,
347 WBEM_E_DATABASE_VER_MISMATCH = 0x80041078,
348 WBEM_E_VETO_DELETE = 0x80041079,
349 WBEM_E_VETO_PUT = 0x8004107a,
350 WBEM_E_INVALID_LOCALE = 0x80041080,
351 WBEM_E_PROVIDER_SUSPENDED = 0x80041081,
352 WBEM_E_SYNCHRONIZATION_REQUIRED = 0x80041082,
353 WBEM_E_NO_SCHEMA = 0x80041083,
354 WBEM_E_PROVIDER_ALREADY_REGISTERED = 0x80041084,
355 WBEM_E_PROVIDER_NOT_REGISTERED = 0x80041085,
356 WBEM_E_FATAL_TRANSPORT_ERROR = 0x80041086,
357 WBEM_E_ENCRYPTED_CONNECTION_REQUIRED = 0x80041087,
358 WBEM_E_PROVIDER_TIMED_OUT = 0x80041088,
359 WBEM_E_NO_KEY = 0x80041089,
360 WBEM_E_PROVIDER_DISABLED = 0x8004108a,
361 WBEMESS_E_REGISTRATION_TOO_BROAD = 0x80042001,
362 WBEMESS_E_REGISTRATION_TOO_PRECISE = 0x80042002,
363 WBEMESS_E_AUTHZ_NOT_PRIVILEGED = 0x80042003,
364 WBEMMOF_E_EXPECTED_QUALIFIER_NAME = 0x80044001,
365 WBEMMOF_E_EXPECTED_SEMI = 0x80044002,
366 WBEMMOF_E_EXPECTED_OPEN_BRACE = 0x80044003,
367 WBEMMOF_E_EXPECTED_CLOSE_BRACE = 0x80044004,
368 WBEMMOF_E_EXPECTED_CLOSE_BRACKET = 0x80044005,
369 WBEMMOF_E_EXPECTED_CLOSE_PAREN = 0x80044006,
370 WBEMMOF_E_ILLEGAL_CONSTANT_VALUE = 0x80044007,
371 WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER = 0x80044008,
372 WBEMMOF_E_EXPECTED_OPEN_PAREN = 0x80044009,
373 WBEMMOF_E_UNRECOGNIZED_TOKEN = 0x8004400a,
374 WBEMMOF_E_UNRECOGNIZED_TYPE = 0x8004400b,
375 WBEMMOF_E_EXPECTED_PROPERTY_NAME = 0x8004400c,
376 WBEMMOF_E_TYPEDEF_NOT_SUPPORTED = 0x8004400d,
377 WBEMMOF_E_UNEXPECTED_ALIAS = 0x8004400e,
378 WBEMMOF_E_UNEXPECTED_ARRAY_INIT = 0x8004400f,
379 WBEMMOF_E_INVALID_AMENDMENT_SYNTAX = 0x80044010,
380 WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT = 0x80044011,
381 WBEMMOF_E_INVALID_PRAGMA = 0x80044012,
382 WBEMMOF_E_INVALID_NAMESPACE_SYNTAX = 0x80044013,
383 WBEMMOF_E_EXPECTED_CLASS_NAME = 0x80044014,
384 WBEMMOF_E_TYPE_MISMATCH = 0x80044015,
385 WBEMMOF_E_EXPECTED_ALIAS_NAME = 0x80044016,
386 WBEMMOF_E_INVALID_CLASS_DECLARATION = 0x80044017,
387 WBEMMOF_E_INVALID_INSTANCE_DECLARATION = 0x80044018,
388 WBEMMOF_E_EXPECTED_DOLLAR = 0x80044019,
389 WBEMMOF_E_CIMTYPE_QUALIFIER = 0x8004401a,
390 WBEMMOF_E_DUPLICATE_PROPERTY = 0x8004401b,
391 WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION = 0x8004401c,
392 WBEMMOF_E_OUT_OF_RANGE = 0x8004401d,
393 WBEMMOF_E_INVALID_FILE = 0x8004401e,
394 WBEMMOF_E_ALIASES_IN_EMBEDDED = 0x8004401f,
395 WBEMMOF_E_NULL_ARRAY_ELEM = 0x80044020,
396 WBEMMOF_E_DUPLICATE_QUALIFIER = 0x80044021,
397 WBEMMOF_E_EXPECTED_FLAVOR_TYPE = 0x80044022,
398 WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES = 0x80044023,
399 WBEMMOF_E_MULTIPLE_ALIASES = 0x80044024,
400 WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2 = 0x80044025,
401 WBEMMOF_E_NO_ARRAYS_RETURNED = 0x80044026,
402 WBEMMOF_E_MUST_BE_IN_OR_OUT = 0x80044027,
403 WBEMMOF_E_INVALID_FLAGS_SYNTAX = 0x80044028,
404 WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE = 0x80044029,
405 WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE = 0x8004402a,
406 WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE = 0x8004402b,
407 WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX = 0x8004402c,
408 WBEMMOF_E_INVALID_QUALIFIER_SYNTAX = 0x8004402d,
409 WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE = 0x8004402e,
410 WBEMMOF_E_ERROR_CREATING_TEMP_FILE = 0x8004402f,
411 WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE = 0x80044030,
412 WBEMMOF_E_INVALID_DELETECLASS_SYNTAX = 0x80044031
413 } WBEMSTATUS;
414
415typedef [v1_enum] enum tag_WMI_OBJ_TEXT {
416 WMI_OBJ_TEXT_CIM_DTD_2_0 = 1,
417 WMI_OBJ_TEXT_WMI_DTD_2_0 = 2,
418 WMI_OBJ_TEXT_WMI_EXT1 = 3,
419 WMI_OBJ_TEXT_WMI_EXT2 = 4,
420 WMI_OBJ_TEXT_WMI_EXT3 = 5,
421 WMI_OBJ_TEXT_WMI_EXT4 = 6,
422 WMI_OBJ_TEXT_WMI_EXT5 = 7,
423 WMI_OBJ_TEXT_WMI_EXT6 = 8,
424 WMI_OBJ_TEXT_WMI_EXT7 = 9,
425 WMI_OBJ_TEXT_WMI_EXT8 = 10,
426 WMI_OBJ_TEXT_WMI_EXT9 = 11,
427 WMI_OBJ_TEXT_WMI_EXT10 = 12,
428 WMI_OBJ_TEXT_LAST = 13
429} WMI_OBJ_TEXT;
430
431typedef [v1_enum] enum tag_WBEM_COMPILER_OPTIONS {
432 WBEM_FLAG_CHECK_ONLY = 0x1,
433 WBEM_FLAG_AUTORECOVER = 0x2,
434 WBEM_FLAG_WMI_CHECK = 0x4,
435 WBEM_FLAG_CONSOLE_PRINT = 0x8,
436 WBEM_FLAG_DONT_ADD_TO_LIST = 0x10,
437 WBEM_FLAG_SPLIT_FILES = 0x20,
438 WBEM_FLAG_STORE_FILE = 0x100,
439} WBEM_COMPILER_OPTIONS;
440
441typedef [v1_enum] enum tag_WBEM_CONNECT_OPTIONS {
442 WBEM_FLAG_CONNECT_REPOSITORY_ONLY = 0x40,
443 WBEM_FLAG_CONNECT_USE_MAX_WAIT = 0x80,
444 WBEM_FLAG_CONNECT_PROVIDERS = 0x100
445} WBEM_CONNECT_OPTIONS;
446
447typedef [v1_enum] enum tag_WBEM_UNSECAPP_FLAG_TYPE {
448 WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS = 0,
449 WBEM_FLAG_UNSECAPP_CHECK_ACCESS = 1,
450 WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS = 2
451} WBEM_UNSECAPP_FLAG_TYPE;
452
453typedef [v1_enum] enum tag_WBEM_INFORMATION_FLAG_TYPE {
454 WBEM_FLAG_SHORT_NAME = 0x1,
455 WBEM_FLAG_LONG_NAME = 0x2
456} WBEM_INFORMATION_FLAG_TYPE;
457
458typedef struct tag_CompileStatusInfo {
459 long lPhaseError;
460 HRESULT hRes;
461 long ObjectNum;
462 long FirstLine;
463 long LastLine;
464 DWORD dwOutFlags;
465} WBEM_COMPILE_STATUS_INFO;
466
467typedef long CIMTYPE;
468
469 [uuid (c49e32c6-bc8b-11d2-85d4-00105a1f8304)]
470 coclass WbemBackupRestore {
471 interface IWbemBackupRestoreEx;
472 };
473
474 [uuid (9a653086-174f-11d2-b5f9-00104b703efd)]
475 coclass WbemClassObject {
476 interface IWbemClassObject;
477 };
478
479 [uuid (674b6698-ee92-11d0-AD71-00c04fd8fdff)] /* restricted, */
480 coclass WbemContext {
481 interface IWbemContext;
482 };
483
484 [uuid (4590f811-1d3a-11d0-891f-00aa004b2e24)] /* restricted */
485 coclass WbemLocator {
486 interface IWbemLocator;
487 };
488
489 [uuid (eb87e1bd-3233-11d2-aec9-00c04fb68820)]
490 coclass WbemStatusCodeText {
491 interface IWbemStatusCodeText;
492 };
493
494 [uuid (49bd2028-1523-11d1-ad79-00c04fd8fdff)]
495 coclass UnsecuredApartment {
496 interface IUnsecuredApartment;
497 interface IWbemUnsecuredApartment;
498 };
499
500 [uuid (6daf9757-2e37-11d2-aec9-00c04fb68820)]
501 coclass MofCompiler {
502 interface IMofCompiler;
503 };
504
505 [uuid (8d1c559d-84f0-4bb3-A7D5-56a7435a9ba6)] /* restricted */
506 coclass WbemObjectTextSrc {
507 interface IWbemObjectTextSrc;
508 }
509
510 [uuid (c71566f2-561e-11d1-ad87-00c04fd8fdff)] /* restricted */
511 coclass WbemRefresher {
512 interface IMarshal;
513 interface IWbemRefresher;
514 interface IWbemConfigureRefresher;
515 };
516};
517
518[local, object, restricted, uuid (dc12a681-737f-11cf-884d-00aa004b2e24)]
519interface IWbemClassObject : IUnknown {
520 HRESULT GetQualifierSet ([out] IWbemQualifierSet **ppQualSet);
521 HRESULT Get ([in, string] LPCWSTR wszName,[in] long lFlags,[out] VARIANT *pVal,[out,] CIMTYPE *pType,[out] long *plFlavor);
522 HRESULT Put ([in, string] LPCWSTR wszName,[in] long lFlags,[in] VARIANT *pVal,[in] CIMTYPE Type);
523 HRESULT Delete ([in, string] LPCWSTR wszName);
524 HRESULT GetNames ([in, string] LPCWSTR wszQualifierName,[in] long lFlags,[in] VARIANT *pQualifierVal,[out] SAFEARRAY (BSTR) *pNames);
525 HRESULT BeginEnumeration ([in] long lEnumFlags);
526 HRESULT Next ([in] long lFlags,[out,] BSTR *strName,[out,] VARIANT *pVal,[out,] CIMTYPE *pType,[out,] long *plFlavor);
527 HRESULT EndEnumeration ();
528 HRESULT GetPropertyQualifierSet ([in, string] LPCWSTR wszProperty,[out] IWbemQualifierSet **ppQualSet);
529 HRESULT Clone ([out] IWbemClassObject **ppCopy);
530 HRESULT GetObjectText ([in] long lFlags,[out] BSTR *pstrObjectText);
531 HRESULT SpawnDerivedClass ([in] long lFlags,[out] IWbemClassObject **ppNewClass);
532 HRESULT SpawnInstance ([in] long lFlags,[out] IWbemClassObject **ppNewInstance);
533 HRESULT CompareTo ([in] long lFlags,[in] IWbemClassObject *pCompareTo);
534 HRESULT GetPropertyOrigin ([in, string] LPCWSTR wszName,[out] BSTR *pstrClassName);
535 HRESULT InheritsFrom ([in] LPCWSTR strAncestor);
536 HRESULT GetMethod ([in, string] LPCWSTR wszName,[in] long lFlags,[out] IWbemClassObject **ppInSignature,[out] IWbemClassObject **ppOutSignature);
537 HRESULT PutMethod ([in, string] LPCWSTR wszName,[in] long lFlags,[in] IWbemClassObject *pInSignature,[in] IWbemClassObject *pOutSignature);
538 HRESULT DeleteMethod ([in, string] LPCWSTR wszName);
539 HRESULT BeginMethodEnumeration ([in] long lEnumFlags);
540 HRESULT NextMethod ([in] long lFlags,[out,] BSTR *pstrName,[out,] IWbemClassObject **ppInSignature,[out,] IWbemClassObject **ppOutSignature);
541 HRESULT EndMethodEnumeration ();
542 HRESULT GetMethodQualifierSet ([in, string] LPCWSTR wszMethod,[out] IWbemQualifierSet **ppQualSet);
543 HRESULT GetMethodOrigin ([in, string] LPCWSTR wszMethodName,[out] BSTR *pstrClassName);
544};
545
546[local, object, restricted, uuid (dc12a680-737f-11cf-884d-00aa004b2e24)]
547interface IWbemQualifierSet : IUnknown {
548 HRESULT Get ([in, string] LPCWSTR wszName,[in] long lFlags,[out,] VARIANT *pVal,[out,] long *plFlavor);
549 HRESULT Put ([in, string] LPCWSTR wszName,[in] VARIANT *pVal,[in] long lFlavor);
550 HRESULT Delete ([in, string] LPCWSTR wszName);
551 HRESULT GetNames ([in] long lFlags,[out] SAFEARRAY (BSTR) *pNames);
552 HRESULT BeginEnumeration ([in] long lFlags);
553 HRESULT Next ([in] long lFlags,[out,] BSTR *pstrName,[out,] VARIANT *pVal,[out,] long *plFlavor);
554 HRESULT EndEnumeration ();
555};
556
557[local, object, restricted, uuid (dc12a687-737f-11cf-884d-00aa004b2e24), pointer_default (unique)]
558interface IWbemLocator : IUnknown {
559 HRESULT ConnectServer ([in] const BSTR strNetworkResource,[in] const BSTR strUser,[in] const BSTR strPassword,[in] const BSTR strLocale,[in] long lSecurityFlags,[in] const BSTR strAuthority,[in] IWbemContext *pCtx,[out] IWbemServices **ppNamespace);
560};
561
562[object, restricted, uuid (7c857801-7381-11cf-884d-00aa004b2e24)]
563interface IWbemObjectSink : IUnknown {
564 HRESULT Indicate ([in] long lObjectCount,[in, size_is (lObjectCount)] IWbemClassObject **apObjArray);
565 HRESULT SetStatus ([in] long lFlags,[in] HRESULT hResult,[in, unique] BSTR strParam,[in, unique] IWbemClassObject *pObjParam);
566};
567
568[object, restricted, uuid (e7d35cfa-348b-485e-b524-252725d697ca)]
569interface IWbemObjectSinkEx : IWbemObjectSink {
570 HRESULT WriteMessage ([in] ULONG uChannel,[in] const BSTR strMessage);
571 HRESULT WriteError ([in, unique] IWbemClassObject *pObjError,[out] unsigned char *puReturned);
572 HRESULT PromptUser ([in] const BSTR strMessage,[in] unsigned char uPromptType,[out] unsigned char *puReturned);
573 HRESULT WriteProgress ([in] const BSTR strActivity,[in] const BSTR strCurrentOperation,[in] const BSTR strStatusDescription,[in] ULONG uPercentComplete,[in] ULONG uSecondsRemaining);
574 HRESULT WriteStreamParameter ([in] const BSTR strName,[in] VARIANT *vtValue,[in] ULONG ulType,[in] ULONG ulFlags);
575};
576
577[object, restricted, uuid (027947e1-d731-11ce-a357-000000000001)]
578interface IEnumWbemClassObject : IUnknown {
579 HRESULT Reset ();
580 HRESULT Next ([in] long lTimeout,[in] ULONG uCount,[out, size_is (uCount), length_is (*puReturned)] IWbemClassObject **apObjects,[out] ULONG *puReturned);
581 HRESULT NextAsync ([in] ULONG uCount,[in] IWbemObjectSink *pSink);
582 HRESULT Clone ([out] IEnumWbemClassObject **ppEnum);
583 HRESULT Skip ([in] long lTimeout,[in] ULONG nCount);
584};
585
586[object, restricted, local, uuid (44aca674-e8fc-11d0-a07c-00c04fb68820)]
587interface IWbemContext : IUnknown {
588 HRESULT Clone ([out] IWbemContext **ppNewCopy);
589 HRESULT GetNames ([in] long lFlags,[out] SAFEARRAY (BSTR) *pNames);
590 HRESULT BeginEnumeration ([in] long lFlags);
591 HRESULT Next ([in] long lFlags,[out] BSTR *pstrName,[out] VARIANT *pValue);
592 HRESULT EndEnumeration ();
593 HRESULT SetValue ([in, string] LPCWSTR wszName,[in] long lFlags,[in] VARIANT *pValue);
594 HRESULT GetValue ([in, string] LPCWSTR wszName,[in] long lFlags,[out] VARIANT *pValue);
595 HRESULT DeleteValue ([in, string] LPCWSTR wszName,[in] long lFlags);
596 HRESULT DeleteAll ();
597};
598
599[object, restricted, uuid (44aca675-e8fc-11d0-a07c-00c04fb68820)]
600interface IWbemCallResult : IUnknown {
601 HRESULT GetResultObject ([in] long lTimeout,[out] IWbemClassObject **ppResultObject);
602 HRESULT GetResultString ([in] long lTimeout,[out] BSTR *pstrResultString);
603 HRESULT GetResultServices ([in] long lTimeout,[out] IWbemServices **ppServices);
604 HRESULT GetCallStatus ([in] long lTimeout,[out] long *plStatus);
605};
606
607[object, restricted, uuid (9556dc99-828c-11cf-a37e-00aa003240c7), pointer_default (unique)]
608interface IWbemServices : IUnknown {
609 HRESULT OpenNamespace ([in] const BSTR strNamespace,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemServices **ppWorkingNamespace,[out,] IWbemCallResult **ppResult);
610 HRESULT CancelAsyncCall ([in] IWbemObjectSink *pSink);
611 HRESULT QueryObjectSink ([in] long lFlags,[out] IWbemObjectSink **ppResponseHandler);
612 HRESULT GetObject ([in] const BSTR strObjectPath,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemClassObject **ppObject,[out,] IWbemCallResult **ppCallResult);
613 HRESULT GetObjectAsync ([in] const BSTR strObjectPath,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
614 HRESULT PutClass ([in] IWbemClassObject *pObject,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemCallResult **ppCallResult);
615 HRESULT PutClassAsync ([in] IWbemClassObject *pObject,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
616 HRESULT DeleteClass ([in] const BSTR strClass,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemCallResult **ppCallResult);
617 HRESULT DeleteClassAsync ([in] const BSTR strClass,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
618 HRESULT CreateClassEnum ([in] const BSTR strSuperclass,[in] long lFlags,[in] IWbemContext *pCtx,[out] IEnumWbemClassObject **ppEnum);
619 HRESULT CreateClassEnumAsync ([in] const BSTR strSuperclass,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
620 HRESULT PutInstance ([in] IWbemClassObject *pInst,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemCallResult **ppCallResult);
621 HRESULT PutInstanceAsync ([in] IWbemClassObject *pInst,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
622 HRESULT DeleteInstance ([in] const BSTR strObjectPath,[in] long lFlags,[in] IWbemContext *pCtx,[out,] IWbemCallResult **ppCallResult);
623 HRESULT DeleteInstanceAsync ([in] const BSTR strObjectPath,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
624 HRESULT CreateInstanceEnum ([in] const BSTR strFilter,[in] long lFlags,[in] IWbemContext *pCtx,[out] IEnumWbemClassObject **ppEnum);
625 HRESULT CreateInstanceEnumAsync ([in] const BSTR strFilter,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
626 HRESULT ExecQuery ([in] const BSTR strQueryLanguage,[in] const BSTR strQuery,[in] long lFlags,[in] IWbemContext *pCtx,[out] IEnumWbemClassObject **ppEnum);
627 HRESULT ExecQueryAsync ([in] const BSTR strQueryLanguage,[in] const BSTR strQuery,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
628 HRESULT ExecNotificationQuery ([in] const BSTR strQueryLanguage,[in] const BSTR strQuery,[in] long lFlags,[in] IWbemContext *pCtx,[out] IEnumWbemClassObject **ppEnum);
629 HRESULT ExecNotificationQueryAsync ([in] const BSTR strQueryLanguage,[in] const BSTR strQuery,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemObjectSink *pResponseHandler);
630 HRESULT ExecMethod ([in] const BSTR strObjectPath,[in] const BSTR strMethodName,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemClassObject *pInParams,[out,] IWbemClassObject **ppOutParams,[out,] IWbemCallResult **ppCallResult);
631 HRESULT ExecMethodAsync ([in] const BSTR strObjectPath,[in] const BSTR strMethodName,[in] long lFlags,[in] IWbemContext *pCtx,[in] IWbemClassObject *pInParams,[in] IWbemObjectSink *pResponseHandler);
632};
633
634[object, uuid (b7b31df9-d515-11d3-a11c-00105a1f515a)]
635interface IWbemShutdown : IUnknown {
636 HRESULT Shutdown ([in] LONG uReason,[in] ULONG uMaxMilliseconds,[in] IWbemContext *pCtx);
637};
638
639[object, restricted, local, uuid (bfbf883a-cad7-11d3-a11b-00105a1f515a)]
640interface IWbemObjectTextSrc : IUnknown {
641 HRESULT GetText ([in] long lFlags,[in] IWbemClassObject *pObj,[in] ULONG uObjTextFormat,[in] IWbemContext *pCtx,[out] BSTR *strText);
642 HRESULT CreateFromText ([in] long lFlags,[in] BSTR strText,[in] ULONG uObjTextFormat,[in] IWbemContext *pCtx,[out] IWbemClassObject **pNewObj);
643}
644[local, restricted, object, uuid (49353c9a-516b-11d1-aea6-00c04fb68820)] interface IWbemObjectAccess : IWbemClassObject {
645 HRESULT GetPropertyHandle ([in, string] LPCWSTR wszPropertyName,[out] CIMTYPE *pType,[out] long *plHandle);
646 HRESULT WritePropertyValue ([in] long lHandle,[in] long lNumBytes,[in, size_is (lNumBytes)] const byte *aData);
647 HRESULT ReadPropertyValue ([in] long lHandle,[in] long lBufferSize,[out] long *plNumBytes,[out, size_is (lBufferSize), length_is (*plNumBytes)] byte *aData);
648 HRESULT ReadDWORD ([in] long lHandle,[out] DWORD *pdw);
649 HRESULT WriteDWORD ([in] long lHandle,[in] DWORD dw);
650 HRESULT ReadQWORD ([in] long lHandle,[out] unsigned __int64 *pqw);
651 HRESULT WriteQWORD ([in] long lHandle,[in] unsigned __int64 pw);
652 HRESULT GetPropertyInfoByHandle ([in] long lHandle,[out] BSTR *pstrName,[out] CIMTYPE *pType);
653 HRESULT Lock ([in] long lFlags);
654 HRESULT Unlock ([in] long lFlags);
655};
656
657[local, object, uuid (6daf974e-2e37-11d2-aec9-00c04fb68820)]
658interface IMofCompiler : IUnknown {
659 HRESULT CompileFile ([in, string] LPWSTR FileName,[in, string] LPWSTR ServerAndNamespace,[in, string] LPWSTR User,[in, string] LPWSTR Authority,[in, string] LPWSTR Password,[in] LONG lOptionFlags,[in] LONG lClassFlags,[in] LONG lInstanceFlags,[in, out] WBEM_COMPILE_STATUS_INFO *pInfo);
660 HRESULT CompileBuffer ([in] long BuffSize,[in, size_is (BuffSize)]BYTE *pBuffer,[in, string] LPWSTR ServerAndNamespace,[in, string] LPWSTR User,[in, string] LPWSTR Authority,[in, string] LPWSTR Password,[in] LONG lOptionFlags,[in] LONG lClassFlags,[in] LONG lInstanceFlags,[in, out] WBEM_COMPILE_STATUS_INFO *pInfo);
661 HRESULT CreateBMOF ([in, string] LPWSTR TextFileName,[in, string] LPWSTR BMOFFileName,[in, string] LPWSTR ServerAndNamespace,[in] LONG lOptionFlags,[in] LONG lClassFlags,[in] LONG lInstanceFlags,[in, out] WBEM_COMPILE_STATUS_INFO *pInfo);
662};
663
664[object, restricted, uuid (1cfaba8c-1523-11d1-ad79-00c04fd8fdff)]
665interface IUnsecuredApartment : IUnknown {
666 HRESULT CreateObjectStub ([in] IUnknown *pObject,[out] IUnknown **ppStub);
667};
668
669[object, restricted, uuid (31739d04-3471-4cf4-9a7c-57a44ae71956)]
670interface IWbemUnsecuredApartment : IUnsecuredApartment {
671 HRESULT CreateSinkStub ([in] IWbemObjectSink *pSink,[in] DWORD dwFlags,[in, unique] LPCWSTR wszReserved,[out] IWbemObjectSink **ppStub);
672};
673
674[local, object, uuid (eb87e1bc-3233-11d2-aec9-00c04fb68820)]
675interface IWbemStatusCodeText : IUnknown {
676 HRESULT GetErrorCodeText ([in] HRESULT hRes,[in] LCID LocaleId,[in] long lFlags,[out] BSTR *MessageText);
677 HRESULT GetFacilityCodeText ([in] HRESULT hRes,[in] LCID LocaleId,[in] long lFlags,[out] BSTR *MessageText);
678};
679
680[object, restricted, uuid (c49e32c7-bc8b-11d2-85d4-00105a1f8304)]
681interface IWbemBackupRestore : IUnknown {
682 HRESULT Backup ([in, string] LPCWSTR strBackupToFile,[in] long lFlags);
683 HRESULT Restore ([in, string] LPCWSTR strRestoreFromFile,[in] long lFlags);
684};
685
686[object, restricted, uuid (a359dec5-e813-4834-8a2a-ba7F1d777d76)]
687interface IWbemBackupRestoreEx : IWbemBackupRestore {
688 HRESULT Pause ();
689 HRESULT Resume ();
690};
691
692[local, object, restricted, uuid (49353c99-516b-11d1-aea6-00c04fb68820)]
693interface IWbemRefresher : IUnknown {
694 HRESULT Refresh ([in] long lFlags);
695}
696
697[local, object, restricted, uuid (2705c288-79ae-11d2-B348-00105a1f8177)]
698interface IWbemHiPerfEnum : IUnknown {
699 HRESULT AddObjects ([in] long lFlags,[in] ULONG uNumObjects,[in, size_is (uNumObjects)] long *apIds,[in, size_is (uNumObjects)] IWbemObjectAccess **apObj);
700 HRESULT RemoveObjects ([in] long lFlags,[in] ULONG uNumObjects,[in, size_is (uNumObjects)] long *apIds);
701 HRESULT GetObjects ([in] long lFlags,[in] ULONG uNumObjects,[out, size_is (uNumObjects), length_is (*puReturned)] IWbemObjectAccess **apObj,[out] ULONG *puReturned);
702 HRESULT RemoveAll ([in] long lFlags);
703};
704
705[local, object, restricted, uuid (49353c92-516b-11d1-aea6-00c04fb68820)]
706interface IWbemConfigureRefresher : IUnknown {
707 HRESULT AddObjectByPath ([in] IWbemServices *pNamespace,[in, string] LPCWSTR wszPath,[in] long lFlags,[in] IWbemContext *pContext,[out] IWbemClassObject **ppRefreshable,[out,] long *plId);
708 HRESULT AddObjectByTemplate ([in] IWbemServices *pNamespace,[in] IWbemClassObject *pTemplate,[in] long lFlags,[in] IWbemContext *pContext,[out] IWbemClassObject **ppRefreshable,[out,] long *plId);
709 HRESULT AddRefresher ([in] IWbemRefresher *pRefresher,[in] long lFlags,[out,] long *plId);
710 HRESULT Remove ([in] long lId,[in] long lFlags);
711 HRESULT AddEnum ([in] IWbemServices *pNamespace,[in, string] LPCWSTR wszClassName,[in] long lFlags,[in] IWbemContext *pContext,[out] IWbemHiPerfEnum **ppEnum,[out,] long *plId);
712};
713
714cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.