1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 7 #define __REQUIRED_RPCNDR_H_VERSION__ 475 8 #endif 9 10 #include "rpc.h" 11 #include "rpcndr.h" 12 13 #ifndef __RPCNDR_H_VERSION__ 14 #error This stub requires an updated version of <rpcndr.h> 15 #endif 16 17 #ifndef COM_NO_WINDOWS_H 18 #include "windows.h" 19 #include "ole2.h" 20 #endif 21 22 #ifndef __wbemcli_h__ 23 #define __wbemcli_h__ 24 25 #ifndef __IWbemClassObject_FWD_DEFINED__ 26 #define __IWbemClassObject_FWD_DEFINED__ 27 typedef struct IWbemClassObject IWbemClassObject; 28 #endif 29 30 #ifndef __IWbemObjectAccess_FWD_DEFINED__ 31 #define __IWbemObjectAccess_FWD_DEFINED__ 32 typedef struct IWbemObjectAccess IWbemObjectAccess; 33 #endif 34 35 #ifndef __IWbemQualifierSet_FWD_DEFINED__ 36 #define __IWbemQualifierSet_FWD_DEFINED__ 37 typedef struct IWbemQualifierSet IWbemQualifierSet; 38 #endif 39 40 #ifndef __IWbemServices_FWD_DEFINED__ 41 #define __IWbemServices_FWD_DEFINED__ 42 typedef struct IWbemServices IWbemServices; 43 #endif 44 45 #ifndef __IWbemLocator_FWD_DEFINED__ 46 #define __IWbemLocator_FWD_DEFINED__ 47 typedef struct IWbemLocator IWbemLocator; 48 #endif 49 50 #ifndef __IWbemObjectSink_FWD_DEFINED__ 51 #define __IWbemObjectSink_FWD_DEFINED__ 52 typedef struct IWbemObjectSink IWbemObjectSink; 53 #endif 54 55 #ifndef __IEnumWbemClassObject_FWD_DEFINED__ 56 #define __IEnumWbemClassObject_FWD_DEFINED__ 57 typedef struct IEnumWbemClassObject IEnumWbemClassObject; 58 #endif 59 60 #ifndef __IWbemCallResult_FWD_DEFINED__ 61 #define __IWbemCallResult_FWD_DEFINED__ 62 typedef struct IWbemCallResult IWbemCallResult; 63 #endif 64 65 #ifndef __IWbemContext_FWD_DEFINED__ 66 #define __IWbemContext_FWD_DEFINED__ 67 typedef struct IWbemContext IWbemContext; 68 #endif 69 70 #ifndef __IUnsecuredApartment_FWD_DEFINED__ 71 #define __IUnsecuredApartment_FWD_DEFINED__ 72 typedef struct IUnsecuredApartment IUnsecuredApartment; 73 #endif 74 75 #ifndef __IWbemUnsecuredApartment_FWD_DEFINED__ 76 #define __IWbemUnsecuredApartment_FWD_DEFINED__ 77 typedef struct IWbemUnsecuredApartment IWbemUnsecuredApartment; 78 #endif 79 80 #ifndef __IWbemStatusCodeText_FWD_DEFINED__ 81 #define __IWbemStatusCodeText_FWD_DEFINED__ 82 typedef struct IWbemStatusCodeText IWbemStatusCodeText; 83 #endif 84 85 #ifndef __IWbemBackupRestore_FWD_DEFINED__ 86 #define __IWbemBackupRestore_FWD_DEFINED__ 87 typedef struct IWbemBackupRestore IWbemBackupRestore; 88 #endif 89 90 #ifndef __IWbemBackupRestoreEx_FWD_DEFINED__ 91 #define __IWbemBackupRestoreEx_FWD_DEFINED__ 92 typedef struct IWbemBackupRestoreEx IWbemBackupRestoreEx; 93 #endif 94 95 #ifndef __IWbemRefresher_FWD_DEFINED__ 96 #define __IWbemRefresher_FWD_DEFINED__ 97 typedef struct IWbemRefresher IWbemRefresher; 98 #endif 99 100 #ifndef __IWbemHiPerfEnum_FWD_DEFINED__ 101 #define __IWbemHiPerfEnum_FWD_DEFINED__ 102 typedef struct IWbemHiPerfEnum IWbemHiPerfEnum; 103 #endif 104 105 #ifndef __IWbemConfigureRefresher_FWD_DEFINED__ 106 #define __IWbemConfigureRefresher_FWD_DEFINED__ 107 typedef struct IWbemConfigureRefresher IWbemConfigureRefresher; 108 #endif 109 110 #ifndef __WbemLocator_FWD_DEFINED__ 111 #define __WbemLocator_FWD_DEFINED__ 112 #ifdef __cplusplus 113 typedef class WbemLocator WbemLocator; 114 #else 115 typedef struct WbemLocator WbemLocator; 116 #endif 117 #endif 118 119 #ifndef __WbemContext_FWD_DEFINED__ 120 #define __WbemContext_FWD_DEFINED__ 121 #ifdef __cplusplus 122 typedef class WbemContext WbemContext; 123 #else 124 typedef struct WbemContext WbemContext; 125 #endif 126 #endif 127 128 #ifndef __UnsecuredApartment_FWD_DEFINED__ 129 #define __UnsecuredApartment_FWD_DEFINED__ 130 #ifdef __cplusplus 131 typedef class UnsecuredApartment UnsecuredApartment; 132 #else 133 typedef struct UnsecuredApartment UnsecuredApartment; 134 #endif 135 #endif 136 137 #ifndef __WbemClassObject_FWD_DEFINED__ 138 #define __WbemClassObject_FWD_DEFINED__ 139 #ifdef __cplusplus 140 typedef class WbemClassObject WbemClassObject; 141 #else 142 typedef struct WbemClassObject WbemClassObject; 143 #endif 144 #endif 145 146 #ifndef __MofCompiler_FWD_DEFINED__ 147 #define __MofCompiler_FWD_DEFINED__ 148 #ifdef __cplusplus 149 typedef class MofCompiler MofCompiler; 150 #else 151 typedef struct MofCompiler MofCompiler; 152 #endif 153 #endif 154 155 #ifndef __WbemStatusCodeText_FWD_DEFINED__ 156 #define __WbemStatusCodeText_FWD_DEFINED__ 157 #ifdef __cplusplus 158 typedef class WbemStatusCodeText WbemStatusCodeText; 159 #else 160 typedef struct WbemStatusCodeText WbemStatusCodeText; 161 #endif 162 #endif 163 164 #ifndef __WbemBackupRestore_FWD_DEFINED__ 165 #define __WbemBackupRestore_FWD_DEFINED__ 166 #ifdef __cplusplus 167 typedef class WbemBackupRestore WbemBackupRestore; 168 #else 169 typedef struct WbemBackupRestore WbemBackupRestore; 170 #endif 171 #endif 172 173 #ifndef __WbemRefresher_FWD_DEFINED__ 174 #define __WbemRefresher_FWD_DEFINED__ 175 #ifdef __cplusplus 176 typedef class WbemRefresher WbemRefresher; 177 #else 178 typedef struct WbemRefresher WbemRefresher; 179 #endif 180 #endif 181 182 #ifndef __WbemObjectTextSrc_FWD_DEFINED__ 183 #define __WbemObjectTextSrc_FWD_DEFINED__ 184 #ifdef __cplusplus 185 typedef class WbemObjectTextSrc WbemObjectTextSrc; 186 #else 187 typedef struct WbemObjectTextSrc WbemObjectTextSrc; 188 #endif 189 #endif 190 191 #ifndef __IWbemClassObject_FWD_DEFINED__ 192 #define __IWbemClassObject_FWD_DEFINED__ 193 typedef struct IWbemClassObject IWbemClassObject; 194 #endif 195 196 #ifndef __IWbemQualifierSet_FWD_DEFINED__ 197 #define __IWbemQualifierSet_FWD_DEFINED__ 198 typedef struct IWbemQualifierSet IWbemQualifierSet; 199 #endif 200 201 #ifndef __IWbemLocator_FWD_DEFINED__ 202 #define __IWbemLocator_FWD_DEFINED__ 203 typedef struct IWbemLocator IWbemLocator; 204 #endif 205 206 #ifndef __IWbemObjectSink_FWD_DEFINED__ 207 #define __IWbemObjectSink_FWD_DEFINED__ 208 typedef struct IWbemObjectSink IWbemObjectSink; 209 #endif 210 211 #ifndef __IEnumWbemClassObject_FWD_DEFINED__ 212 #define __IEnumWbemClassObject_FWD_DEFINED__ 213 typedef struct IEnumWbemClassObject IEnumWbemClassObject; 214 #endif 215 216 #ifndef __IWbemContext_FWD_DEFINED__ 217 #define __IWbemContext_FWD_DEFINED__ 218 typedef struct IWbemContext IWbemContext; 219 #endif 220 221 #ifndef __IWbemCallResult_FWD_DEFINED__ 222 #define __IWbemCallResult_FWD_DEFINED__ 223 typedef struct IWbemCallResult IWbemCallResult; 224 #endif 225 226 #ifndef __IWbemServices_FWD_DEFINED__ 227 #define __IWbemServices_FWD_DEFINED__ 228 typedef struct IWbemServices IWbemServices; 229 #endif 230 231 #ifndef __IWbemShutdown_FWD_DEFINED__ 232 #define __IWbemShutdown_FWD_DEFINED__ 233 typedef struct IWbemShutdown IWbemShutdown; 234 #endif 235 236 #ifndef __IWbemObjectTextSrc_FWD_DEFINED__ 237 #define __IWbemObjectTextSrc_FWD_DEFINED__ 238 typedef struct IWbemObjectTextSrc IWbemObjectTextSrc; 239 #endif 240 241 #ifndef __IWbemObjectAccess_FWD_DEFINED__ 242 #define __IWbemObjectAccess_FWD_DEFINED__ 243 typedef struct IWbemObjectAccess IWbemObjectAccess; 244 #endif 245 246 #ifndef __IMofCompiler_FWD_DEFINED__ 247 #define __IMofCompiler_FWD_DEFINED__ 248 typedef struct IMofCompiler IMofCompiler; 249 #endif 250 251 #ifndef __IUnsecuredApartment_FWD_DEFINED__ 252 #define __IUnsecuredApartment_FWD_DEFINED__ 253 typedef struct IUnsecuredApartment IUnsecuredApartment; 254 #endif 255 256 #ifndef __IWbemUnsecuredApartment_FWD_DEFINED__ 257 #define __IWbemUnsecuredApartment_FWD_DEFINED__ 258 typedef struct IWbemUnsecuredApartment IWbemUnsecuredApartment; 259 #endif 260 261 #ifndef __IWbemStatusCodeText_FWD_DEFINED__ 262 #define __IWbemStatusCodeText_FWD_DEFINED__ 263 typedef struct IWbemStatusCodeText IWbemStatusCodeText; 264 #endif 265 266 #ifndef __IWbemBackupRestore_FWD_DEFINED__ 267 #define __IWbemBackupRestore_FWD_DEFINED__ 268 typedef struct IWbemBackupRestore IWbemBackupRestore; 269 #endif 270 271 #ifndef __IWbemBackupRestoreEx_FWD_DEFINED__ 272 #define __IWbemBackupRestoreEx_FWD_DEFINED__ 273 typedef struct IWbemBackupRestoreEx IWbemBackupRestoreEx; 274 #endif 275 276 #ifndef __IWbemRefresher_FWD_DEFINED__ 277 #define __IWbemRefresher_FWD_DEFINED__ 278 typedef struct IWbemRefresher IWbemRefresher; 279 #endif 280 281 #ifndef __IWbemHiPerfEnum_FWD_DEFINED__ 282 #define __IWbemHiPerfEnum_FWD_DEFINED__ 283 typedef struct IWbemHiPerfEnum IWbemHiPerfEnum; 284 #endif 285 286 #ifndef __IWbemConfigureRefresher_FWD_DEFINED__ 287 #define __IWbemConfigureRefresher_FWD_DEFINED__ 288 typedef struct IWbemConfigureRefresher IWbemConfigureRefresher; 289 #endif 290 291 #ifdef __cplusplus 292 extern "C" { 293 #endif 294 295 #ifndef __MIDL_user_allocate_free_DEFINED__ 296 #define __MIDL_user_allocate_free_DEFINED__ 297 void *__RPC_API MIDL_user_allocate(size_t); 298 void __RPC_API MIDL_user_free(void *); 299 #endif 300 301 #ifndef __WbemClient_v1_LIBRARY_DEFINED__ 302 #define __WbemClient_v1_LIBRARY_DEFINED__ 303 304 typedef enum tag_WBEM_GENUS_TYPE { 305 WBEM_GENUS_CLASS = 1,WBEM_GENUS_INSTANCE = 2 306 } WBEM_GENUS_TYPE; 307 308 typedef enum tag_WBEM_CHANGE_FLAG_TYPE { 309 WBEM_FLAG_CREATE_OR_UPDATE = 0,WBEM_FLAG_UPDATE_ONLY = 0x1,WBEM_FLAG_CREATE_ONLY = 0x2,WBEM_FLAG_UPDATE_COMPATIBLE = 0, 310 WBEM_FLAG_UPDATE_SAFE_MODE = 0x20,WBEM_FLAG_UPDATE_FORCE_MODE = 0x40,WBEM_MASK_UPDATE_MODE = 0x60,WBEM_FLAG_ADVISORY = 0x10000 311 } WBEM_CHANGE_FLAG_TYPE; 312 313 typedef enum tag_WBEM_GENERIC_FLAG_TYPE { 314 WBEM_FLAG_RETURN_IMMEDIATELY = 0x10,WBEM_FLAG_RETURN_WBEM_COMPLETE = 0,WBEM_FLAG_BIDIRECTIONAL = 0,WBEM_FLAG_FORWARD_ONLY = 0x20, 315 WBEM_FLAG_NO_ERROR_OBJECT = 0x40,WBEM_FLAG_RETURN_ERROR_OBJECT = 0,WBEM_FLAG_SEND_STATUS = 0x80,WBEM_FLAG_DONT_SEND_STATUS = 0, 316 WBEM_FLAG_ENSURE_LOCATABLE = 0x100,WBEM_FLAG_DIRECT_READ = 0x200,WBEM_FLAG_SEND_ONLY_SELECTED = 0,WBEM_RETURN_WHEN_COMPLETE = 0, 317 WBEM_RETURN_IMMEDIATELY = 0x10,WBEM_MASK_RESERVED_FLAGS = 0x1f000,WBEM_FLAG_USE_AMENDED_QUALIFIERS = 0x20000, 318 WBEM_FLAG_STRONG_VALIDATION = 0x100000 319 } WBEM_GENERIC_FLAG_TYPE; 320 321 typedef enum tag_WBEM_STATUS_TYPE { 322 WBEM_STATUS_COMPLETE = 0,WBEM_STATUS_REQUIREMENTS = 1,WBEM_STATUS_PROGRESS = 2 323 } WBEM_STATUS_TYPE; 324 325 typedef enum tag_WBEM_TIMEOUT_TYPE { 326 WBEM_NO_WAIT = 0,WBEM_INFINITE = 0xffffffff 327 } WBEM_TIMEOUT_TYPE; 328 329 typedef enum tag_WBEM_CONDITION_FLAG_TYPE { 330 WBEM_FLAG_ALWAYS = 0,WBEM_FLAG_ONLY_IF_TRUE = 0x1,WBEM_FLAG_ONLY_IF_FALSE = 0x2,WBEM_FLAG_ONLY_IF_IDENTICAL = 0x3,WBEM_MASK_PRIMARY_CONDITION = 0x3, 331 WBEM_FLAG_KEYS_ONLY = 0x4,WBEM_FLAG_REFS_ONLY = 0x8,WBEM_FLAG_LOCAL_ONLY = 0x10,WBEM_FLAG_PROPAGATED_ONLY = 0x20,WBEM_FLAG_SYSTEM_ONLY = 0x30, 332 WBEM_FLAG_NONSYSTEM_ONLY = 0x40,WBEM_MASK_CONDITION_ORIGIN = 0x70,WBEM_FLAG_CLASS_OVERRIDES_ONLY = 0x100,WBEM_FLAG_CLASS_LOCAL_AND_OVERRIDES = 0x200, 333 WBEM_MASK_CLASS_CONDITION = 0x300 334 } WBEM_CONDITION_FLAG_TYPE; 335 336 typedef enum tag_WBEM_FLAVOR_TYPE { 337 WBEM_FLAVOR_DONT_PROPAGATE = 0,WBEM_FLAVOR_FLAG_PROPAGATE_TO_INSTANCE = 0x1,WBEM_FLAVOR_FLAG_PROPAGATE_TO_DERIVED_CLASS = 0x2, 338 WBEM_FLAVOR_MASK_PROPAGATION = 0xf,WBEM_FLAVOR_OVERRIDABLE = 0,WBEM_FLAVOR_NOT_OVERRIDABLE = 0x10,WBEM_FLAVOR_MASK_PERMISSIONS = 0x10, 339 WBEM_FLAVOR_ORIGIN_LOCAL = 0,WBEM_FLAVOR_ORIGIN_PROPAGATED = 0x20,WBEM_FLAVOR_ORIGIN_SYSTEM = 0x40,WBEM_FLAVOR_MASK_ORIGIN = 0x60, 340 WBEM_FLAVOR_NOT_AMENDED = 0,WBEM_FLAVOR_AMENDED = 0x80,WBEM_FLAVOR_MASK_AMENDED = 0x80 341 } WBEM_FLAVOR_TYPE; 342 343 typedef enum tag_WBEM_QUERY_FLAG_TYPE { 344 WBEM_FLAG_DEEP = 0,WBEM_FLAG_SHALLOW = 1,WBEM_FLAG_PROTOTYPE = 2 345 } WBEM_QUERY_FLAG_TYPE; 346 347 typedef enum tag_WBEM_SECURITY_FLAGS { 348 WBEM_ENABLE = 1,WBEM_METHOD_EXECUTE = 2,WBEM_FULL_WRITE_REP = 4,WBEM_PARTIAL_WRITE_REP = 8,WBEM_WRITE_PROVIDER = 0x10,WBEM_REMOTE_ACCESS = 0x20, 349 WBEM_RIGHT_SUBSCRIBE = 0x40,WBEM_RIGHT_PUBLISH = 0x80 350 } WBEM_SECURITY_FLAGS; 351 352 typedef enum tag_WBEM_LIMITATION_FLAG_TYPE { 353 WBEM_FLAG_EXCLUDE_OBJECT_QUALIFIERS = 0x10,WBEM_FLAG_EXCLUDE_PROPERTY_QUALIFIERS = 0x20 354 } WBEM_LIMITATION_FLAG_TYPE; 355 356 typedef enum tag_WBEM_TEXT_FLAG_TYPE { 357 WBEM_FLAG_NO_FLAVORS = 0x1 358 } WBEM_TEXT_FLAG_TYPE; 359 360 typedef enum tag_WBEM_COMPARISON_FLAG { 361 WBEM_COMPARISON_INCLUDE_ALL = 0,WBEM_FLAG_IGNORE_QUALIFIERS = 0x1,WBEM_FLAG_IGNORE_OBJECT_SOURCE = 0x2,WBEM_FLAG_IGNORE_DEFAULT_VALUES = 0x4, 362 WBEM_FLAG_IGNORE_CLASS = 0x8,WBEM_FLAG_IGNORE_CASE = 0x10,WBEM_FLAG_IGNORE_FLAVOR = 0x20 363 } WBEM_COMPARISON_FLAG; 364 365 typedef enum tag_WBEM_LOCKING { 366 WBEM_FLAG_ALLOW_READ = 0x1 367 } WBEM_LOCKING_FLAG_TYPE; 368 369 typedef enum tag_CIMTYPE_ENUMERATION { 370 CIM_ILLEGAL = 0xfff,CIM_EMPTY = 0,CIM_SINT8 = 16,CIM_UINT8 = 17,CIM_SINT16 = 2,CIM_UINT16 = 18,CIM_SINT32 = 3,CIM_UINT32 = 19,CIM_SINT64 = 20, 371 CIM_UINT64 = 21,CIM_REAL32 = 4,CIM_REAL64 = 5,CIM_BOOLEAN = 11,CIM_STRING = 8,CIM_DATETIME = 101,CIM_REFERENCE = 102,CIM_CHAR16 = 103, 372 CIM_OBJECT = 13,CIM_FLAG_ARRAY = 0x2000 373 } CIMTYPE_ENUMERATION; 374 375 typedef enum tag_WBEM_BACKUP_RESTORE_FLAGS { 376 WBEM_FLAG_BACKUP_RESTORE_DEFAULT = 0,WBEM_FLAG_BACKUP_RESTORE_FORCE_SHUTDOWN = 1 377 } WBEM_BACKUP_RESTORE_FLAGS; 378 379 typedef enum tag_WBEM_REFRESHER_FLAGS { 380 WBEM_FLAG_REFRESH_AUTO_RECONNECT = 0,WBEM_FLAG_REFRESH_NO_AUTO_RECONNECT = 1 381 } WBEM_REFRESHER_FLAGS; 382 383 typedef enum tag_WBEM_SHUTDOWN_FLAGS { 384 WBEM_SHUTDOWN_UNLOAD_COMPONENT = 1,WBEM_SHUTDOWN_WMI = 2,WBEM_SHUTDOWN_OS = 3 385 } WBEM_SHUTDOWN_FLAGS; 386 387 typedef __LONG32 CIMTYPE; 388 389 typedef enum tag_WBEMSTATUS_FORMAT { 390 WBEMSTATUS_FORMAT_NEWLINE = 0,WBEMSTATUS_FORMAT_NO_NEWLINE = 1 391 } WBEMSTATUS_FORMAT; 392 393 typedef enum tag_WBEM_LIMITS { 394 WBEM_MAX_IDENTIFIER = 0x1000,WBEM_MAX_QUERY = 0x4000,WBEM_MAX_PATH = 0x2000,WBEM_MAX_OBJECT_NESTING = 64,WBEM_MAX_USER_PROPERTIES = 1024 395 } WBEM_LIMITS; 396 397 typedef enum tag_WBEMSTATUS { 398 WBEM_NO_ERROR = 0,WBEM_S_NO_ERROR = 0,WBEM_S_SAME = 0,WBEM_S_FALSE = 1,WBEM_S_ALREADY_EXISTS = 0x40001,WBEM_S_RESET_TO_DEFAULT = 0x40002, 399 WBEM_S_DIFFERENT = 0x40003,WBEM_S_TIMEDOUT = 0x40004,WBEM_S_NO_MORE_DATA = 0x40005,WBEM_S_OPERATION_CANCELLED = 0x40006,WBEM_S_PENDING = 0x40007, 400 WBEM_S_DUPLICATE_OBJECTS = 0x40008,WBEM_S_ACCESS_DENIED = 0x40009,WBEM_S_PARTIAL_RESULTS = 0x40010,WBEM_S_SOURCE_NOT_AVAILABLE = 0x40017, 401 WBEM_E_FAILED = 0x80041001,WBEM_E_NOT_FOUND = 0x80041002,WBEM_E_ACCESS_DENIED = 0x80041003,WBEM_E_PROVIDER_FAILURE = 0x80041004, 402 WBEM_E_TYPE_MISMATCH = 0x80041005,WBEM_E_OUT_OF_MEMORY = 0x80041006,WBEM_E_INVALID_CONTEXT = 0x80041007,WBEM_E_INVALID_PARAMETER = 0x80041008, 403 WBEM_E_NOT_AVAILABLE = 0x80041009,WBEM_E_CRITICAL_ERROR = 0x8004100a,WBEM_E_INVALID_STREAM = 0x8004100b,WBEM_E_NOT_SUPPORTED = 0x8004100c, 404 WBEM_E_INVALID_SUPERCLASS = 0x8004100d,WBEM_E_INVALID_NAMESPACE = 0x8004100e,WBEM_E_INVALID_OBJECT = 0x8004100f,WBEM_E_INVALID_CLASS = 0x80041010, 405 WBEM_E_PROVIDER_NOT_FOUND = 0x80041011,WBEM_E_INVALID_PROVIDER_REGISTRATION = 0x80041012,WBEM_E_PROVIDER_LOAD_FAILURE = 0x80041013, 406 WBEM_E_INITIALIZATION_FAILURE = 0x80041014,WBEM_E_TRANSPORT_FAILURE = 0x80041015,WBEM_E_INVALID_OPERATION = 0x80041016, 407 WBEM_E_INVALID_QUERY = 0x80041017,WBEM_E_INVALID_QUERY_TYPE = 0x80041018,WBEM_E_ALREADY_EXISTS = 0x80041019,WBEM_E_OVERRIDE_NOT_ALLOWED = 0x8004101a, 408 WBEM_E_PROPAGATED_QUALIFIER = 0x8004101b,WBEM_E_PROPAGATED_PROPERTY = 0x8004101c,WBEM_E_UNEXPECTED = 0x8004101d,WBEM_E_ILLEGAL_OPERATION = 0x8004101e, 409 WBEM_E_CANNOT_BE_KEY = 0x8004101f,WBEM_E_INCOMPLETE_CLASS = 0x80041020,WBEM_E_INVALID_SYNTAX = 0x80041021,WBEM_E_NONDECORATED_OBJECT = 0x80041022, 410 WBEM_E_READ_ONLY = 0x80041023,WBEM_E_PROVIDER_NOT_CAPABLE = 0x80041024,WBEM_E_CLASS_HAS_CHILDREN = 0x80041025, 411 WBEM_E_CLASS_HAS_INSTANCES = 0x80041026,WBEM_E_QUERY_NOT_IMPLEMENTED = 0x80041027,WBEM_E_ILLEGAL_NULL = 0x80041028, 412 WBEM_E_INVALID_QUALIFIER_TYPE = 0x80041029,WBEM_E_INVALID_PROPERTY_TYPE = 0x8004102a,WBEM_E_VALUE_OUT_OF_RANGE = 0x8004102b, 413 WBEM_E_CANNOT_BE_SINGLETON = 0x8004102c,WBEM_E_INVALID_CIM_TYPE = 0x8004102d,WBEM_E_INVALID_METHOD = 0x8004102e, 414 WBEM_E_INVALID_METHOD_PARAMETERS = 0x8004102f,WBEM_E_SYSTEM_PROPERTY = 0x80041030,WBEM_E_INVALID_PROPERTY = 0x80041031, 415 WBEM_E_CALL_CANCELLED = 0x80041032,WBEM_E_SHUTTING_DOWN = 0x80041033,WBEM_E_PROPAGATED_METHOD = 0x80041034, 416 WBEM_E_UNSUPPORTED_PARAMETER = 0x80041035,WBEM_E_MISSING_PARAMETER_ID = 0x80041036,WBEM_E_INVALID_PARAMETER_ID = 0x80041037, 417 WBEM_E_NONCONSECUTIVE_PARAMETER_IDS = 0x80041038,WBEM_E_PARAMETER_ID_ON_RETVAL = 0x80041039,WBEM_E_INVALID_OBJECT_PATH = 0x8004103a, 418 WBEM_E_OUT_OF_DISK_SPACE = 0x8004103b,WBEM_E_BUFFER_TOO_SMALL = 0x8004103c,WBEM_E_UNSUPPORTED_PUT_EXTENSION = 0x8004103d, 419 WBEM_E_UNKNOWN_OBJECT_TYPE = 0x8004103e,WBEM_E_UNKNOWN_PACKET_TYPE = 0x8004103f,WBEM_E_MARSHAL_VERSION_MISMATCH = 0x80041040, 420 WBEM_E_MARSHAL_INVALID_SIGNATURE = 0x80041041,WBEM_E_INVALID_QUALIFIER = 0x80041042,WBEM_E_INVALID_DUPLICATE_PARAMETER = 0x80041043, 421 WBEM_E_TOO_MUCH_DATA = 0x80041044,WBEM_E_SERVER_TOO_BUSY = 0x80041045,WBEM_E_INVALID_FLAVOR = 0x80041046,WBEM_E_CIRCULAR_REFERENCE = 0x80041047, 422 WBEM_E_UNSUPPORTED_CLASS_UPDATE = 0x80041048,WBEM_E_CANNOT_CHANGE_KEY_INHERITANCE = 0x80041049,WBEM_E_CANNOT_CHANGE_INDEX_INHERITANCE = 0x80041050, 423 WBEM_E_TOO_MANY_PROPERTIES = 0x80041051,WBEM_E_UPDATE_TYPE_MISMATCH = 0x80041052,WBEM_E_UPDATE_OVERRIDE_NOT_ALLOWED = 0x80041053, 424 WBEM_E_UPDATE_PROPAGATED_METHOD = 0x80041054,WBEM_E_METHOD_NOT_IMPLEMENTED = 0x80041055,WBEM_E_METHOD_DISABLED = 0x80041056, 425 WBEM_E_REFRESHER_BUSY = 0x80041057,WBEM_E_UNPARSABLE_QUERY = 0x80041058,WBEM_E_NOT_EVENT_CLASS = 0x80041059,WBEM_E_MISSING_GROUP_WITHIN = 0x8004105a, 426 WBEM_E_MISSING_AGGREGATION_LIST = 0x8004105b,WBEM_E_PROPERTY_NOT_AN_OBJECT = 0x8004105c,WBEM_E_AGGREGATING_BY_OBJECT = 0x8004105d, 427 WBEM_E_UNINTERPRETABLE_PROVIDER_QUERY = 0x8004105f,WBEM_E_BACKUP_RESTORE_WINMGMT_RUNNING = 0x80041060,WBEM_E_QUEUE_OVERFLOW = 0x80041061, 428 WBEM_E_PRIVILEGE_NOT_HELD = 0x80041062,WBEM_E_INVALID_OPERATOR = 0x80041063,WBEM_E_LOCAL_CREDENTIALS = 0x80041064, 429 WBEM_E_CANNOT_BE_ABSTRACT = 0x80041065,WBEM_E_AMENDED_OBJECT = 0x80041066,WBEM_E_CLIENT_TOO_SLOW = 0x80041067, 430 WBEM_E_NULL_SECURITY_DESCRIPTOR = 0x80041068,WBEM_E_TIMED_OUT = 0x80041069,WBEM_E_INVALID_ASSOCIATION = 0x8004106a, 431 WBEM_E_AMBIGUOUS_OPERATION = 0x8004106b,WBEM_E_QUOTA_VIOLATION = 0x8004106c,WBEM_E_RESERVED_001 = 0x8004106d,WBEM_E_RESERVED_002 = 0x8004106e, 432 WBEM_E_UNSUPPORTED_LOCALE = 0x8004106f,WBEM_E_HANDLE_OUT_OF_DATE = 0x80041070,WBEM_E_CONNECTION_FAILED = 0x80041071, 433 WBEM_E_INVALID_HANDLE_REQUEST = 0x80041072,WBEM_E_PROPERTY_NAME_TOO_WIDE = 0x80041073,WBEM_E_CLASS_NAME_TOO_WIDE = 0x80041074, 434 WBEM_E_METHOD_NAME_TOO_WIDE = 0x80041075,WBEM_E_QUALIFIER_NAME_TOO_WIDE = 0x80041076,WBEM_E_RERUN_COMMAND = 0x80041077, 435 WBEM_E_DATABASE_VER_MISMATCH = 0x80041078,WBEM_E_VETO_DELETE = 0x80041079,WBEM_E_VETO_PUT = 0x8004107a,WBEM_E_INVALID_LOCALE = 0x80041080, 436 WBEM_E_PROVIDER_SUSPENDED = 0x80041081,WBEM_E_SYNCHRONIZATION_REQUIRED = 0x80041082,WBEM_E_NO_SCHEMA = 0x80041083, 437 WBEM_E_PROVIDER_ALREADY_REGISTERED = 0x80041084,WBEM_E_PROVIDER_NOT_REGISTERED = 0x80041085,WBEM_E_FATAL_TRANSPORT_ERROR = 0x80041086, 438 WBEM_E_ENCRYPTED_CONNECTION_REQUIRED = 0x80041087,WBEM_E_PROVIDER_TIMED_OUT = 0x80041088,WBEM_E_NO_KEY = 0x80041089, 439 WBEM_E_PROVIDER_DISABLED = 0x8004108a,WBEMESS_E_REGISTRATION_TOO_BROAD = 0x80042001,WBEMESS_E_REGISTRATION_TOO_PRECISE = 0x80042002, 440 WBEMESS_E_AUTHZ_NOT_PRIVILEGED = 0x80042003,WBEMMOF_E_EXPECTED_QUALIFIER_NAME = 0x80044001,WBEMMOF_E_EXPECTED_SEMI = 0x80044002, 441 WBEMMOF_E_EXPECTED_OPEN_BRACE = 0x80044003,WBEMMOF_E_EXPECTED_CLOSE_BRACE = 0x80044004,WBEMMOF_E_EXPECTED_CLOSE_BRACKET = 0x80044005, 442 WBEMMOF_E_EXPECTED_CLOSE_PAREN = 0x80044006,WBEMMOF_E_ILLEGAL_CONSTANT_VALUE = 0x80044007,WBEMMOF_E_EXPECTED_TYPE_IDENTIFIER = 0x80044008, 443 WBEMMOF_E_EXPECTED_OPEN_PAREN = 0x80044009,WBEMMOF_E_UNRECOGNIZED_TOKEN = 0x8004400a,WBEMMOF_E_UNRECOGNIZED_TYPE = 0x8004400b, 444 WBEMMOF_E_EXPECTED_PROPERTY_NAME = 0x8004400c,WBEMMOF_E_TYPEDEF_NOT_SUPPORTED = 0x8004400d,WBEMMOF_E_UNEXPECTED_ALIAS = 0x8004400e, 445 WBEMMOF_E_UNEXPECTED_ARRAY_INIT = 0x8004400f,WBEMMOF_E_INVALID_AMENDMENT_SYNTAX = 0x80044010,WBEMMOF_E_INVALID_DUPLICATE_AMENDMENT = 0x80044011, 446 WBEMMOF_E_INVALID_PRAGMA = 0x80044012,WBEMMOF_E_INVALID_NAMESPACE_SYNTAX = 0x80044013,WBEMMOF_E_EXPECTED_CLASS_NAME = 0x80044014, 447 WBEMMOF_E_TYPE_MISMATCH = 0x80044015,WBEMMOF_E_EXPECTED_ALIAS_NAME = 0x80044016,WBEMMOF_E_INVALID_CLASS_DECLARATION = 0x80044017, 448 WBEMMOF_E_INVALID_INSTANCE_DECLARATION = 0x80044018,WBEMMOF_E_EXPECTED_DOLLAR = 0x80044019,WBEMMOF_E_CIMTYPE_QUALIFIER = 0x8004401a, 449 WBEMMOF_E_DUPLICATE_PROPERTY = 0x8004401b,WBEMMOF_E_INVALID_NAMESPACE_SPECIFICATION = 0x8004401c,WBEMMOF_E_OUT_OF_RANGE = 0x8004401d, 450 WBEMMOF_E_INVALID_FILE = 0x8004401e,WBEMMOF_E_ALIASES_IN_EMBEDDED = 0x8004401f,WBEMMOF_E_NULL_ARRAY_ELEM = 0x80044020, 451 WBEMMOF_E_DUPLICATE_QUALIFIER = 0x80044021,WBEMMOF_E_EXPECTED_FLAVOR_TYPE = 0x80044022,WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES = 0x80044023, 452 WBEMMOF_E_MULTIPLE_ALIASES = 0x80044024,WBEMMOF_E_INCOMPATIBLE_FLAVOR_TYPES2 = 0x80044025,WBEMMOF_E_NO_ARRAYS_RETURNED = 0x80044026, 453 WBEMMOF_E_MUST_BE_IN_OR_OUT = 0x80044027,WBEMMOF_E_INVALID_FLAGS_SYNTAX = 0x80044028,WBEMMOF_E_EXPECTED_BRACE_OR_BAD_TYPE = 0x80044029, 454 WBEMMOF_E_UNSUPPORTED_CIMV22_QUAL_VALUE = 0x8004402a,WBEMMOF_E_UNSUPPORTED_CIMV22_DATA_TYPE = 0x8004402b, 455 WBEMMOF_E_INVALID_DELETEINSTANCE_SYNTAX = 0x8004402c,WBEMMOF_E_INVALID_QUALIFIER_SYNTAX = 0x8004402d, 456 WBEMMOF_E_QUALIFIER_USED_OUTSIDE_SCOPE = 0x8004402e,WBEMMOF_E_ERROR_CREATING_TEMP_FILE = 0x8004402f, 457 WBEMMOF_E_ERROR_INVALID_INCLUDE_FILE = 0x80044030,WBEMMOF_E_INVALID_DELETECLASS_SYNTAX = 0x80044031 458 } WBEMSTATUS; 459 460 EXTERN_C const IID LIBID_WbemClient_v1; 461 #ifndef __IWbemClassObject_INTERFACE_DEFINED__ 462 #define __IWbemClassObject_INTERFACE_DEFINED__ 463 EXTERN_C const IID IID_IWbemClassObject; 464 #if defined(__cplusplus) && !defined(CINTERFACE) 465 struct IWbemClassObject : public IUnknown { 466 public: 467 virtual HRESULT WINAPI GetQualifierSet(IWbemQualifierSet **ppQualSet) = 0; 468 virtual HRESULT WINAPI Get(LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor) = 0; 469 virtual HRESULT WINAPI Put(LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE Type) = 0; 470 virtual HRESULT WINAPI Delete(LPCWSTR wszName) = 0; 471 virtual HRESULT WINAPI GetNames(LPCWSTR wszQualifierName,__LONG32 lFlags,VARIANT *pQualifierVal,SAFEARRAY **pNames) = 0; 472 virtual HRESULT WINAPI BeginEnumeration(__LONG32 lEnumFlags) = 0; 473 virtual HRESULT WINAPI Next(__LONG32 lFlags,BSTR *strName,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor) = 0; 474 virtual HRESULT WINAPI EndEnumeration(void) = 0; 475 virtual HRESULT WINAPI GetPropertyQualifierSet(LPCWSTR wszProperty,IWbemQualifierSet **ppQualSet) = 0; 476 virtual HRESULT WINAPI Clone(IWbemClassObject **ppCopy) = 0; 477 virtual HRESULT WINAPI GetObjectText(__LONG32 lFlags,BSTR *pstrObjectText) = 0; 478 virtual HRESULT WINAPI SpawnDerivedClass(__LONG32 lFlags,IWbemClassObject **ppNewClass) = 0; 479 virtual HRESULT WINAPI SpawnInstance(__LONG32 lFlags,IWbemClassObject **ppNewInstance) = 0; 480 virtual HRESULT WINAPI CompareTo(__LONG32 lFlags,IWbemClassObject *pCompareTo) = 0; 481 virtual HRESULT WINAPI GetPropertyOrigin(LPCWSTR wszName,BSTR *pstrClassName) = 0; 482 virtual HRESULT WINAPI InheritsFrom(LPCWSTR strAncestor) = 0; 483 virtual HRESULT WINAPI GetMethod(LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature) = 0; 484 virtual HRESULT WINAPI PutMethod(LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject *pInSignature,IWbemClassObject *pOutSignature) = 0; 485 virtual HRESULT WINAPI DeleteMethod(LPCWSTR wszName) = 0; 486 virtual HRESULT WINAPI BeginMethodEnumeration(__LONG32 lEnumFlags) = 0; 487 virtual HRESULT WINAPI NextMethod(__LONG32 lFlags,BSTR *pstrName,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature) = 0; 488 virtual HRESULT WINAPI EndMethodEnumeration(void) = 0; 489 virtual HRESULT WINAPI GetMethodQualifierSet(LPCWSTR wszMethod,IWbemQualifierSet **ppQualSet) = 0; 490 virtual HRESULT WINAPI GetMethodOrigin(LPCWSTR wszMethodName,BSTR *pstrClassName) = 0; 491 }; 492 #else 493 typedef struct IWbemClassObjectVtbl { 494 BEGIN_INTERFACE 495 HRESULT (WINAPI *QueryInterface)(IWbemClassObject *This,REFIID riid,void **ppvObject); 496 ULONG (WINAPI *AddRef)(IWbemClassObject *This); 497 ULONG (WINAPI *Release)(IWbemClassObject *This); 498 HRESULT (WINAPI *GetQualifierSet)(IWbemClassObject *This,IWbemQualifierSet **ppQualSet); 499 HRESULT (WINAPI *Get)(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 500 HRESULT (WINAPI *Put)(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE Type); 501 HRESULT (WINAPI *Delete)(IWbemClassObject *This,LPCWSTR wszName); 502 HRESULT (WINAPI *GetNames)(IWbemClassObject *This,LPCWSTR wszQualifierName,__LONG32 lFlags,VARIANT *pQualifierVal,SAFEARRAY **pNames); 503 HRESULT (WINAPI *BeginEnumeration)(IWbemClassObject *This,__LONG32 lEnumFlags); 504 HRESULT (WINAPI *Next)(IWbemClassObject *This,__LONG32 lFlags,BSTR *strName,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 505 HRESULT (WINAPI *EndEnumeration)(IWbemClassObject *This); 506 HRESULT (WINAPI *GetPropertyQualifierSet)(IWbemClassObject *This,LPCWSTR wszProperty,IWbemQualifierSet **ppQualSet); 507 HRESULT (WINAPI *Clone)(IWbemClassObject *This,IWbemClassObject **ppCopy); 508 HRESULT (WINAPI *GetObjectText)(IWbemClassObject *This,__LONG32 lFlags,BSTR *pstrObjectText); 509 HRESULT (WINAPI *SpawnDerivedClass)(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject **ppNewClass); 510 HRESULT (WINAPI *SpawnInstance)(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject **ppNewInstance); 511 HRESULT (WINAPI *CompareTo)(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject *pCompareTo); 512 HRESULT (WINAPI *GetPropertyOrigin)(IWbemClassObject *This,LPCWSTR wszName,BSTR *pstrClassName); 513 HRESULT (WINAPI *InheritsFrom)(IWbemClassObject *This,LPCWSTR strAncestor); 514 HRESULT (WINAPI *GetMethod)(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 515 HRESULT (WINAPI *PutMethod)(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject *pInSignature,IWbemClassObject *pOutSignature); 516 HRESULT (WINAPI *DeleteMethod)(IWbemClassObject *This,LPCWSTR wszName); 517 HRESULT (WINAPI *BeginMethodEnumeration)(IWbemClassObject *This,__LONG32 lEnumFlags); 518 HRESULT (WINAPI *NextMethod)(IWbemClassObject *This,__LONG32 lFlags,BSTR *pstrName,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 519 HRESULT (WINAPI *EndMethodEnumeration)(IWbemClassObject *This); 520 HRESULT (WINAPI *GetMethodQualifierSet)(IWbemClassObject *This,LPCWSTR wszMethod,IWbemQualifierSet **ppQualSet); 521 HRESULT (WINAPI *GetMethodOrigin)(IWbemClassObject *This,LPCWSTR wszMethodName,BSTR *pstrClassName); 522 END_INTERFACE 523 } IWbemClassObjectVtbl; 524 struct IWbemClassObject { 525 CONST_VTBL struct IWbemClassObjectVtbl *lpVtbl; 526 }; 527 #ifdef COBJMACROS 528 #define IWbemClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 529 #define IWbemClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) 530 #define IWbemClassObject_Release(This) (This)->lpVtbl->Release(This) 531 #define IWbemClassObject_GetQualifierSet(This,ppQualSet) (This)->lpVtbl->GetQualifierSet(This,ppQualSet) 532 #define IWbemClassObject_Get(This,wszName,lFlags,pVal,pType,plFlavor) (This)->lpVtbl->Get(This,wszName,lFlags,pVal,pType,plFlavor) 533 #define IWbemClassObject_Put(This,wszName,lFlags,pVal,Type) (This)->lpVtbl->Put(This,wszName,lFlags,pVal,Type) 534 #define IWbemClassObject_Delete(This,wszName) (This)->lpVtbl->Delete(This,wszName) 535 #define IWbemClassObject_GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) (This)->lpVtbl->GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) 536 #define IWbemClassObject_BeginEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginEnumeration(This,lEnumFlags) 537 #define IWbemClassObject_Next(This,lFlags,strName,pVal,pType,plFlavor) (This)->lpVtbl->Next(This,lFlags,strName,pVal,pType,plFlavor) 538 #define IWbemClassObject_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) 539 #define IWbemClassObject_GetPropertyQualifierSet(This,wszProperty,ppQualSet) (This)->lpVtbl->GetPropertyQualifierSet(This,wszProperty,ppQualSet) 540 #define IWbemClassObject_Clone(This,ppCopy) (This)->lpVtbl->Clone(This,ppCopy) 541 #define IWbemClassObject_GetObjectText(This,lFlags,pstrObjectText) (This)->lpVtbl->GetObjectText(This,lFlags,pstrObjectText) 542 #define IWbemClassObject_SpawnDerivedClass(This,lFlags,ppNewClass) (This)->lpVtbl->SpawnDerivedClass(This,lFlags,ppNewClass) 543 #define IWbemClassObject_SpawnInstance(This,lFlags,ppNewInstance) (This)->lpVtbl->SpawnInstance(This,lFlags,ppNewInstance) 544 #define IWbemClassObject_CompareTo(This,lFlags,pCompareTo) (This)->lpVtbl->CompareTo(This,lFlags,pCompareTo) 545 #define IWbemClassObject_GetPropertyOrigin(This,wszName,pstrClassName) (This)->lpVtbl->GetPropertyOrigin(This,wszName,pstrClassName) 546 #define IWbemClassObject_InheritsFrom(This,strAncestor) (This)->lpVtbl->InheritsFrom(This,strAncestor) 547 #define IWbemClassObject_GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) (This)->lpVtbl->GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) 548 #define IWbemClassObject_PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) (This)->lpVtbl->PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) 549 #define IWbemClassObject_DeleteMethod(This,wszName) (This)->lpVtbl->DeleteMethod(This,wszName) 550 #define IWbemClassObject_BeginMethodEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginMethodEnumeration(This,lEnumFlags) 551 #define IWbemClassObject_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) (This)->lpVtbl->NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) 552 #define IWbemClassObject_EndMethodEnumeration(This) (This)->lpVtbl->EndMethodEnumeration(This) 553 #define IWbemClassObject_GetMethodQualifierSet(This,wszMethod,ppQualSet) (This)->lpVtbl->GetMethodQualifierSet(This,wszMethod,ppQualSet) 554 #define IWbemClassObject_GetMethodOrigin(This,wszMethodName,pstrClassName) (This)->lpVtbl->GetMethodOrigin(This,wszMethodName,pstrClassName) 555 #endif 556 #endif 557 HRESULT WINAPI IWbemClassObject_GetQualifierSet_Proxy(IWbemClassObject *This,IWbemQualifierSet **ppQualSet); 558 void __RPC_STUB IWbemClassObject_GetQualifierSet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 559 HRESULT WINAPI IWbemClassObject_Get_Proxy(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 560 void __RPC_STUB IWbemClassObject_Get_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 561 HRESULT WINAPI IWbemClassObject_Put_Proxy(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE Type); 562 void __RPC_STUB IWbemClassObject_Put_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 563 HRESULT WINAPI IWbemClassObject_Delete_Proxy(IWbemClassObject *This,LPCWSTR wszName); 564 void __RPC_STUB IWbemClassObject_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 565 HRESULT WINAPI IWbemClassObject_GetNames_Proxy(IWbemClassObject *This,LPCWSTR wszQualifierName,__LONG32 lFlags,VARIANT *pQualifierVal,SAFEARRAY **pNames); 566 void __RPC_STUB IWbemClassObject_GetNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 567 HRESULT WINAPI IWbemClassObject_BeginEnumeration_Proxy(IWbemClassObject *This,__LONG32 lEnumFlags); 568 void __RPC_STUB IWbemClassObject_BeginEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 569 HRESULT WINAPI IWbemClassObject_Next_Proxy(IWbemClassObject *This,__LONG32 lFlags,BSTR *strName,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 570 void __RPC_STUB IWbemClassObject_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 571 HRESULT WINAPI IWbemClassObject_EndEnumeration_Proxy(IWbemClassObject *This); 572 void __RPC_STUB IWbemClassObject_EndEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 573 HRESULT WINAPI IWbemClassObject_GetPropertyQualifierSet_Proxy(IWbemClassObject *This,LPCWSTR wszProperty,IWbemQualifierSet **ppQualSet); 574 void __RPC_STUB IWbemClassObject_GetPropertyQualifierSet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 575 HRESULT WINAPI IWbemClassObject_Clone_Proxy(IWbemClassObject *This,IWbemClassObject **ppCopy); 576 void __RPC_STUB IWbemClassObject_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 577 HRESULT WINAPI IWbemClassObject_GetObjectText_Proxy(IWbemClassObject *This,__LONG32 lFlags,BSTR *pstrObjectText); 578 void __RPC_STUB IWbemClassObject_GetObjectText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 579 HRESULT WINAPI IWbemClassObject_SpawnDerivedClass_Proxy(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject **ppNewClass); 580 void __RPC_STUB IWbemClassObject_SpawnDerivedClass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 581 HRESULT WINAPI IWbemClassObject_SpawnInstance_Proxy(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject **ppNewInstance); 582 void __RPC_STUB IWbemClassObject_SpawnInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 583 HRESULT WINAPI IWbemClassObject_CompareTo_Proxy(IWbemClassObject *This,__LONG32 lFlags,IWbemClassObject *pCompareTo); 584 void __RPC_STUB IWbemClassObject_CompareTo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 585 HRESULT WINAPI IWbemClassObject_GetPropertyOrigin_Proxy(IWbemClassObject *This,LPCWSTR wszName,BSTR *pstrClassName); 586 void __RPC_STUB IWbemClassObject_GetPropertyOrigin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 587 HRESULT WINAPI IWbemClassObject_InheritsFrom_Proxy(IWbemClassObject *This,LPCWSTR strAncestor); 588 void __RPC_STUB IWbemClassObject_InheritsFrom_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 589 HRESULT WINAPI IWbemClassObject_GetMethod_Proxy(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 590 void __RPC_STUB IWbemClassObject_GetMethod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 591 HRESULT WINAPI IWbemClassObject_PutMethod_Proxy(IWbemClassObject *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject *pInSignature,IWbemClassObject *pOutSignature); 592 void __RPC_STUB IWbemClassObject_PutMethod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 593 HRESULT WINAPI IWbemClassObject_DeleteMethod_Proxy(IWbemClassObject *This,LPCWSTR wszName); 594 void __RPC_STUB IWbemClassObject_DeleteMethod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 595 HRESULT WINAPI IWbemClassObject_BeginMethodEnumeration_Proxy(IWbemClassObject *This,__LONG32 lEnumFlags); 596 void __RPC_STUB IWbemClassObject_BeginMethodEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 597 HRESULT WINAPI IWbemClassObject_NextMethod_Proxy(IWbemClassObject *This,__LONG32 lFlags,BSTR *pstrName,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 598 void __RPC_STUB IWbemClassObject_NextMethod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 599 HRESULT WINAPI IWbemClassObject_EndMethodEnumeration_Proxy(IWbemClassObject *This); 600 void __RPC_STUB IWbemClassObject_EndMethodEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 601 HRESULT WINAPI IWbemClassObject_GetMethodQualifierSet_Proxy(IWbemClassObject *This,LPCWSTR wszMethod,IWbemQualifierSet **ppQualSet); 602 void __RPC_STUB IWbemClassObject_GetMethodQualifierSet_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 603 HRESULT WINAPI IWbemClassObject_GetMethodOrigin_Proxy(IWbemClassObject *This,LPCWSTR wszMethodName,BSTR *pstrClassName); 604 void __RPC_STUB IWbemClassObject_GetMethodOrigin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 605 #endif 606 607 #ifndef __IWbemObjectAccess_INTERFACE_DEFINED__ 608 #define __IWbemObjectAccess_INTERFACE_DEFINED__ 609 EXTERN_C const IID IID_IWbemObjectAccess; 610 #if defined(__cplusplus) && !defined(CINTERFACE) 611 struct IWbemObjectAccess : public IWbemClassObject { 612 public: 613 virtual HRESULT WINAPI GetPropertyHandle(LPCWSTR wszPropertyName,CIMTYPE *pType,__LONG32 *plHandle) = 0; 614 virtual HRESULT WINAPI WritePropertyValue(__LONG32 lHandle,__LONG32 lNumBytes,const byte *aData) = 0; 615 virtual HRESULT WINAPI ReadPropertyValue(__LONG32 lHandle,__LONG32 lBufferSize,__LONG32 *plNumBytes,byte *aData) = 0; 616 virtual HRESULT WINAPI ReadDWORD(__LONG32 lHandle,DWORD *pdw) = 0; 617 virtual HRESULT WINAPI WriteDWORD(__LONG32 lHandle,DWORD dw) = 0; 618 __MINGW_EXTENSION virtual HRESULT WINAPI ReadQWORD(__LONG32 lHandle,unsigned __int64 *pqw) = 0; 619 __MINGW_EXTENSION virtual HRESULT WINAPI WriteQWORD(__LONG32 lHandle,unsigned __int64 pw) = 0; 620 virtual HRESULT WINAPI GetPropertyInfoByHandle(__LONG32 lHandle,BSTR *pstrName,CIMTYPE *pType) = 0; 621 virtual HRESULT WINAPI Lock(__LONG32 lFlags) = 0; 622 virtual HRESULT WINAPI Unlock(__LONG32 lFlags) = 0; 623 }; 624 #else 625 typedef struct IWbemObjectAccessVtbl { 626 BEGIN_INTERFACE 627 HRESULT (WINAPI *QueryInterface)(IWbemObjectAccess *This,REFIID riid,void **ppvObject); 628 ULONG (WINAPI *AddRef)(IWbemObjectAccess *This); 629 ULONG (WINAPI *Release)(IWbemObjectAccess *This); 630 HRESULT (WINAPI *GetQualifierSet)(IWbemObjectAccess *This,IWbemQualifierSet **ppQualSet); 631 HRESULT (WINAPI *Get)(IWbemObjectAccess *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 632 HRESULT (WINAPI *Put)(IWbemObjectAccess *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,CIMTYPE Type); 633 HRESULT (WINAPI *Delete)(IWbemObjectAccess *This,LPCWSTR wszName); 634 HRESULT (WINAPI *GetNames)(IWbemObjectAccess *This,LPCWSTR wszQualifierName,__LONG32 lFlags,VARIANT *pQualifierVal,SAFEARRAY **pNames); 635 HRESULT (WINAPI *BeginEnumeration)(IWbemObjectAccess *This,__LONG32 lEnumFlags); 636 HRESULT (WINAPI *Next)(IWbemObjectAccess *This,__LONG32 lFlags,BSTR *strName,VARIANT *pVal,CIMTYPE *pType,__LONG32 *plFlavor); 637 HRESULT (WINAPI *EndEnumeration)(IWbemObjectAccess *This); 638 HRESULT (WINAPI *GetPropertyQualifierSet)(IWbemObjectAccess *This,LPCWSTR wszProperty,IWbemQualifierSet **ppQualSet); 639 HRESULT (WINAPI *Clone)(IWbemObjectAccess *This,IWbemClassObject **ppCopy); 640 HRESULT (WINAPI *GetObjectText)(IWbemObjectAccess *This,__LONG32 lFlags,BSTR *pstrObjectText); 641 HRESULT (WINAPI *SpawnDerivedClass)(IWbemObjectAccess *This,__LONG32 lFlags,IWbemClassObject **ppNewClass); 642 HRESULT (WINAPI *SpawnInstance)(IWbemObjectAccess *This,__LONG32 lFlags,IWbemClassObject **ppNewInstance); 643 HRESULT (WINAPI *CompareTo)(IWbemObjectAccess *This,__LONG32 lFlags,IWbemClassObject *pCompareTo); 644 HRESULT (WINAPI *GetPropertyOrigin)(IWbemObjectAccess *This,LPCWSTR wszName,BSTR *pstrClassName); 645 HRESULT (WINAPI *InheritsFrom)(IWbemObjectAccess *This,LPCWSTR strAncestor); 646 HRESULT (WINAPI *GetMethod)(IWbemObjectAccess *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 647 HRESULT (WINAPI *PutMethod)(IWbemObjectAccess *This,LPCWSTR wszName,__LONG32 lFlags,IWbemClassObject *pInSignature,IWbemClassObject *pOutSignature); 648 HRESULT (WINAPI *DeleteMethod)(IWbemObjectAccess *This,LPCWSTR wszName); 649 HRESULT (WINAPI *BeginMethodEnumeration)(IWbemObjectAccess *This,__LONG32 lEnumFlags); 650 HRESULT (WINAPI *NextMethod)(IWbemObjectAccess *This,__LONG32 lFlags,BSTR *pstrName,IWbemClassObject **ppInSignature,IWbemClassObject **ppOutSignature); 651 HRESULT (WINAPI *EndMethodEnumeration)(IWbemObjectAccess *This); 652 HRESULT (WINAPI *GetMethodQualifierSet)(IWbemObjectAccess *This,LPCWSTR wszMethod,IWbemQualifierSet **ppQualSet); 653 HRESULT (WINAPI *GetMethodOrigin)(IWbemObjectAccess *This,LPCWSTR wszMethodName,BSTR *pstrClassName); 654 HRESULT (WINAPI *GetPropertyHandle)(IWbemObjectAccess *This,LPCWSTR wszPropertyName,CIMTYPE *pType,__LONG32 *plHandle); 655 HRESULT (WINAPI *WritePropertyValue)(IWbemObjectAccess *This,__LONG32 lHandle,__LONG32 lNumBytes,const byte *aData); 656 HRESULT (WINAPI *ReadPropertyValue)(IWbemObjectAccess *This,__LONG32 lHandle,__LONG32 lBufferSize,__LONG32 *plNumBytes,byte *aData); 657 HRESULT (WINAPI *ReadDWORD)(IWbemObjectAccess *This,__LONG32 lHandle,DWORD *pdw); 658 HRESULT (WINAPI *WriteDWORD)(IWbemObjectAccess *This,__LONG32 lHandle,DWORD dw); 659 __MINGW_EXTENSION HRESULT (WINAPI *ReadQWORD)(IWbemObjectAccess *This,__LONG32 lHandle,unsigned __int64 *pqw); 660 __MINGW_EXTENSION HRESULT (WINAPI *WriteQWORD)(IWbemObjectAccess *This,__LONG32 lHandle,unsigned __int64 pw); 661 HRESULT (WINAPI *GetPropertyInfoByHandle)(IWbemObjectAccess *This,__LONG32 lHandle,BSTR *pstrName,CIMTYPE *pType); 662 HRESULT (WINAPI *Lock)(IWbemObjectAccess *This,__LONG32 lFlags); 663 HRESULT (WINAPI *Unlock)(IWbemObjectAccess *This,__LONG32 lFlags); 664 END_INTERFACE 665 } IWbemObjectAccessVtbl; 666 struct IWbemObjectAccess { 667 CONST_VTBL struct IWbemObjectAccessVtbl *lpVtbl; 668 }; 669 #ifdef COBJMACROS 670 #define IWbemObjectAccess_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 671 #define IWbemObjectAccess_AddRef(This) (This)->lpVtbl->AddRef(This) 672 #define IWbemObjectAccess_Release(This) (This)->lpVtbl->Release(This) 673 #define IWbemObjectAccess_GetQualifierSet(This,ppQualSet) (This)->lpVtbl->GetQualifierSet(This,ppQualSet) 674 #define IWbemObjectAccess_Get(This,wszName,lFlags,pVal,pType,plFlavor) (This)->lpVtbl->Get(This,wszName,lFlags,pVal,pType,plFlavor) 675 #define IWbemObjectAccess_Put(This,wszName,lFlags,pVal,Type) (This)->lpVtbl->Put(This,wszName,lFlags,pVal,Type) 676 #define IWbemObjectAccess_Delete(This,wszName) (This)->lpVtbl->Delete(This,wszName) 677 #define IWbemObjectAccess_GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) (This)->lpVtbl->GetNames(This,wszQualifierName,lFlags,pQualifierVal,pNames) 678 #define IWbemObjectAccess_BeginEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginEnumeration(This,lEnumFlags) 679 #define IWbemObjectAccess_Next(This,lFlags,strName,pVal,pType,plFlavor) (This)->lpVtbl->Next(This,lFlags,strName,pVal,pType,plFlavor) 680 #define IWbemObjectAccess_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) 681 #define IWbemObjectAccess_GetPropertyQualifierSet(This,wszProperty,ppQualSet) (This)->lpVtbl->GetPropertyQualifierSet(This,wszProperty,ppQualSet) 682 #define IWbemObjectAccess_Clone(This,ppCopy) (This)->lpVtbl->Clone(This,ppCopy) 683 #define IWbemObjectAccess_GetObjectText(This,lFlags,pstrObjectText) (This)->lpVtbl->GetObjectText(This,lFlags,pstrObjectText) 684 #define IWbemObjectAccess_SpawnDerivedClass(This,lFlags,ppNewClass) (This)->lpVtbl->SpawnDerivedClass(This,lFlags,ppNewClass) 685 #define IWbemObjectAccess_SpawnInstance(This,lFlags,ppNewInstance) (This)->lpVtbl->SpawnInstance(This,lFlags,ppNewInstance) 686 #define IWbemObjectAccess_CompareTo(This,lFlags,pCompareTo) (This)->lpVtbl->CompareTo(This,lFlags,pCompareTo) 687 #define IWbemObjectAccess_GetPropertyOrigin(This,wszName,pstrClassName) (This)->lpVtbl->GetPropertyOrigin(This,wszName,pstrClassName) 688 #define IWbemObjectAccess_InheritsFrom(This,strAncestor) (This)->lpVtbl->InheritsFrom(This,strAncestor) 689 #define IWbemObjectAccess_GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) (This)->lpVtbl->GetMethod(This,wszName,lFlags,ppInSignature,ppOutSignature) 690 #define IWbemObjectAccess_PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) (This)->lpVtbl->PutMethod(This,wszName,lFlags,pInSignature,pOutSignature) 691 #define IWbemObjectAccess_DeleteMethod(This,wszName) (This)->lpVtbl->DeleteMethod(This,wszName) 692 #define IWbemObjectAccess_BeginMethodEnumeration(This,lEnumFlags) (This)->lpVtbl->BeginMethodEnumeration(This,lEnumFlags) 693 #define IWbemObjectAccess_NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) (This)->lpVtbl->NextMethod(This,lFlags,pstrName,ppInSignature,ppOutSignature) 694 #define IWbemObjectAccess_EndMethodEnumeration(This) (This)->lpVtbl->EndMethodEnumeration(This) 695 #define IWbemObjectAccess_GetMethodQualifierSet(This,wszMethod,ppQualSet) (This)->lpVtbl->GetMethodQualifierSet(This,wszMethod,ppQualSet) 696 #define IWbemObjectAccess_GetMethodOrigin(This,wszMethodName,pstrClassName) (This)->lpVtbl->GetMethodOrigin(This,wszMethodName,pstrClassName) 697 #define IWbemObjectAccess_GetPropertyHandle(This,wszPropertyName,pType,plHandle) (This)->lpVtbl->GetPropertyHandle(This,wszPropertyName,pType,plHandle) 698 #define IWbemObjectAccess_WritePropertyValue(This,lHandle,lNumBytes,aData) (This)->lpVtbl->WritePropertyValue(This,lHandle,lNumBytes,aData) 699 #define IWbemObjectAccess_ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData) (This)->lpVtbl->ReadPropertyValue(This,lHandle,lBufferSize,plNumBytes,aData) 700 #define IWbemObjectAccess_ReadDWORD(This,lHandle,pdw) (This)->lpVtbl->ReadDWORD(This,lHandle,pdw) 701 #define IWbemObjectAccess_WriteDWORD(This,lHandle,dw) (This)->lpVtbl->WriteDWORD(This,lHandle,dw) 702 #define IWbemObjectAccess_ReadQWORD(This,lHandle,pqw) (This)->lpVtbl->ReadQWORD(This,lHandle,pqw) 703 #define IWbemObjectAccess_WriteQWORD(This,lHandle,pw) (This)->lpVtbl->WriteQWORD(This,lHandle,pw) 704 #define IWbemObjectAccess_GetPropertyInfoByHandle(This,lHandle,pstrName,pType) (This)->lpVtbl->GetPropertyInfoByHandle(This,lHandle,pstrName,pType) 705 #define IWbemObjectAccess_Lock(This,lFlags) (This)->lpVtbl->Lock(This,lFlags) 706 #define IWbemObjectAccess_Unlock(This,lFlags) (This)->lpVtbl->Unlock(This,lFlags) 707 #endif 708 #endif 709 HRESULT WINAPI IWbemObjectAccess_GetPropertyHandle_Proxy(IWbemObjectAccess *This,LPCWSTR wszPropertyName,CIMTYPE *pType,__LONG32 *plHandle); 710 void __RPC_STUB IWbemObjectAccess_GetPropertyHandle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 711 HRESULT WINAPI IWbemObjectAccess_WritePropertyValue_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,__LONG32 lNumBytes,const byte *aData); 712 void __RPC_STUB IWbemObjectAccess_WritePropertyValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 713 HRESULT WINAPI IWbemObjectAccess_ReadPropertyValue_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,__LONG32 lBufferSize,__LONG32 *plNumBytes,byte *aData); 714 void __RPC_STUB IWbemObjectAccess_ReadPropertyValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 715 HRESULT WINAPI IWbemObjectAccess_ReadDWORD_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,DWORD *pdw); 716 void __RPC_STUB IWbemObjectAccess_ReadDWORD_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 717 HRESULT WINAPI IWbemObjectAccess_WriteDWORD_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,DWORD dw); 718 void __RPC_STUB IWbemObjectAccess_WriteDWORD_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 719 __MINGW_EXTENSION HRESULT WINAPI IWbemObjectAccess_ReadQWORD_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,unsigned __int64 *pqw); 720 void __RPC_STUB IWbemObjectAccess_ReadQWORD_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 721 __MINGW_EXTENSION HRESULT WINAPI IWbemObjectAccess_WriteQWORD_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,unsigned __int64 pw); 722 void __RPC_STUB IWbemObjectAccess_WriteQWORD_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 723 HRESULT WINAPI IWbemObjectAccess_GetPropertyInfoByHandle_Proxy(IWbemObjectAccess *This,__LONG32 lHandle,BSTR *pstrName,CIMTYPE *pType); 724 void __RPC_STUB IWbemObjectAccess_GetPropertyInfoByHandle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 725 HRESULT WINAPI IWbemObjectAccess_Lock_Proxy(IWbemObjectAccess *This,__LONG32 lFlags); 726 void __RPC_STUB IWbemObjectAccess_Lock_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 727 HRESULT WINAPI IWbemObjectAccess_Unlock_Proxy(IWbemObjectAccess *This,__LONG32 lFlags); 728 void __RPC_STUB IWbemObjectAccess_Unlock_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 729 #endif 730 731 #ifndef __IWbemQualifierSet_INTERFACE_DEFINED__ 732 #define __IWbemQualifierSet_INTERFACE_DEFINED__ 733 EXTERN_C const IID IID_IWbemQualifierSet; 734 #if defined(__cplusplus) && !defined(CINTERFACE) 735 struct IWbemQualifierSet : public IUnknown { 736 public: 737 virtual HRESULT WINAPI Get(LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,__LONG32 *plFlavor) = 0; 738 virtual HRESULT WINAPI Put(LPCWSTR wszName,VARIANT *pVal,__LONG32 lFlavor) = 0; 739 virtual HRESULT WINAPI Delete(LPCWSTR wszName) = 0; 740 virtual HRESULT WINAPI GetNames(__LONG32 lFlags,SAFEARRAY **pNames) = 0; 741 virtual HRESULT WINAPI BeginEnumeration(__LONG32 lFlags) = 0; 742 virtual HRESULT WINAPI Next(__LONG32 lFlags,BSTR *pstrName,VARIANT *pVal,__LONG32 *plFlavor) = 0; 743 virtual HRESULT WINAPI EndEnumeration(void) = 0; 744 }; 745 #else 746 typedef struct IWbemQualifierSetVtbl { 747 BEGIN_INTERFACE 748 HRESULT (WINAPI *QueryInterface)(IWbemQualifierSet *This,REFIID riid,void **ppvObject); 749 ULONG (WINAPI *AddRef)(IWbemQualifierSet *This); 750 ULONG (WINAPI *Release)(IWbemQualifierSet *This); 751 HRESULT (WINAPI *Get)(IWbemQualifierSet *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,__LONG32 *plFlavor); 752 HRESULT (WINAPI *Put)(IWbemQualifierSet *This,LPCWSTR wszName,VARIANT *pVal,__LONG32 lFlavor); 753 HRESULT (WINAPI *Delete)(IWbemQualifierSet *This,LPCWSTR wszName); 754 HRESULT (WINAPI *GetNames)(IWbemQualifierSet *This,__LONG32 lFlags,SAFEARRAY **pNames); 755 HRESULT (WINAPI *BeginEnumeration)(IWbemQualifierSet *This,__LONG32 lFlags); 756 HRESULT (WINAPI *Next)(IWbemQualifierSet *This,__LONG32 lFlags,BSTR *pstrName,VARIANT *pVal,__LONG32 *plFlavor); 757 HRESULT (WINAPI *EndEnumeration)(IWbemQualifierSet *This); 758 END_INTERFACE 759 } IWbemQualifierSetVtbl; 760 struct IWbemQualifierSet { 761 CONST_VTBL struct IWbemQualifierSetVtbl *lpVtbl; 762 }; 763 #ifdef COBJMACROS 764 #define IWbemQualifierSet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 765 #define IWbemQualifierSet_AddRef(This) (This)->lpVtbl->AddRef(This) 766 #define IWbemQualifierSet_Release(This) (This)->lpVtbl->Release(This) 767 #define IWbemQualifierSet_Get(This,wszName,lFlags,pVal,plFlavor) (This)->lpVtbl->Get(This,wszName,lFlags,pVal,plFlavor) 768 #define IWbemQualifierSet_Put(This,wszName,pVal,lFlavor) (This)->lpVtbl->Put(This,wszName,pVal,lFlavor) 769 #define IWbemQualifierSet_Delete(This,wszName) (This)->lpVtbl->Delete(This,wszName) 770 #define IWbemQualifierSet_GetNames(This,lFlags,pNames) (This)->lpVtbl->GetNames(This,lFlags,pNames) 771 #define IWbemQualifierSet_BeginEnumeration(This,lFlags) (This)->lpVtbl->BeginEnumeration(This,lFlags) 772 #define IWbemQualifierSet_Next(This,lFlags,pstrName,pVal,plFlavor) (This)->lpVtbl->Next(This,lFlags,pstrName,pVal,plFlavor) 773 #define IWbemQualifierSet_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) 774 #endif 775 #endif 776 HRESULT WINAPI IWbemQualifierSet_Get_Proxy(IWbemQualifierSet *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pVal,__LONG32 *plFlavor); 777 void __RPC_STUB IWbemQualifierSet_Get_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 778 HRESULT WINAPI IWbemQualifierSet_Put_Proxy(IWbemQualifierSet *This,LPCWSTR wszName,VARIANT *pVal,__LONG32 lFlavor); 779 void __RPC_STUB IWbemQualifierSet_Put_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 780 HRESULT WINAPI IWbemQualifierSet_Delete_Proxy(IWbemQualifierSet *This,LPCWSTR wszName); 781 void __RPC_STUB IWbemQualifierSet_Delete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 782 HRESULT WINAPI IWbemQualifierSet_GetNames_Proxy(IWbemQualifierSet *This,__LONG32 lFlags,SAFEARRAY **pNames); 783 void __RPC_STUB IWbemQualifierSet_GetNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 784 HRESULT WINAPI IWbemQualifierSet_BeginEnumeration_Proxy(IWbemQualifierSet *This,__LONG32 lFlags); 785 void __RPC_STUB IWbemQualifierSet_BeginEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 786 HRESULT WINAPI IWbemQualifierSet_Next_Proxy(IWbemQualifierSet *This,__LONG32 lFlags,BSTR *pstrName,VARIANT *pVal,__LONG32 *plFlavor); 787 void __RPC_STUB IWbemQualifierSet_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 788 HRESULT WINAPI IWbemQualifierSet_EndEnumeration_Proxy(IWbemQualifierSet *This); 789 void __RPC_STUB IWbemQualifierSet_EndEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 790 #endif 791 792 #ifndef __IWbemServices_INTERFACE_DEFINED__ 793 #define __IWbemServices_INTERFACE_DEFINED__ 794 EXTERN_C const IID IID_IWbemServices; 795 #if defined(__cplusplus) && !defined(CINTERFACE) 796 struct IWbemServices : public IUnknown { 797 public: 798 virtual HRESULT WINAPI OpenNamespace(const BSTR strNamespace,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppWorkingNamespace,IWbemCallResult **ppResult) = 0; 799 virtual HRESULT WINAPI CancelAsyncCall(IWbemObjectSink *pSink) = 0; 800 virtual HRESULT WINAPI QueryObjectSink(__LONG32 lFlags,IWbemObjectSink **ppResponseHandler) = 0; 801 virtual HRESULT WINAPI GetObject(const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject **ppObject,IWbemCallResult **ppCallResult) = 0; 802 virtual HRESULT WINAPI GetObjectAsync(const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 803 virtual HRESULT WINAPI PutClass(IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) = 0; 804 virtual HRESULT WINAPI PutClassAsync(IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 805 virtual HRESULT WINAPI DeleteClass(const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) = 0; 806 virtual HRESULT WINAPI DeleteClassAsync(const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 807 virtual HRESULT WINAPI CreateClassEnum(const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) = 0; 808 virtual HRESULT WINAPI CreateClassEnumAsync(const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 809 virtual HRESULT WINAPI PutInstance(IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) = 0; 810 virtual HRESULT WINAPI PutInstanceAsync(IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 811 virtual HRESULT WINAPI DeleteInstance(const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult) = 0; 812 virtual HRESULT WINAPI DeleteInstanceAsync(const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 813 virtual HRESULT WINAPI CreateInstanceEnum(const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) = 0; 814 virtual HRESULT WINAPI CreateInstanceEnumAsync(const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 815 virtual HRESULT WINAPI ExecQuery(const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) = 0; 816 virtual HRESULT WINAPI ExecQueryAsync(const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 817 virtual HRESULT WINAPI ExecNotificationQuery(const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum) = 0; 818 virtual HRESULT WINAPI ExecNotificationQueryAsync(const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler) = 0; 819 virtual HRESULT WINAPI ExecMethod(const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemClassObject **ppOutParams,IWbemCallResult **ppCallResult) = 0; 820 virtual HRESULT WINAPI ExecMethodAsync(const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemObjectSink *pResponseHandler) = 0; 821 }; 822 #else 823 typedef struct IWbemServicesVtbl { 824 BEGIN_INTERFACE 825 HRESULT (WINAPI *QueryInterface)(IWbemServices *This,REFIID riid,void **ppvObject); 826 ULONG (WINAPI *AddRef)(IWbemServices *This); 827 ULONG (WINAPI *Release)(IWbemServices *This); 828 HRESULT (WINAPI *OpenNamespace)(IWbemServices *This,const BSTR strNamespace,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppWorkingNamespace,IWbemCallResult **ppResult); 829 HRESULT (WINAPI *CancelAsyncCall)(IWbemServices *This,IWbemObjectSink *pSink); 830 HRESULT (WINAPI *QueryObjectSink)(IWbemServices *This,__LONG32 lFlags,IWbemObjectSink **ppResponseHandler); 831 HRESULT (WINAPI *GetObject)(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject **ppObject,IWbemCallResult **ppCallResult); 832 HRESULT (WINAPI *GetObjectAsync)(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 833 HRESULT (WINAPI *PutClass)(IWbemServices *This,IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 834 HRESULT (WINAPI *PutClassAsync)(IWbemServices *This,IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 835 HRESULT (WINAPI *DeleteClass)(IWbemServices *This,const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 836 HRESULT (WINAPI *DeleteClassAsync)(IWbemServices *This,const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 837 HRESULT (WINAPI *CreateClassEnum)(IWbemServices *This,const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 838 HRESULT (WINAPI *CreateClassEnumAsync)(IWbemServices *This,const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 839 HRESULT (WINAPI *PutInstance)(IWbemServices *This,IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 840 HRESULT (WINAPI *PutInstanceAsync)(IWbemServices *This,IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 841 HRESULT (WINAPI *DeleteInstance)(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 842 HRESULT (WINAPI *DeleteInstanceAsync)(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 843 HRESULT (WINAPI *CreateInstanceEnum)(IWbemServices *This,const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 844 HRESULT (WINAPI *CreateInstanceEnumAsync)(IWbemServices *This,const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 845 HRESULT (WINAPI *ExecQuery)(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 846 HRESULT (WINAPI *ExecQueryAsync)(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 847 HRESULT (WINAPI *ExecNotificationQuery)(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 848 HRESULT (WINAPI *ExecNotificationQueryAsync)(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 849 HRESULT (WINAPI *ExecMethod)(IWbemServices *This,const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemClassObject **ppOutParams,IWbemCallResult **ppCallResult); 850 HRESULT (WINAPI *ExecMethodAsync)(IWbemServices *This,const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemObjectSink *pResponseHandler); 851 END_INTERFACE 852 } IWbemServicesVtbl; 853 struct IWbemServices { 854 CONST_VTBL struct IWbemServicesVtbl *lpVtbl; 855 }; 856 #ifdef COBJMACROS 857 #define IWbemServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 858 #define IWbemServices_AddRef(This) (This)->lpVtbl->AddRef(This) 859 #define IWbemServices_Release(This) (This)->lpVtbl->Release(This) 860 #define IWbemServices_OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) (This)->lpVtbl->OpenNamespace(This,strNamespace,lFlags,pCtx,ppWorkingNamespace,ppResult) 861 #define IWbemServices_CancelAsyncCall(This,pSink) (This)->lpVtbl->CancelAsyncCall(This,pSink) 862 #define IWbemServices_QueryObjectSink(This,lFlags,ppResponseHandler) (This)->lpVtbl->QueryObjectSink(This,lFlags,ppResponseHandler) 863 #define IWbemServices_GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) (This)->lpVtbl->GetObject(This,strObjectPath,lFlags,pCtx,ppObject,ppCallResult) 864 #define IWbemServices_GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->GetObjectAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) 865 #define IWbemServices_PutClass(This,pObject,lFlags,pCtx,ppCallResult) (This)->lpVtbl->PutClass(This,pObject,lFlags,pCtx,ppCallResult) 866 #define IWbemServices_PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->PutClassAsync(This,pObject,lFlags,pCtx,pResponseHandler) 867 #define IWbemServices_DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) (This)->lpVtbl->DeleteClass(This,strClass,lFlags,pCtx,ppCallResult) 868 #define IWbemServices_DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->DeleteClassAsync(This,strClass,lFlags,pCtx,pResponseHandler) 869 #define IWbemServices_CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) (This)->lpVtbl->CreateClassEnum(This,strSuperclass,lFlags,pCtx,ppEnum) 870 #define IWbemServices_CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->CreateClassEnumAsync(This,strSuperclass,lFlags,pCtx,pResponseHandler) 871 #define IWbemServices_PutInstance(This,pInst,lFlags,pCtx,ppCallResult) (This)->lpVtbl->PutInstance(This,pInst,lFlags,pCtx,ppCallResult) 872 #define IWbemServices_PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->PutInstanceAsync(This,pInst,lFlags,pCtx,pResponseHandler) 873 #define IWbemServices_DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) (This)->lpVtbl->DeleteInstance(This,strObjectPath,lFlags,pCtx,ppCallResult) 874 #define IWbemServices_DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->DeleteInstanceAsync(This,strObjectPath,lFlags,pCtx,pResponseHandler) 875 #define IWbemServices_CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum) (This)->lpVtbl->CreateInstanceEnum(This,strFilter,lFlags,pCtx,ppEnum) 876 #define IWbemServices_CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->CreateInstanceEnumAsync(This,strFilter,lFlags,pCtx,pResponseHandler) 877 #define IWbemServices_ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) (This)->lpVtbl->ExecQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) 878 #define IWbemServices_ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->ExecQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) 879 #define IWbemServices_ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) (This)->lpVtbl->ExecNotificationQuery(This,strQueryLanguage,strQuery,lFlags,pCtx,ppEnum) 880 #define IWbemServices_ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) (This)->lpVtbl->ExecNotificationQueryAsync(This,strQueryLanguage,strQuery,lFlags,pCtx,pResponseHandler) 881 #define IWbemServices_ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) (This)->lpVtbl->ExecMethod(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,ppOutParams,ppCallResult) 882 #define IWbemServices_ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) (This)->lpVtbl->ExecMethodAsync(This,strObjectPath,strMethodName,lFlags,pCtx,pInParams,pResponseHandler) 883 #endif 884 #endif 885 HRESULT WINAPI IWbemServices_OpenNamespace_Proxy(IWbemServices *This,const BSTR strNamespace,__LONG32 lFlags,IWbemContext *pCtx,IWbemServices **ppWorkingNamespace,IWbemCallResult **ppResult); 886 void __RPC_STUB IWbemServices_OpenNamespace_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 887 HRESULT WINAPI IWbemServices_CancelAsyncCall_Proxy(IWbemServices *This,IWbemObjectSink *pSink); 888 void __RPC_STUB IWbemServices_CancelAsyncCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 889 HRESULT WINAPI IWbemServices_QueryObjectSink_Proxy(IWbemServices *This,__LONG32 lFlags,IWbemObjectSink **ppResponseHandler); 890 void __RPC_STUB IWbemServices_QueryObjectSink_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 891 HRESULT WINAPI IWbemServices_GetObject_Proxy(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject **ppObject,IWbemCallResult **ppCallResult); 892 void __RPC_STUB IWbemServices_GetObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 893 HRESULT WINAPI IWbemServices_GetObjectAsync_Proxy(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 894 void __RPC_STUB IWbemServices_GetObjectAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 895 HRESULT WINAPI IWbemServices_PutClass_Proxy(IWbemServices *This,IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 896 void __RPC_STUB IWbemServices_PutClass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 897 HRESULT WINAPI IWbemServices_PutClassAsync_Proxy(IWbemServices *This,IWbemClassObject *pObject,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 898 void __RPC_STUB IWbemServices_PutClassAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 899 HRESULT WINAPI IWbemServices_DeleteClass_Proxy(IWbemServices *This,const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 900 void __RPC_STUB IWbemServices_DeleteClass_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 901 HRESULT WINAPI IWbemServices_DeleteClassAsync_Proxy(IWbemServices *This,const BSTR strClass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 902 void __RPC_STUB IWbemServices_DeleteClassAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 903 HRESULT WINAPI IWbemServices_CreateClassEnum_Proxy(IWbemServices *This,const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 904 void __RPC_STUB IWbemServices_CreateClassEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 905 HRESULT WINAPI IWbemServices_CreateClassEnumAsync_Proxy(IWbemServices *This,const BSTR strSuperclass,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 906 void __RPC_STUB IWbemServices_CreateClassEnumAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 907 HRESULT WINAPI IWbemServices_PutInstance_Proxy(IWbemServices *This,IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 908 void __RPC_STUB IWbemServices_PutInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 909 HRESULT WINAPI IWbemServices_PutInstanceAsync_Proxy(IWbemServices *This,IWbemClassObject *pInst,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 910 void __RPC_STUB IWbemServices_PutInstanceAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 911 HRESULT WINAPI IWbemServices_DeleteInstance_Proxy(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemCallResult **ppCallResult); 912 void __RPC_STUB IWbemServices_DeleteInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 913 HRESULT WINAPI IWbemServices_DeleteInstanceAsync_Proxy(IWbemServices *This,const BSTR strObjectPath,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 914 void __RPC_STUB IWbemServices_DeleteInstanceAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 915 HRESULT WINAPI IWbemServices_CreateInstanceEnum_Proxy(IWbemServices *This,const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 916 void __RPC_STUB IWbemServices_CreateInstanceEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 917 HRESULT WINAPI IWbemServices_CreateInstanceEnumAsync_Proxy(IWbemServices *This,const BSTR strFilter,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 918 void __RPC_STUB IWbemServices_CreateInstanceEnumAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 919 HRESULT WINAPI IWbemServices_ExecQuery_Proxy(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 920 void __RPC_STUB IWbemServices_ExecQuery_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 921 HRESULT WINAPI IWbemServices_ExecQueryAsync_Proxy(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 922 void __RPC_STUB IWbemServices_ExecQueryAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 923 HRESULT WINAPI IWbemServices_ExecNotificationQuery_Proxy(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IEnumWbemClassObject **ppEnum); 924 void __RPC_STUB IWbemServices_ExecNotificationQuery_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 925 HRESULT WINAPI IWbemServices_ExecNotificationQueryAsync_Proxy(IWbemServices *This,const BSTR strQueryLanguage,const BSTR strQuery,__LONG32 lFlags,IWbemContext *pCtx,IWbemObjectSink *pResponseHandler); 926 void __RPC_STUB IWbemServices_ExecNotificationQueryAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 927 HRESULT WINAPI IWbemServices_ExecMethod_Proxy(IWbemServices *This,const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemClassObject **ppOutParams,IWbemCallResult **ppCallResult); 928 void __RPC_STUB IWbemServices_ExecMethod_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 929 HRESULT WINAPI IWbemServices_ExecMethodAsync_Proxy(IWbemServices *This,const BSTR strObjectPath,const BSTR strMethodName,__LONG32 lFlags,IWbemContext *pCtx,IWbemClassObject *pInParams,IWbemObjectSink *pResponseHandler); 930 void __RPC_STUB IWbemServices_ExecMethodAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 931 #endif 932 933 #ifndef __IWbemLocator_INTERFACE_DEFINED__ 934 #define __IWbemLocator_INTERFACE_DEFINED__ 935 DEFINE_GUID(IID_IWbemLocator, 0xdc12a687, 0x737f, 0x11cf, 0x88,0x4d, 0x00,0xaa,0x00,0x4b,0x2e,0x24); 936 #if defined(__cplusplus) && !defined(CINTERFACE) 937 struct IWbemLocator : public IUnknown { 938 public: 939 virtual HRESULT WINAPI ConnectServer(const BSTR strNetworkResource,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lSecurityFlags,const BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace) = 0; 940 }; 941 #else 942 typedef struct IWbemLocatorVtbl { 943 BEGIN_INTERFACE 944 HRESULT (WINAPI *QueryInterface)(IWbemLocator *This,REFIID riid,void **ppvObject); 945 ULONG (WINAPI *AddRef)(IWbemLocator *This); 946 ULONG (WINAPI *Release)(IWbemLocator *This); 947 HRESULT (WINAPI *ConnectServer)(IWbemLocator *This,const BSTR strNetworkResource,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lSecurityFlags,const BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace); 948 END_INTERFACE 949 } IWbemLocatorVtbl; 950 struct IWbemLocator { 951 CONST_VTBL struct IWbemLocatorVtbl *lpVtbl; 952 }; 953 #ifdef COBJMACROS 954 #define IWbemLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 955 #define IWbemLocator_AddRef(This) (This)->lpVtbl->AddRef(This) 956 #define IWbemLocator_Release(This) (This)->lpVtbl->Release(This) 957 #define IWbemLocator_ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) (This)->lpVtbl->ConnectServer(This,strNetworkResource,strUser,strPassword,strLocale,lSecurityFlags,strAuthority,pCtx,ppNamespace) 958 #endif 959 #endif 960 HRESULT WINAPI IWbemLocator_ConnectServer_Proxy(IWbemLocator *This,const BSTR strNetworkResource,const BSTR strUser,const BSTR strPassword,const BSTR strLocale,__LONG32 lSecurityFlags,const BSTR strAuthority,IWbemContext *pCtx,IWbemServices **ppNamespace); 961 void __RPC_STUB IWbemLocator_ConnectServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 962 #endif 963 964 #ifndef __IWbemObjectSink_INTERFACE_DEFINED__ 965 #define __IWbemObjectSink_INTERFACE_DEFINED__ 966 EXTERN_C const IID IID_IWbemObjectSink; 967 #if defined(__cplusplus) && !defined(CINTERFACE) 968 struct IWbemObjectSink : public IUnknown { 969 public: 970 virtual HRESULT WINAPI Indicate(__LONG32 lObjectCount,IWbemClassObject **apObjArray) = 0; 971 virtual HRESULT WINAPI SetStatus(__LONG32 lFlags,HRESULT hResult,BSTR strParam,IWbemClassObject *pObjParam) = 0; 972 }; 973 #else 974 typedef struct IWbemObjectSinkVtbl { 975 BEGIN_INTERFACE 976 HRESULT (WINAPI *QueryInterface)(IWbemObjectSink *This,REFIID riid,void **ppvObject); 977 ULONG (WINAPI *AddRef)(IWbemObjectSink *This); 978 ULONG (WINAPI *Release)(IWbemObjectSink *This); 979 HRESULT (WINAPI *Indicate)(IWbemObjectSink *This,__LONG32 lObjectCount,IWbemClassObject **apObjArray); 980 HRESULT (WINAPI *SetStatus)(IWbemObjectSink *This,__LONG32 lFlags,HRESULT hResult,BSTR strParam,IWbemClassObject *pObjParam); 981 END_INTERFACE 982 } IWbemObjectSinkVtbl; 983 struct IWbemObjectSink { 984 CONST_VTBL struct IWbemObjectSinkVtbl *lpVtbl; 985 }; 986 #ifdef COBJMACROS 987 #define IWbemObjectSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 988 #define IWbemObjectSink_AddRef(This) (This)->lpVtbl->AddRef(This) 989 #define IWbemObjectSink_Release(This) (This)->lpVtbl->Release(This) 990 #define IWbemObjectSink_Indicate(This,lObjectCount,apObjArray) (This)->lpVtbl->Indicate(This,lObjectCount,apObjArray) 991 #define IWbemObjectSink_SetStatus(This,lFlags,hResult,strParam,pObjParam) (This)->lpVtbl->SetStatus(This,lFlags,hResult,strParam,pObjParam) 992 #endif 993 #endif 994 HRESULT WINAPI IWbemObjectSink_Indicate_Proxy(IWbemObjectSink *This,__LONG32 lObjectCount,IWbemClassObject **apObjArray); 995 void __RPC_STUB IWbemObjectSink_Indicate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 996 HRESULT WINAPI IWbemObjectSink_SetStatus_Proxy(IWbemObjectSink *This,__LONG32 lFlags,HRESULT hResult,BSTR strParam,IWbemClassObject *pObjParam); 997 void __RPC_STUB IWbemObjectSink_SetStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 998 #endif 999 1000 #ifndef __IEnumWbemClassObject_INTERFACE_DEFINED__ 1001 #define __IEnumWbemClassObject_INTERFACE_DEFINED__ 1002 EXTERN_C const IID IID_IEnumWbemClassObject; 1003 #if defined(__cplusplus) && !defined(CINTERFACE) 1004 struct IEnumWbemClassObject : public IUnknown { 1005 public: 1006 virtual HRESULT WINAPI Reset(void) = 0; 1007 virtual HRESULT WINAPI Next(__LONG32 lTimeout,ULONG uCount,IWbemClassObject **apObjects,ULONG *puReturned) = 0; 1008 virtual HRESULT WINAPI NextAsync(ULONG uCount,IWbemObjectSink *pSink) = 0; 1009 virtual HRESULT WINAPI Clone(IEnumWbemClassObject **ppEnum) = 0; 1010 virtual HRESULT WINAPI Skip(__LONG32 lTimeout,ULONG nCount) = 0; 1011 }; 1012 #else 1013 typedef struct IEnumWbemClassObjectVtbl { 1014 BEGIN_INTERFACE 1015 HRESULT (WINAPI *QueryInterface)(IEnumWbemClassObject *This,REFIID riid,void **ppvObject); 1016 ULONG (WINAPI *AddRef)(IEnumWbemClassObject *This); 1017 ULONG (WINAPI *Release)(IEnumWbemClassObject *This); 1018 HRESULT (WINAPI *Reset)(IEnumWbemClassObject *This); 1019 HRESULT (WINAPI *Next)(IEnumWbemClassObject *This,__LONG32 lTimeout,ULONG uCount,IWbemClassObject **apObjects,ULONG *puReturned); 1020 HRESULT (WINAPI *NextAsync)(IEnumWbemClassObject *This,ULONG uCount,IWbemObjectSink *pSink); 1021 HRESULT (WINAPI *Clone)(IEnumWbemClassObject *This,IEnumWbemClassObject **ppEnum); 1022 HRESULT (WINAPI *Skip)(IEnumWbemClassObject *This,__LONG32 lTimeout,ULONG nCount); 1023 END_INTERFACE 1024 } IEnumWbemClassObjectVtbl; 1025 struct IEnumWbemClassObject { 1026 CONST_VTBL struct IEnumWbemClassObjectVtbl *lpVtbl; 1027 }; 1028 #ifdef COBJMACROS 1029 #define IEnumWbemClassObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1030 #define IEnumWbemClassObject_AddRef(This) (This)->lpVtbl->AddRef(This) 1031 #define IEnumWbemClassObject_Release(This) (This)->lpVtbl->Release(This) 1032 #define IEnumWbemClassObject_Reset(This) (This)->lpVtbl->Reset(This) 1033 #define IEnumWbemClassObject_Next(This,lTimeout,uCount,apObjects,puReturned) (This)->lpVtbl->Next(This,lTimeout,uCount,apObjects,puReturned) 1034 #define IEnumWbemClassObject_NextAsync(This,uCount,pSink) (This)->lpVtbl->NextAsync(This,uCount,pSink) 1035 #define IEnumWbemClassObject_Clone(This,ppEnum) (This)->lpVtbl->Clone(This,ppEnum) 1036 #define IEnumWbemClassObject_Skip(This,lTimeout,nCount) (This)->lpVtbl->Skip(This,lTimeout,nCount) 1037 #endif 1038 #endif 1039 HRESULT WINAPI IEnumWbemClassObject_Reset_Proxy(IEnumWbemClassObject *This); 1040 void __RPC_STUB IEnumWbemClassObject_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1041 HRESULT WINAPI IEnumWbemClassObject_Next_Proxy(IEnumWbemClassObject *This,__LONG32 lTimeout,ULONG uCount,IWbemClassObject **apObjects,ULONG *puReturned); 1042 void __RPC_STUB IEnumWbemClassObject_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1043 HRESULT WINAPI IEnumWbemClassObject_NextAsync_Proxy(IEnumWbemClassObject *This,ULONG uCount,IWbemObjectSink *pSink); 1044 void __RPC_STUB IEnumWbemClassObject_NextAsync_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1045 HRESULT WINAPI IEnumWbemClassObject_Clone_Proxy(IEnumWbemClassObject *This,IEnumWbemClassObject **ppEnum); 1046 void __RPC_STUB IEnumWbemClassObject_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1047 HRESULT WINAPI IEnumWbemClassObject_Skip_Proxy(IEnumWbemClassObject *This,__LONG32 lTimeout,ULONG nCount); 1048 void __RPC_STUB IEnumWbemClassObject_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1049 #endif 1050 1051 #ifndef __IWbemCallResult_INTERFACE_DEFINED__ 1052 #define __IWbemCallResult_INTERFACE_DEFINED__ 1053 EXTERN_C const IID IID_IWbemCallResult; 1054 #if defined(__cplusplus) && !defined(CINTERFACE) 1055 struct IWbemCallResult : public IUnknown { 1056 public: 1057 virtual HRESULT WINAPI GetResultObject(__LONG32 lTimeout,IWbemClassObject **ppResultObject) = 0; 1058 virtual HRESULT WINAPI GetResultString(__LONG32 lTimeout,BSTR *pstrResultString) = 0; 1059 virtual HRESULT WINAPI GetResultServices(__LONG32 lTimeout,IWbemServices **ppServices) = 0; 1060 virtual HRESULT WINAPI GetCallStatus(__LONG32 lTimeout,__LONG32 *plStatus) = 0; 1061 }; 1062 #else 1063 typedef struct IWbemCallResultVtbl { 1064 BEGIN_INTERFACE 1065 HRESULT (WINAPI *QueryInterface)(IWbemCallResult *This,REFIID riid,void **ppvObject); 1066 ULONG (WINAPI *AddRef)(IWbemCallResult *This); 1067 ULONG (WINAPI *Release)(IWbemCallResult *This); 1068 HRESULT (WINAPI *GetResultObject)(IWbemCallResult *This,__LONG32 lTimeout,IWbemClassObject **ppResultObject); 1069 HRESULT (WINAPI *GetResultString)(IWbemCallResult *This,__LONG32 lTimeout,BSTR *pstrResultString); 1070 HRESULT (WINAPI *GetResultServices)(IWbemCallResult *This,__LONG32 lTimeout,IWbemServices **ppServices); 1071 HRESULT (WINAPI *GetCallStatus)(IWbemCallResult *This,__LONG32 lTimeout,__LONG32 *plStatus); 1072 END_INTERFACE 1073 } IWbemCallResultVtbl; 1074 struct IWbemCallResult { 1075 CONST_VTBL struct IWbemCallResultVtbl *lpVtbl; 1076 }; 1077 #ifdef COBJMACROS 1078 #define IWbemCallResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1079 #define IWbemCallResult_AddRef(This) (This)->lpVtbl->AddRef(This) 1080 #define IWbemCallResult_Release(This) (This)->lpVtbl->Release(This) 1081 #define IWbemCallResult_GetResultObject(This,lTimeout,ppResultObject) (This)->lpVtbl->GetResultObject(This,lTimeout,ppResultObject) 1082 #define IWbemCallResult_GetResultString(This,lTimeout,pstrResultString) (This)->lpVtbl->GetResultString(This,lTimeout,pstrResultString) 1083 #define IWbemCallResult_GetResultServices(This,lTimeout,ppServices) (This)->lpVtbl->GetResultServices(This,lTimeout,ppServices) 1084 #define IWbemCallResult_GetCallStatus(This,lTimeout,plStatus) (This)->lpVtbl->GetCallStatus(This,lTimeout,plStatus) 1085 #endif 1086 #endif 1087 HRESULT WINAPI IWbemCallResult_GetResultObject_Proxy(IWbemCallResult *This,__LONG32 lTimeout,IWbemClassObject **ppResultObject); 1088 void __RPC_STUB IWbemCallResult_GetResultObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1089 HRESULT WINAPI IWbemCallResult_GetResultString_Proxy(IWbemCallResult *This,__LONG32 lTimeout,BSTR *pstrResultString); 1090 void __RPC_STUB IWbemCallResult_GetResultString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1091 HRESULT WINAPI IWbemCallResult_GetResultServices_Proxy(IWbemCallResult *This,__LONG32 lTimeout,IWbemServices **ppServices); 1092 void __RPC_STUB IWbemCallResult_GetResultServices_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1093 HRESULT WINAPI IWbemCallResult_GetCallStatus_Proxy(IWbemCallResult *This,__LONG32 lTimeout,__LONG32 *plStatus); 1094 void __RPC_STUB IWbemCallResult_GetCallStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1095 #endif 1096 1097 #ifndef __IWbemContext_INTERFACE_DEFINED__ 1098 #define __IWbemContext_INTERFACE_DEFINED__ 1099 EXTERN_C const IID IID_IWbemContext; 1100 #if defined(__cplusplus) && !defined(CINTERFACE) 1101 struct IWbemContext : public IUnknown { 1102 public: 1103 virtual HRESULT WINAPI Clone(IWbemContext **ppNewCopy) = 0; 1104 virtual HRESULT WINAPI GetNames(__LONG32 lFlags,SAFEARRAY **pNames) = 0; 1105 virtual HRESULT WINAPI BeginEnumeration(__LONG32 lFlags) = 0; 1106 virtual HRESULT WINAPI Next(__LONG32 lFlags,BSTR *pstrName,VARIANT *pValue) = 0; 1107 virtual HRESULT WINAPI EndEnumeration(void) = 0; 1108 virtual HRESULT WINAPI SetValue(LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue) = 0; 1109 virtual HRESULT WINAPI GetValue(LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue) = 0; 1110 virtual HRESULT WINAPI DeleteValue(LPCWSTR wszName,__LONG32 lFlags) = 0; 1111 virtual HRESULT WINAPI DeleteAll(void) = 0; 1112 }; 1113 #else 1114 typedef struct IWbemContextVtbl { 1115 BEGIN_INTERFACE 1116 HRESULT (WINAPI *QueryInterface)(IWbemContext *This,REFIID riid,void **ppvObject); 1117 ULONG (WINAPI *AddRef)(IWbemContext *This); 1118 ULONG (WINAPI *Release)(IWbemContext *This); 1119 HRESULT (WINAPI *Clone)(IWbemContext *This,IWbemContext **ppNewCopy); 1120 HRESULT (WINAPI *GetNames)(IWbemContext *This,__LONG32 lFlags,SAFEARRAY **pNames); 1121 HRESULT (WINAPI *BeginEnumeration)(IWbemContext *This,__LONG32 lFlags); 1122 HRESULT (WINAPI *Next)(IWbemContext *This,__LONG32 lFlags,BSTR *pstrName,VARIANT *pValue); 1123 HRESULT (WINAPI *EndEnumeration)(IWbemContext *This); 1124 HRESULT (WINAPI *SetValue)(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue); 1125 HRESULT (WINAPI *GetValue)(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue); 1126 HRESULT (WINAPI *DeleteValue)(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags); 1127 HRESULT (WINAPI *DeleteAll)(IWbemContext *This); 1128 END_INTERFACE 1129 } IWbemContextVtbl; 1130 struct IWbemContext { 1131 CONST_VTBL struct IWbemContextVtbl *lpVtbl; 1132 }; 1133 #ifdef COBJMACROS 1134 #define IWbemContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1135 #define IWbemContext_AddRef(This) (This)->lpVtbl->AddRef(This) 1136 #define IWbemContext_Release(This) (This)->lpVtbl->Release(This) 1137 #define IWbemContext_Clone(This,ppNewCopy) (This)->lpVtbl->Clone(This,ppNewCopy) 1138 #define IWbemContext_GetNames(This,lFlags,pNames) (This)->lpVtbl->GetNames(This,lFlags,pNames) 1139 #define IWbemContext_BeginEnumeration(This,lFlags) (This)->lpVtbl->BeginEnumeration(This,lFlags) 1140 #define IWbemContext_Next(This,lFlags,pstrName,pValue) (This)->lpVtbl->Next(This,lFlags,pstrName,pValue) 1141 #define IWbemContext_EndEnumeration(This) (This)->lpVtbl->EndEnumeration(This) 1142 #define IWbemContext_SetValue(This,wszName,lFlags,pValue) (This)->lpVtbl->SetValue(This,wszName,lFlags,pValue) 1143 #define IWbemContext_GetValue(This,wszName,lFlags,pValue) (This)->lpVtbl->GetValue(This,wszName,lFlags,pValue) 1144 #define IWbemContext_DeleteValue(This,wszName,lFlags) (This)->lpVtbl->DeleteValue(This,wszName,lFlags) 1145 #define IWbemContext_DeleteAll(This) (This)->lpVtbl->DeleteAll(This) 1146 #endif 1147 #endif 1148 HRESULT WINAPI IWbemContext_Clone_Proxy(IWbemContext *This,IWbemContext **ppNewCopy); 1149 void __RPC_STUB IWbemContext_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1150 HRESULT WINAPI IWbemContext_GetNames_Proxy(IWbemContext *This,__LONG32 lFlags,SAFEARRAY **pNames); 1151 void __RPC_STUB IWbemContext_GetNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1152 HRESULT WINAPI IWbemContext_BeginEnumeration_Proxy(IWbemContext *This,__LONG32 lFlags); 1153 void __RPC_STUB IWbemContext_BeginEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1154 HRESULT WINAPI IWbemContext_Next_Proxy(IWbemContext *This,__LONG32 lFlags,BSTR *pstrName,VARIANT *pValue); 1155 void __RPC_STUB IWbemContext_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1156 HRESULT WINAPI IWbemContext_EndEnumeration_Proxy(IWbemContext *This); 1157 void __RPC_STUB IWbemContext_EndEnumeration_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1158 HRESULT WINAPI IWbemContext_SetValue_Proxy(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue); 1159 void __RPC_STUB IWbemContext_SetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1160 HRESULT WINAPI IWbemContext_GetValue_Proxy(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags,VARIANT *pValue); 1161 void __RPC_STUB IWbemContext_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1162 HRESULT WINAPI IWbemContext_DeleteValue_Proxy(IWbemContext *This,LPCWSTR wszName,__LONG32 lFlags); 1163 void __RPC_STUB IWbemContext_DeleteValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1164 HRESULT WINAPI IWbemContext_DeleteAll_Proxy(IWbemContext *This); 1165 void __RPC_STUB IWbemContext_DeleteAll_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1166 #endif 1167 1168 #ifndef __IUnsecuredApartment_INTERFACE_DEFINED__ 1169 #define __IUnsecuredApartment_INTERFACE_DEFINED__ 1170 EXTERN_C const IID IID_IUnsecuredApartment; 1171 #if defined(__cplusplus) && !defined(CINTERFACE) 1172 struct IUnsecuredApartment : public IUnknown { 1173 public: 1174 virtual HRESULT WINAPI CreateObjectStub(IUnknown *pObject,IUnknown **ppStub) = 0; 1175 }; 1176 #else 1177 typedef struct IUnsecuredApartmentVtbl { 1178 BEGIN_INTERFACE 1179 HRESULT (WINAPI *QueryInterface)(IUnsecuredApartment *This,REFIID riid,void **ppvObject); 1180 ULONG (WINAPI *AddRef)(IUnsecuredApartment *This); 1181 ULONG (WINAPI *Release)(IUnsecuredApartment *This); 1182 HRESULT (WINAPI *CreateObjectStub)(IUnsecuredApartment *This,IUnknown *pObject,IUnknown **ppStub); 1183 END_INTERFACE 1184 } IUnsecuredApartmentVtbl; 1185 struct IUnsecuredApartment { 1186 CONST_VTBL struct IUnsecuredApartmentVtbl *lpVtbl; 1187 }; 1188 #ifdef COBJMACROS 1189 #define IUnsecuredApartment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1190 #define IUnsecuredApartment_AddRef(This) (This)->lpVtbl->AddRef(This) 1191 #define IUnsecuredApartment_Release(This) (This)->lpVtbl->Release(This) 1192 #define IUnsecuredApartment_CreateObjectStub(This,pObject,ppStub) (This)->lpVtbl->CreateObjectStub(This,pObject,ppStub) 1193 #endif 1194 #endif 1195 HRESULT WINAPI IUnsecuredApartment_CreateObjectStub_Proxy(IUnsecuredApartment *This,IUnknown *pObject,IUnknown **ppStub); 1196 void __RPC_STUB IUnsecuredApartment_CreateObjectStub_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1197 #endif 1198 1199 #ifndef __IWbemUnsecuredApartment_INTERFACE_DEFINED__ 1200 #define __IWbemUnsecuredApartment_INTERFACE_DEFINED__ 1201 EXTERN_C const IID IID_IWbemUnsecuredApartment; 1202 #if defined(__cplusplus) && !defined(CINTERFACE) 1203 struct IWbemUnsecuredApartment : public IUnsecuredApartment { 1204 public: 1205 virtual HRESULT WINAPI CreateSinkStub(IWbemObjectSink *pSink,DWORD dwFlags,LPCWSTR wszReserved,IWbemObjectSink **ppStub) = 0; 1206 }; 1207 #else 1208 typedef struct IWbemUnsecuredApartmentVtbl { 1209 BEGIN_INTERFACE 1210 HRESULT (WINAPI *QueryInterface)(IWbemUnsecuredApartment *This,REFIID riid,void **ppvObject); 1211 ULONG (WINAPI *AddRef)(IWbemUnsecuredApartment *This); 1212 ULONG (WINAPI *Release)(IWbemUnsecuredApartment *This); 1213 HRESULT (WINAPI *CreateObjectStub)(IWbemUnsecuredApartment *This,IUnknown *pObject,IUnknown **ppStub); 1214 HRESULT (WINAPI *CreateSinkStub)(IWbemUnsecuredApartment *This,IWbemObjectSink *pSink,DWORD dwFlags,LPCWSTR wszReserved,IWbemObjectSink **ppStub); 1215 END_INTERFACE 1216 } IWbemUnsecuredApartmentVtbl; 1217 struct IWbemUnsecuredApartment { 1218 CONST_VTBL struct IWbemUnsecuredApartmentVtbl *lpVtbl; 1219 }; 1220 #ifdef COBJMACROS 1221 #define IWbemUnsecuredApartment_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1222 #define IWbemUnsecuredApartment_AddRef(This) (This)->lpVtbl->AddRef(This) 1223 #define IWbemUnsecuredApartment_Release(This) (This)->lpVtbl->Release(This) 1224 #define IWbemUnsecuredApartment_CreateObjectStub(This,pObject,ppStub) (This)->lpVtbl->CreateObjectStub(This,pObject,ppStub) 1225 #define IWbemUnsecuredApartment_CreateSinkStub(This,pSink,dwFlags,wszReserved,ppStub) (This)->lpVtbl->CreateSinkStub(This,pSink,dwFlags,wszReserved,ppStub) 1226 #endif 1227 #endif 1228 HRESULT WINAPI IWbemUnsecuredApartment_CreateSinkStub_Proxy(IWbemUnsecuredApartment *This,IWbemObjectSink *pSink,DWORD dwFlags,LPCWSTR wszReserved,IWbemObjectSink **ppStub); 1229 void __RPC_STUB IWbemUnsecuredApartment_CreateSinkStub_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1230 #endif 1231 1232 #ifndef __IWbemStatusCodeText_INTERFACE_DEFINED__ 1233 #define __IWbemStatusCodeText_INTERFACE_DEFINED__ 1234 EXTERN_C const IID IID_IWbemStatusCodeText; 1235 #if defined(__cplusplus) && !defined(CINTERFACE) 1236 struct IWbemStatusCodeText : public IUnknown { 1237 public: 1238 virtual HRESULT WINAPI GetErrorCodeText(HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText) = 0; 1239 virtual HRESULT WINAPI GetFacilityCodeText(HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText) = 0; 1240 }; 1241 #else 1242 typedef struct IWbemStatusCodeTextVtbl { 1243 BEGIN_INTERFACE 1244 HRESULT (WINAPI *QueryInterface)(IWbemStatusCodeText *This,REFIID riid,void **ppvObject); 1245 ULONG (WINAPI *AddRef)(IWbemStatusCodeText *This); 1246 ULONG (WINAPI *Release)(IWbemStatusCodeText *This); 1247 HRESULT (WINAPI *GetErrorCodeText)(IWbemStatusCodeText *This,HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText); 1248 HRESULT (WINAPI *GetFacilityCodeText)(IWbemStatusCodeText *This,HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText); 1249 END_INTERFACE 1250 } IWbemStatusCodeTextVtbl; 1251 struct IWbemStatusCodeText { 1252 CONST_VTBL struct IWbemStatusCodeTextVtbl *lpVtbl; 1253 }; 1254 #ifdef COBJMACROS 1255 #define IWbemStatusCodeText_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1256 #define IWbemStatusCodeText_AddRef(This) (This)->lpVtbl->AddRef(This) 1257 #define IWbemStatusCodeText_Release(This) (This)->lpVtbl->Release(This) 1258 #define IWbemStatusCodeText_GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText) (This)->lpVtbl->GetErrorCodeText(This,hRes,LocaleId,lFlags,MessageText) 1259 #define IWbemStatusCodeText_GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText) (This)->lpVtbl->GetFacilityCodeText(This,hRes,LocaleId,lFlags,MessageText) 1260 #endif 1261 #endif 1262 HRESULT WINAPI IWbemStatusCodeText_GetErrorCodeText_Proxy(IWbemStatusCodeText *This,HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText); 1263 void __RPC_STUB IWbemStatusCodeText_GetErrorCodeText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1264 HRESULT WINAPI IWbemStatusCodeText_GetFacilityCodeText_Proxy(IWbemStatusCodeText *This,HRESULT hRes,LCID LocaleId,__LONG32 lFlags,BSTR *MessageText); 1265 void __RPC_STUB IWbemStatusCodeText_GetFacilityCodeText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1266 #endif 1267 1268 #ifndef __IWbemBackupRestore_INTERFACE_DEFINED__ 1269 #define __IWbemBackupRestore_INTERFACE_DEFINED__ 1270 EXTERN_C const IID IID_IWbemBackupRestore; 1271 #if defined(__cplusplus) && !defined(CINTERFACE) 1272 struct IWbemBackupRestore : public IUnknown { 1273 public: 1274 virtual HRESULT WINAPI Backup(LPCWSTR strBackupToFile,__LONG32 lFlags) = 0; 1275 virtual HRESULT WINAPI Restore(LPCWSTR strRestoreFromFile,__LONG32 lFlags) = 0; 1276 }; 1277 #else 1278 typedef struct IWbemBackupRestoreVtbl { 1279 BEGIN_INTERFACE 1280 HRESULT (WINAPI *QueryInterface)(IWbemBackupRestore *This,REFIID riid,void **ppvObject); 1281 ULONG (WINAPI *AddRef)(IWbemBackupRestore *This); 1282 ULONG (WINAPI *Release)(IWbemBackupRestore *This); 1283 HRESULT (WINAPI *Backup)(IWbemBackupRestore *This,LPCWSTR strBackupToFile,__LONG32 lFlags); 1284 HRESULT (WINAPI *Restore)(IWbemBackupRestore *This,LPCWSTR strRestoreFromFile,__LONG32 lFlags); 1285 END_INTERFACE 1286 } IWbemBackupRestoreVtbl; 1287 struct IWbemBackupRestore { 1288 CONST_VTBL struct IWbemBackupRestoreVtbl *lpVtbl; 1289 }; 1290 #ifdef COBJMACROS 1291 #define IWbemBackupRestore_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1292 #define IWbemBackupRestore_AddRef(This) (This)->lpVtbl->AddRef(This) 1293 #define IWbemBackupRestore_Release(This) (This)->lpVtbl->Release(This) 1294 #define IWbemBackupRestore_Backup(This,strBackupToFile,lFlags) (This)->lpVtbl->Backup(This,strBackupToFile,lFlags) 1295 #define IWbemBackupRestore_Restore(This,strRestoreFromFile,lFlags) (This)->lpVtbl->Restore(This,strRestoreFromFile,lFlags) 1296 #endif 1297 #endif 1298 HRESULT WINAPI IWbemBackupRestore_Backup_Proxy(IWbemBackupRestore *This,LPCWSTR strBackupToFile,__LONG32 lFlags); 1299 void __RPC_STUB IWbemBackupRestore_Backup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1300 HRESULT WINAPI IWbemBackupRestore_Restore_Proxy(IWbemBackupRestore *This,LPCWSTR strRestoreFromFile,__LONG32 lFlags); 1301 void __RPC_STUB IWbemBackupRestore_Restore_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1302 #endif 1303 1304 #ifndef __IWbemBackupRestoreEx_INTERFACE_DEFINED__ 1305 #define __IWbemBackupRestoreEx_INTERFACE_DEFINED__ 1306 EXTERN_C const IID IID_IWbemBackupRestoreEx; 1307 #if defined(__cplusplus) && !defined(CINTERFACE) 1308 struct IWbemBackupRestoreEx : public IWbemBackupRestore { 1309 public: 1310 virtual HRESULT WINAPI Pause(void) = 0; 1311 virtual HRESULT WINAPI Resume(void) = 0; 1312 }; 1313 #else 1314 typedef struct IWbemBackupRestoreExVtbl { 1315 BEGIN_INTERFACE 1316 HRESULT (WINAPI *QueryInterface)(IWbemBackupRestoreEx *This,REFIID riid,void **ppvObject); 1317 ULONG (WINAPI *AddRef)(IWbemBackupRestoreEx *This); 1318 ULONG (WINAPI *Release)(IWbemBackupRestoreEx *This); 1319 HRESULT (WINAPI *Backup)(IWbemBackupRestoreEx *This,LPCWSTR strBackupToFile,__LONG32 lFlags); 1320 HRESULT (WINAPI *Restore)(IWbemBackupRestoreEx *This,LPCWSTR strRestoreFromFile,__LONG32 lFlags); 1321 HRESULT (WINAPI *Pause)(IWbemBackupRestoreEx *This); 1322 HRESULT (WINAPI *Resume)(IWbemBackupRestoreEx *This); 1323 END_INTERFACE 1324 } IWbemBackupRestoreExVtbl; 1325 struct IWbemBackupRestoreEx { 1326 CONST_VTBL struct IWbemBackupRestoreExVtbl *lpVtbl; 1327 }; 1328 #ifdef COBJMACROS 1329 #define IWbemBackupRestoreEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1330 #define IWbemBackupRestoreEx_AddRef(This) (This)->lpVtbl->AddRef(This) 1331 #define IWbemBackupRestoreEx_Release(This) (This)->lpVtbl->Release(This) 1332 #define IWbemBackupRestoreEx_Backup(This,strBackupToFile,lFlags) (This)->lpVtbl->Backup(This,strBackupToFile,lFlags) 1333 #define IWbemBackupRestoreEx_Restore(This,strRestoreFromFile,lFlags) (This)->lpVtbl->Restore(This,strRestoreFromFile,lFlags) 1334 #define IWbemBackupRestoreEx_Pause(This) (This)->lpVtbl->Pause(This) 1335 #define IWbemBackupRestoreEx_Resume(This) (This)->lpVtbl->Resume(This) 1336 #endif 1337 #endif 1338 HRESULT WINAPI IWbemBackupRestoreEx_Pause_Proxy(IWbemBackupRestoreEx *This); 1339 void __RPC_STUB IWbemBackupRestoreEx_Pause_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1340 HRESULT WINAPI IWbemBackupRestoreEx_Resume_Proxy(IWbemBackupRestoreEx *This); 1341 void __RPC_STUB IWbemBackupRestoreEx_Resume_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1342 #endif 1343 1344 #ifndef __IWbemRefresher_INTERFACE_DEFINED__ 1345 #define __IWbemRefresher_INTERFACE_DEFINED__ 1346 EXTERN_C const IID IID_IWbemRefresher; 1347 #if defined(__cplusplus) && !defined(CINTERFACE) 1348 struct IWbemRefresher : public IUnknown { 1349 public: 1350 virtual HRESULT WINAPI Refresh(__LONG32 lFlags) = 0; 1351 }; 1352 #else 1353 typedef struct IWbemRefresherVtbl { 1354 BEGIN_INTERFACE 1355 HRESULT (WINAPI *QueryInterface)(IWbemRefresher *This,REFIID riid,void **ppvObject); 1356 ULONG (WINAPI *AddRef)(IWbemRefresher *This); 1357 ULONG (WINAPI *Release)(IWbemRefresher *This); 1358 HRESULT (WINAPI *Refresh)(IWbemRefresher *This,__LONG32 lFlags); 1359 END_INTERFACE 1360 } IWbemRefresherVtbl; 1361 struct IWbemRefresher { 1362 CONST_VTBL struct IWbemRefresherVtbl *lpVtbl; 1363 }; 1364 #ifdef COBJMACROS 1365 #define IWbemRefresher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1366 #define IWbemRefresher_AddRef(This) (This)->lpVtbl->AddRef(This) 1367 #define IWbemRefresher_Release(This) (This)->lpVtbl->Release(This) 1368 #define IWbemRefresher_Refresh(This,lFlags) (This)->lpVtbl->Refresh(This,lFlags) 1369 #endif 1370 #endif 1371 HRESULT WINAPI IWbemRefresher_Refresh_Proxy(IWbemRefresher *This,__LONG32 lFlags); 1372 void __RPC_STUB IWbemRefresher_Refresh_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1373 #endif 1374 1375 #ifndef __IWbemHiPerfEnum_INTERFACE_DEFINED__ 1376 #define __IWbemHiPerfEnum_INTERFACE_DEFINED__ 1377 EXTERN_C const IID IID_IWbemHiPerfEnum; 1378 #if defined(__cplusplus) && !defined(CINTERFACE) 1379 struct IWbemHiPerfEnum : public IUnknown { 1380 public: 1381 virtual HRESULT WINAPI AddObjects(__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds,IWbemObjectAccess **apObj) = 0; 1382 virtual HRESULT WINAPI RemoveObjects(__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds) = 0; 1383 virtual HRESULT WINAPI GetObjects(__LONG32 lFlags,ULONG uNumObjects,IWbemObjectAccess **apObj,ULONG *puReturned) = 0; 1384 virtual HRESULT WINAPI RemoveAll(__LONG32 lFlags) = 0; 1385 }; 1386 #else 1387 typedef struct IWbemHiPerfEnumVtbl { 1388 BEGIN_INTERFACE 1389 HRESULT (WINAPI *QueryInterface)(IWbemHiPerfEnum *This,REFIID riid,void **ppvObject); 1390 ULONG (WINAPI *AddRef)(IWbemHiPerfEnum *This); 1391 ULONG (WINAPI *Release)(IWbemHiPerfEnum *This); 1392 HRESULT (WINAPI *AddObjects)(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds,IWbemObjectAccess **apObj); 1393 HRESULT (WINAPI *RemoveObjects)(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds); 1394 HRESULT (WINAPI *GetObjects)(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,IWbemObjectAccess **apObj,ULONG *puReturned); 1395 HRESULT (WINAPI *RemoveAll)(IWbemHiPerfEnum *This,__LONG32 lFlags); 1396 END_INTERFACE 1397 } IWbemHiPerfEnumVtbl; 1398 struct IWbemHiPerfEnum { 1399 CONST_VTBL struct IWbemHiPerfEnumVtbl *lpVtbl; 1400 }; 1401 #ifdef COBJMACROS 1402 #define IWbemHiPerfEnum_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1403 #define IWbemHiPerfEnum_AddRef(This) (This)->lpVtbl->AddRef(This) 1404 #define IWbemHiPerfEnum_Release(This) (This)->lpVtbl->Release(This) 1405 #define IWbemHiPerfEnum_AddObjects(This,lFlags,uNumObjects,apIds,apObj) (This)->lpVtbl->AddObjects(This,lFlags,uNumObjects,apIds,apObj) 1406 #define IWbemHiPerfEnum_RemoveObjects(This,lFlags,uNumObjects,apIds) (This)->lpVtbl->RemoveObjects(This,lFlags,uNumObjects,apIds) 1407 #define IWbemHiPerfEnum_GetObjects(This,lFlags,uNumObjects,apObj,puReturned) (This)->lpVtbl->GetObjects(This,lFlags,uNumObjects,apObj,puReturned) 1408 #define IWbemHiPerfEnum_RemoveAll(This,lFlags) (This)->lpVtbl->RemoveAll(This,lFlags) 1409 #endif 1410 #endif 1411 HRESULT WINAPI IWbemHiPerfEnum_AddObjects_Proxy(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds,IWbemObjectAccess **apObj); 1412 void __RPC_STUB IWbemHiPerfEnum_AddObjects_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1413 HRESULT WINAPI IWbemHiPerfEnum_RemoveObjects_Proxy(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,__LONG32 *apIds); 1414 void __RPC_STUB IWbemHiPerfEnum_RemoveObjects_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1415 HRESULT WINAPI IWbemHiPerfEnum_GetObjects_Proxy(IWbemHiPerfEnum *This,__LONG32 lFlags,ULONG uNumObjects,IWbemObjectAccess **apObj,ULONG *puReturned); 1416 void __RPC_STUB IWbemHiPerfEnum_GetObjects_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1417 HRESULT WINAPI IWbemHiPerfEnum_RemoveAll_Proxy(IWbemHiPerfEnum *This,__LONG32 lFlags); 1418 void __RPC_STUB IWbemHiPerfEnum_RemoveAll_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1419 #endif 1420 1421 #ifndef __IWbemConfigureRefresher_INTERFACE_DEFINED__ 1422 #define __IWbemConfigureRefresher_INTERFACE_DEFINED__ 1423 EXTERN_C const IID IID_IWbemConfigureRefresher; 1424 #if defined(__cplusplus) && !defined(CINTERFACE) 1425 struct IWbemConfigureRefresher : public IUnknown { 1426 public: 1427 virtual HRESULT WINAPI AddObjectByPath(IWbemServices *pNamespace,LPCWSTR wszPath,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId) = 0; 1428 virtual HRESULT WINAPI AddObjectByTemplate(IWbemServices *pNamespace,IWbemClassObject *pTemplate,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId) = 0; 1429 virtual HRESULT WINAPI AddRefresher(IWbemRefresher *pRefresher,__LONG32 lFlags,__LONG32 *plId) = 0; 1430 virtual HRESULT WINAPI Remove(__LONG32 lId,__LONG32 lFlags) = 0; 1431 virtual HRESULT WINAPI AddEnum(IWbemServices *pNamespace,LPCWSTR wszClassName,__LONG32 lFlags,IWbemContext *pContext,IWbemHiPerfEnum **ppEnum,__LONG32 *plId) = 0; 1432 }; 1433 #else 1434 typedef struct IWbemConfigureRefresherVtbl { 1435 BEGIN_INTERFACE 1436 HRESULT (WINAPI *QueryInterface)(IWbemConfigureRefresher *This,REFIID riid,void **ppvObject); 1437 ULONG (WINAPI *AddRef)(IWbemConfigureRefresher *This); 1438 ULONG (WINAPI *Release)(IWbemConfigureRefresher *This); 1439 HRESULT (WINAPI *AddObjectByPath)(IWbemConfigureRefresher *This,IWbemServices *pNamespace,LPCWSTR wszPath,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId); 1440 HRESULT (WINAPI *AddObjectByTemplate)(IWbemConfigureRefresher *This,IWbemServices *pNamespace,IWbemClassObject *pTemplate,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId); 1441 HRESULT (WINAPI *AddRefresher)(IWbemConfigureRefresher *This,IWbemRefresher *pRefresher,__LONG32 lFlags,__LONG32 *plId); 1442 HRESULT (WINAPI *Remove)(IWbemConfigureRefresher *This,__LONG32 lId,__LONG32 lFlags); 1443 HRESULT (WINAPI *AddEnum)(IWbemConfigureRefresher *This,IWbemServices *pNamespace,LPCWSTR wszClassName,__LONG32 lFlags,IWbemContext *pContext,IWbemHiPerfEnum **ppEnum,__LONG32 *plId); 1444 END_INTERFACE 1445 } IWbemConfigureRefresherVtbl; 1446 struct IWbemConfigureRefresher { 1447 CONST_VTBL struct IWbemConfigureRefresherVtbl *lpVtbl; 1448 }; 1449 #ifdef COBJMACROS 1450 #define IWbemConfigureRefresher_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1451 #define IWbemConfigureRefresher_AddRef(This) (This)->lpVtbl->AddRef(This) 1452 #define IWbemConfigureRefresher_Release(This) (This)->lpVtbl->Release(This) 1453 #define IWbemConfigureRefresher_AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId) (This)->lpVtbl->AddObjectByPath(This,pNamespace,wszPath,lFlags,pContext,ppRefreshable,plId) 1454 #define IWbemConfigureRefresher_AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId) (This)->lpVtbl->AddObjectByTemplate(This,pNamespace,pTemplate,lFlags,pContext,ppRefreshable,plId) 1455 #define IWbemConfigureRefresher_AddRefresher(This,pRefresher,lFlags,plId) (This)->lpVtbl->AddRefresher(This,pRefresher,lFlags,plId) 1456 #define IWbemConfigureRefresher_Remove(This,lId,lFlags) (This)->lpVtbl->Remove(This,lId,lFlags) 1457 #define IWbemConfigureRefresher_AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId) (This)->lpVtbl->AddEnum(This,pNamespace,wszClassName,lFlags,pContext,ppEnum,plId) 1458 #endif 1459 #endif 1460 HRESULT WINAPI IWbemConfigureRefresher_AddObjectByPath_Proxy(IWbemConfigureRefresher *This,IWbemServices *pNamespace,LPCWSTR wszPath,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId); 1461 void __RPC_STUB IWbemConfigureRefresher_AddObjectByPath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1462 HRESULT WINAPI IWbemConfigureRefresher_AddObjectByTemplate_Proxy(IWbemConfigureRefresher *This,IWbemServices *pNamespace,IWbemClassObject *pTemplate,__LONG32 lFlags,IWbemContext *pContext,IWbemClassObject **ppRefreshable,__LONG32 *plId); 1463 void __RPC_STUB IWbemConfigureRefresher_AddObjectByTemplate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1464 HRESULT WINAPI IWbemConfigureRefresher_AddRefresher_Proxy(IWbemConfigureRefresher *This,IWbemRefresher *pRefresher,__LONG32 lFlags,__LONG32 *plId); 1465 void __RPC_STUB IWbemConfigureRefresher_AddRefresher_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1466 HRESULT WINAPI IWbemConfigureRefresher_Remove_Proxy(IWbemConfigureRefresher *This,__LONG32 lId,__LONG32 lFlags); 1467 void __RPC_STUB IWbemConfigureRefresher_Remove_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1468 HRESULT WINAPI IWbemConfigureRefresher_AddEnum_Proxy(IWbemConfigureRefresher *This,IWbemServices *pNamespace,LPCWSTR wszClassName,__LONG32 lFlags,IWbemContext *pContext,IWbemHiPerfEnum **ppEnum,__LONG32 *plId); 1469 void __RPC_STUB IWbemConfigureRefresher_AddEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1470 #endif 1471 1472 EXTERN_C const CLSID CLSID_WbemLocator; 1473 #ifdef __cplusplus 1474 class WbemLocator; 1475 #endif 1476 EXTERN_C const CLSID CLSID_WbemContext; 1477 #ifdef __cplusplus 1478 class WbemContext; 1479 #endif 1480 EXTERN_C const CLSID CLSID_UnsecuredApartment; 1481 #ifdef __cplusplus 1482 class UnsecuredApartment; 1483 #endif 1484 EXTERN_C const CLSID CLSID_WbemClassObject; 1485 #ifdef __cplusplus 1486 class WbemClassObject; 1487 #endif 1488 EXTERN_C const CLSID CLSID_MofCompiler; 1489 #ifdef __cplusplus 1490 class MofCompiler; 1491 #endif 1492 EXTERN_C const CLSID CLSID_WbemStatusCodeText; 1493 #ifdef __cplusplus 1494 class WbemStatusCodeText; 1495 #endif 1496 EXTERN_C const CLSID CLSID_WbemBackupRestore; 1497 #ifdef __cplusplus 1498 class WbemBackupRestore; 1499 #endif 1500 EXTERN_C const CLSID CLSID_WbemRefresher; 1501 #ifdef __cplusplus 1502 class WbemRefresher; 1503 #endif 1504 EXTERN_C const CLSID CLSID_WbemObjectTextSrc; 1505 #ifdef __cplusplus 1506 class WbemObjectTextSrc; 1507 #endif 1508 #endif 1509 1510 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_c_ifspec; 1511 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0000_v0_0_s_ifspec; 1512 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0116_v0_0_c_ifspec; 1513 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0116_v0_0_s_ifspec; 1514 1515 #ifndef __IWbemShutdown_INTERFACE_DEFINED__ 1516 #define __IWbemShutdown_INTERFACE_DEFINED__ 1517 EXTERN_C const IID IID_IWbemShutdown; 1518 #if defined(__cplusplus) && !defined(CINTERFACE) 1519 struct IWbemShutdown : public IUnknown { 1520 public: 1521 virtual HRESULT WINAPI Shutdown(LONG uReason,ULONG uMaxMilliseconds,IWbemContext *pCtx) = 0; 1522 }; 1523 #else 1524 typedef struct IWbemShutdownVtbl { 1525 BEGIN_INTERFACE 1526 HRESULT (WINAPI *QueryInterface)(IWbemShutdown *This,REFIID riid,void **ppvObject); 1527 ULONG (WINAPI *AddRef)(IWbemShutdown *This); 1528 ULONG (WINAPI *Release)(IWbemShutdown *This); 1529 HRESULT (WINAPI *Shutdown)(IWbemShutdown *This,LONG uReason,ULONG uMaxMilliseconds,IWbemContext *pCtx); 1530 END_INTERFACE 1531 } IWbemShutdownVtbl; 1532 struct IWbemShutdown { 1533 CONST_VTBL struct IWbemShutdownVtbl *lpVtbl; 1534 }; 1535 #ifdef COBJMACROS 1536 #define IWbemShutdown_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1537 #define IWbemShutdown_AddRef(This) (This)->lpVtbl->AddRef(This) 1538 #define IWbemShutdown_Release(This) (This)->lpVtbl->Release(This) 1539 #define IWbemShutdown_Shutdown(This,uReason,uMaxMilliseconds,pCtx) (This)->lpVtbl->Shutdown(This,uReason,uMaxMilliseconds,pCtx) 1540 #endif 1541 #endif 1542 HRESULT WINAPI IWbemShutdown_Shutdown_Proxy(IWbemShutdown *This,LONG uReason,ULONG uMaxMilliseconds,IWbemContext *pCtx); 1543 void __RPC_STUB IWbemShutdown_Shutdown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1544 #endif 1545 1546 typedef enum tag_WMI_OBJ_TEXT { 1547 WMI_OBJ_TEXT_CIM_DTD_2_0 = 1,WMI_OBJ_TEXT_WMI_DTD_2_0 = 2,WMI_OBJ_TEXT_WMI_EXT1 = 3,WMI_OBJ_TEXT_WMI_EXT2 = 4,WMI_OBJ_TEXT_WMI_EXT3 = 5, 1548 WMI_OBJ_TEXT_WMI_EXT4 = 6,WMI_OBJ_TEXT_WMI_EXT5 = 7,WMI_OBJ_TEXT_WMI_EXT6 = 8,WMI_OBJ_TEXT_WMI_EXT7 = 9,WMI_OBJ_TEXT_WMI_EXT8 = 10, 1549 WMI_OBJ_TEXT_WMI_EXT9 = 11,WMI_OBJ_TEXT_WMI_EXT10 = 12,WMI_OBJ_TEXT_LAST = 13 1550 } WMI_OBJ_TEXT; 1551 1552 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0123_v0_0_c_ifspec; 1553 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0123_v0_0_s_ifspec; 1554 #ifndef __IWbemObjectTextSrc_INTERFACE_DEFINED__ 1555 #define __IWbemObjectTextSrc_INTERFACE_DEFINED__ 1556 EXTERN_C const IID IID_IWbemObjectTextSrc; 1557 #if defined(__cplusplus) && !defined(CINTERFACE) 1558 struct IWbemObjectTextSrc : public IUnknown { 1559 public: 1560 virtual HRESULT WINAPI GetText(__LONG32 lFlags,IWbemClassObject *pObj,ULONG uObjTextFormat,IWbemContext *pCtx,BSTR *strText) = 0; 1561 virtual HRESULT WINAPI CreateFromText(__LONG32 lFlags,BSTR strText,ULONG uObjTextFormat,IWbemContext *pCtx,IWbemClassObject **pNewObj) = 0; 1562 }; 1563 #else 1564 typedef struct IWbemObjectTextSrcVtbl { 1565 BEGIN_INTERFACE 1566 HRESULT (WINAPI *QueryInterface)(IWbemObjectTextSrc *This,REFIID riid,void **ppvObject); 1567 ULONG (WINAPI *AddRef)(IWbemObjectTextSrc *This); 1568 ULONG (WINAPI *Release)(IWbemObjectTextSrc *This); 1569 HRESULT (WINAPI *GetText)(IWbemObjectTextSrc *This,__LONG32 lFlags,IWbemClassObject *pObj,ULONG uObjTextFormat,IWbemContext *pCtx,BSTR *strText); 1570 HRESULT (WINAPI *CreateFromText)(IWbemObjectTextSrc *This,__LONG32 lFlags,BSTR strText,ULONG uObjTextFormat,IWbemContext *pCtx,IWbemClassObject **pNewObj); 1571 END_INTERFACE 1572 } IWbemObjectTextSrcVtbl; 1573 struct IWbemObjectTextSrc { 1574 CONST_VTBL struct IWbemObjectTextSrcVtbl *lpVtbl; 1575 }; 1576 #ifdef COBJMACROS 1577 #define IWbemObjectTextSrc_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1578 #define IWbemObjectTextSrc_AddRef(This) (This)->lpVtbl->AddRef(This) 1579 #define IWbemObjectTextSrc_Release(This) (This)->lpVtbl->Release(This) 1580 #define IWbemObjectTextSrc_GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText) (This)->lpVtbl->GetText(This,lFlags,pObj,uObjTextFormat,pCtx,strText) 1581 #define IWbemObjectTextSrc_CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj) (This)->lpVtbl->CreateFromText(This,lFlags,strText,uObjTextFormat,pCtx,pNewObj) 1582 #endif 1583 #endif 1584 HRESULT WINAPI IWbemObjectTextSrc_GetText_Proxy(IWbemObjectTextSrc *This,__LONG32 lFlags,IWbemClassObject *pObj,ULONG uObjTextFormat,IWbemContext *pCtx,BSTR *strText); 1585 void __RPC_STUB IWbemObjectTextSrc_GetText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1586 HRESULT WINAPI IWbemObjectTextSrc_CreateFromText_Proxy(IWbemObjectTextSrc *This,__LONG32 lFlags,BSTR strText,ULONG uObjTextFormat,IWbemContext *pCtx,IWbemClassObject **pNewObj); 1587 void __RPC_STUB IWbemObjectTextSrc_CreateFromText_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1588 #endif 1589 1590 typedef struct tag_CompileStatusInfo { 1591 __LONG32 lPhaseError; 1592 HRESULT hRes; 1593 __LONG32 ObjectNum; 1594 __LONG32 FirstLine; 1595 __LONG32 LastLine; 1596 DWORD dwOutFlags; 1597 } WBEM_COMPILE_STATUS_INFO; 1598 1599 typedef enum tag_WBEM_COMPILER_OPTIONS { 1600 WBEM_FLAG_CHECK_ONLY = 0x1,WBEM_FLAG_AUTORECOVER = 0x2,WBEM_FLAG_WMI_CHECK = 0x4,WBEM_FLAG_CONSOLE_PRINT = 0x8,WBEM_FLAG_DONT_ADD_TO_LIST = 0x10, 1601 WBEM_FLAG_SPLIT_FILES = 0x20,WBEM_FLAG_STORE_FILE = 0x100 1602 } WBEM_COMPILER_OPTIONS; 1603 1604 typedef enum tag_WBEM_CONNECT_OPTIONS { 1605 WBEM_FLAG_CONNECT_REPOSITORY_ONLY = 0x40,WBEM_FLAG_CONNECT_USE_MAX_WAIT = 0x80,WBEM_FLAG_CONNECT_PROVIDERS = 0x100 1606 } WBEM_CONNECT_OPTIONS; 1607 1608 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0125_v0_0_c_ifspec; 1609 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0125_v0_0_s_ifspec; 1610 #ifndef __IMofCompiler_INTERFACE_DEFINED__ 1611 #define __IMofCompiler_INTERFACE_DEFINED__ 1612 EXTERN_C const IID IID_IMofCompiler; 1613 #if defined(__cplusplus) && !defined(CINTERFACE) 1614 struct IMofCompiler : public IUnknown { 1615 public: 1616 virtual HRESULT WINAPI CompileFile(LPWSTR FileName,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo) = 0; 1617 virtual HRESULT WINAPI CompileBuffer(__LONG32 BuffSize,BYTE *pBuffer,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo) = 0; 1618 virtual HRESULT WINAPI CreateBMOF(LPWSTR TextFileName,LPWSTR BMOFFileName,LPWSTR ServerAndNamespace,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo) = 0; 1619 }; 1620 #else 1621 typedef struct IMofCompilerVtbl { 1622 BEGIN_INTERFACE 1623 HRESULT (WINAPI *QueryInterface)(IMofCompiler *This,REFIID riid,void **ppvObject); 1624 ULONG (WINAPI *AddRef)(IMofCompiler *This); 1625 ULONG (WINAPI *Release)(IMofCompiler *This); 1626 HRESULT (WINAPI *CompileFile)(IMofCompiler *This,LPWSTR FileName,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1627 HRESULT (WINAPI *CompileBuffer)(IMofCompiler *This,__LONG32 BuffSize,BYTE *pBuffer,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1628 HRESULT (WINAPI *CreateBMOF)(IMofCompiler *This,LPWSTR TextFileName,LPWSTR BMOFFileName,LPWSTR ServerAndNamespace,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1629 END_INTERFACE 1630 } IMofCompilerVtbl; 1631 struct IMofCompiler { 1632 CONST_VTBL struct IMofCompilerVtbl *lpVtbl; 1633 }; 1634 #ifdef COBJMACROS 1635 #define IMofCompiler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1636 #define IMofCompiler_AddRef(This) (This)->lpVtbl->AddRef(This) 1637 #define IMofCompiler_Release(This) (This)->lpVtbl->Release(This) 1638 #define IMofCompiler_CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) (This)->lpVtbl->CompileFile(This,FileName,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) 1639 #define IMofCompiler_CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) (This)->lpVtbl->CompileBuffer(This,BuffSize,pBuffer,ServerAndNamespace,User,Authority,Password,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) 1640 #define IMofCompiler_CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) (This)->lpVtbl->CreateBMOF(This,TextFileName,BMOFFileName,ServerAndNamespace,lOptionFlags,lClassFlags,lInstanceFlags,pInfo) 1641 #endif 1642 #endif 1643 HRESULT WINAPI IMofCompiler_CompileFile_Proxy(IMofCompiler *This,LPWSTR FileName,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1644 void __RPC_STUB IMofCompiler_CompileFile_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1645 HRESULT WINAPI IMofCompiler_CompileBuffer_Proxy(IMofCompiler *This,__LONG32 BuffSize,BYTE *pBuffer,LPWSTR ServerAndNamespace,LPWSTR User,LPWSTR Authority,LPWSTR Password,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1646 void __RPC_STUB IMofCompiler_CompileBuffer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1647 HRESULT WINAPI IMofCompiler_CreateBMOF_Proxy(IMofCompiler *This,LPWSTR TextFileName,LPWSTR BMOFFileName,LPWSTR ServerAndNamespace,LONG lOptionFlags,LONG lClassFlags,LONG lInstanceFlags,WBEM_COMPILE_STATUS_INFO *pInfo); 1648 void __RPC_STUB IMofCompiler_CreateBMOF_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase); 1649 #endif 1650 1651 typedef enum tag_WBEM_UNSECAPP_FLAG_TYPE { 1652 WBEM_FLAG_UNSECAPP_DEFAULT_CHECK_ACCESS = 0,WBEM_FLAG_UNSECAPP_CHECK_ACCESS = 1,WBEM_FLAG_UNSECAPP_DONT_CHECK_ACCESS = 2 1653 } WBEM_UNSECAPP_FLAG_TYPE; 1654 1655 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0127_v0_0_c_ifspec; 1656 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0127_v0_0_s_ifspec; 1657 1658 typedef enum tag_WBEM_INFORMATION_FLAG_TYPE { 1659 WBEM_FLAG_SHORT_NAME = 0x1,WBEM_FLAG_LONG_NAME = 0x2 1660 } WBEM_INFORMATION_FLAG_TYPE; 1661 1662 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0128_v0_0_c_ifspec; 1663 extern RPC_IF_HANDLE __MIDL_itf_wbemcli_0128_v0_0_s_ifspec; 1664 1665 ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *); 1666 unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *); 1667 unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *); 1668 void __RPC_API BSTR_UserFree(ULONG *,BSTR *); 1669 1670 #ifdef __cplusplus 1671 } 1672 #endif 1673 #endif 1674