共用方式為


MI Structures and Unions

WMI provides the following structures and unions.

In this section

MI_Application

Represents the initialized infrastructure.

MI_ApplicationFT

A support structure used in the MI_Application structure. Use the functions with the name prefix "MI_Application_" to manipulate these structures.

MI_Array

Generalized type that represents an array. It can be generalized because all arrays are the same size, except the data element type will be specialized.

MI_ArrayField

Represents a property inside an MI_Instance structure.

MI_BooleanA

Represents an array of MI_Boolean types.

MI_BooleanAField

Represents a property inside an MI_Instance structure.

MI_BooleanField

Represents a property inside an MI_Instance structure.

MI_Char16A

Represents an array of MI_Char16 types.

MI_Char16AField

Represents a property inside an MI_Instance structure.

MI_Char16Field

Represents a property inside an MI_Instance structure.

MI_ClassDecl

This structure outlines the class declaration. It contains class name and hierarchy, properties, qualifiers, and methods.

MI_ClassFT

A support structure used in the MI_Class structure. Use the functions with the name prefix "MI_Class_" to manipulate these structures.

MI_ClientFT_V1

Client function tables.

MI_ConstBooleanA

Represents an array of MI_ConstBoolean types.

MI_ConstBooleanAField

Represents a property inside an MI_Instance structure.

MI_ConstBooleanField

Represents a property inside an MI_Instance structure.

MI_ConstChar16A

Represents an array of MI_Char16 types.

MI_ConstChar16AField

Represents a property inside an MI_Instance structure.

MI_ConstChar16Field

Represents a property inside an MI_Instance structure.

MI_ConstDatetimeA

Represents an array of MI_Datatime types.

MI_ConstDatetimeAField

Represents a property inside an MI_Instance structure.

MI_ConstDatetimeField

Represents a property inside an MI_Instance structure.

MI_ConstInstanceA

Represents an array of MI_Instance types.

MI_ConstInstanceAField

Represents a property inside an MI_Instance structure.

MI_ConstInstanceField

Represents a property inside an MI_Instance structure.

MI_ConstReal32A

Represents an array of MI_Real32 types

MI_ConstReal32AField

Represents a property inside an MI_Instance structure.

MI_ConstReal32Field

Represents a property inside an MI_Instance structure.

MI_ConstReal64A

Represents an array of MI_Real64 types.

MI_ConstReal64AField

Represents a property inside an MI_Instance structure.

MI_ConstReal64Field

Represents a property inside an MI_Instance structure.

MI_ConstReferenceA

Represents an array of MI_Instance types.

MI_ConstReferenceAField

Represents a property inside an MI_Instance structure.

MI_ConstReferenceField

Represents a property inside an MI_Instance structure.

MI_ConstSint16A

Represents an array of MI_Sint16 types.

MI_ConstSint16AField

Represents a property inside an MI_Instance structure.

MI_ConstSint16Field

Represents a property inside an MI_Instance structure

MI_ConstSint32A

Represents an array of MI_Sint32 types.

MI_ConstSint32AField

Represents a property inside an MI_Instance structure.

MI_ConstSint32Field

Represents a property inside an MI_Instance structure.

MI_ConstSint64A

Represents an array of MI_Sint64 types.

MI_ConstSint64AField

Represents a property inside an MI_Instance structure.

MI_ConstSint64Field

Represents a property inside an MI_Instance structure.

MI_ConstSint8A

Represents an array of MI_Sint8 types.

MI_ConstSint8AField

Represents a property inside an MI_Instance structure.

MI_ConstSint8Field

Represents a property inside an MI_Instance structure.

MI_ConstStringA

Represents an array of MI_Char types.

MI_ConstStringAField

Represents a property inside an MI_Instance structure.

MI_ConstStringField

Represents a property inside an MI_Instance structure.

MI_ConstUint16A

Represents an array of MI_Uint16A types.

MI_ConstUint16AField

Represents a property inside an MI_Instance structure.

MI_ConstUint16Field

Represents a property inside an MI_Instance structure.

MI_ConstUint32A

Represents an array of MI_Uint32 types.

MI_ConstUint32AField

Represents a property inside an MI_Instance structure.

MI_ConstUint32Field

Represents a property inside an MI_Instance structure.

MI_ConstUint64A

Represents an array of MI_Uint64 types.

MI_ConstUint64AField

Represents a property inside an MI_Instance structure.

MI_ConstUint64Field

Represents a property inside an MI_Instance structure.

MI_ConstUint8A

Represents an array of MI_Uint8 types.

MI_ConstUint8AField

Represents a property inside an MI_Instance structure.

MI_ConstUint8Field

Represents a property inside an MI_Instance structure.

MI_Context

Holds context for the operation that the provider needs to carry out. There are a set of MI_Context_* APIs to perform such actions as reporting operation results and retrieving the options/settings associated with an operation. The context object is valid only until the final result for the operation is sent.

MI_ContextFT

A support structure used in the MI_Context structure. Use the functions with the name prefix "MI_Context_" to manipulate these structures.

MI_Datetime

Represents a union of MI_Timestamp and MI_Interval.

MI_DatetimeA

Represents an array of MI_Datetime types.

MI_DatetimeAField

Represents a property inside an MI_Instance structure.

MI_DatetimeField

Represents a property inside an MI_Instance structure.

MI_Deserializer

Deserialization object as created from MI_Application_NewDeserializer. The object itself should not be manually used or changed as it is used internally.

MI_DeserializerFT

A support structure used in the MI_ClientFT_V1 structure. Use the functions with the name prefix "MI_Deserializer_" to manipulate these structures.

MI_DestinationOptions

Represents a set of destination options. Destination options are a set of configurations that define the way an operation communicates with the server.

MI_DestinationOptionsFT

A support structure used in the MI_DestinationOptions structure. Use the functions with the name prefix "MI_DestinationOptions_" to manipulate these structures.

MI_FeatureDecl

Contains properties that are common to the MI_PropertyDeclMI_ParameterDecl and MI_MethodDecl structures.

MI_Filter

Contains a reference to the function table MI_FilterFT.

MI_FilterFT

A support structure used in the MI_Filter structure. Use the functions with the name prefix "MI_Filter_" to manipulate these structures.

MI_HostedProvider

Represents the hosting of a provider in a client application.

MI_HostedProviderFT

A support structure used in the MI_HostedProvider structure. Use the functions with the name prefix "MI_HostedProvider_" to manipulate these structures.

MI_Instance

This structure represents a CIM instance. This object should not be accessed directly. Instead, the MI_Instance_* functions should be used.

MI_InstanceA

Represents an array of MI_Instance structures.

MI_InstanceAField

Represents a property inside an MI_Instance structure.

MI_InstanceField

Represents a property inside an MI_Instance structure.

MI_InstanceExFT

Extends the MI_InstanceFT structure.

MI_InstanceFT

A support structure used in the MI_Instance structure. Use the functions with the name prefix MI_Instance_ to manipulate these structures.

MI_Interval

MI_Interval represents an interval of time.

MI_MethodDecl

Represents a CIM method.

MI_Module

Generated by the provider, this object contains all the data needed by the provider manager to manage the providers within this module.

_MI_Module_Self

An optional user-defined structure containing provider state data.

MI_ObjectDecl

Contains properties common to the MI_ClassDecl and MI_PropertyDecl structures.

MI_Operation

Represents a single operations execution. This object holds the internal function tables for carrying out actions on the operation.

MI_OperationCallbacks

Structure that holds all callback function pointers for carrying out operations.

MI_OperationFT

A support structure used in the MI_Operation structure. Use the functions with the name prefix "MI_Operation_" to manipulate these structures.

MI_OperationOptions

Represents a set of operation options.

MI_OperationOptionsFT

A support structure used in the MI_OperationOptions structure. Use the functions with the name prefix "MI_OperationOptions_" to manipulate these structures.

MI_ParameterDecl

Represents CIM method parameters.

MI_ParameterSet

Holds the method parameters of a class definition.

MI_ParameterSetFT

A support structure used in the MI_ParameterSet structure. Use the functions with the name prefix MI_ParameterSet_ to manipulate these structures.

MI_PropertyDecl

Represents a class property (element) in a class's declaration.

MI_PropertySet

Implements a set of property names.

MI_PropertySetFT

A support structure used in the MI_PropertySet structure. Use the functions with the name prefix "MI_PropertySet_" to manipulate these structures.

MI_ProviderFT

A support structure used in the MI_ClassDecl and MI_Module structures.

MI_Qualifier

Represents a CIM qualifier.

MI_QualifierDecl

Represents a CIM qualifier declaration.

MI_QualifierSet

Allows the developer to view the qualifiers of a class definition.

MI_QualifierSetFT

A support structure used in the MI_QualifierSet structure. Use the functions with the name prefix "MI_QualifierSet_" to manipulate these structures.

MI_Real32A

Represents an array of MI_Real32 types.

MI_Real32AField

Represents a property inside an MI_Instance structure.

MI_Real32Field

Represents a property inside an MI_Instance structure.

MI_Real64A

Represents an array of MI_Real64 types.

MI_Real64AField

Represents a property inside an MI_Instance structure.

MI_Real64Field

Represents a property inside an MI_Instance structure.

MI_ReferenceA

Represents an array of pointers to MI_Instance types.

MI_ReferenceAField

Represents a property inside an MI_Instance structure.

MI_ReferenceField

Represents a property inside an MI_Instance structure.

MI_SchemaDecl

Represents the schema objects in a CIM schema, which include CIM classes and CIM qualifier declarations.

MI_Serializer

An object tied to a specific serialization technique.

MI_SerializerFT

A support structure used in the MI_ClientFT_V1 structure. Use the functions with the name prefix "MI_Serializer_" to manipulate these structures.

MI_Server

This structure defines default function tables for all types: Context, Instance, PropertySet, and Filter.

MI_ServerFT

A support structure used in the MI_Server structure. Use the functions with the name prefix "MI_Server_" to manipulate these structures.

MI_Session

An object that is associated with a destination and has a set of credentials and options associated with it. .

MI_SessionFT

Function table for all actions on a session object.

MI_SessionCallbacks

A container for callback function pointers that handle logging and error messages.

MI_Sint16A

Represents an array of MI_Sint16 types.

MI_Sint16AField

Represents a property inside an MI_Instance structure.

MI_Sint16Field

Represents a property inside an MI_Instance structure.

MI_Sint32A

Represents an array of MI_Sint32 types.

MI_Sint32AField

Represents a property inside an MI_Instance structure.

MI_Sint32Field

Represents a property inside an MI_Instance structure.

MI_Sint64A

Represents an array of MI_Sint64 types.

MI_Sint64AField

Represents a property inside an MI_Instance structure.

MI_Sint64Field

Represents a property inside an MI_Instance structure.

MI_Sint8A

Represents an array of MI_Sint8 types.

MI_Sint8AField

Represents a property inside an MI_Instance structure.

MI_Sint8Field

Represents a property inside an MI_Instance structure.

MI_StringA

Represents an array of pointers to null-terminated MI_Char* strings.

MI_StringAField

Represents a property inside an MI_Instance structure.

MI_StringField

Represents a property inside an MI_Instance structure.

MI_SubscriptionDeliveryOptions

The subscription options object stores configuration options used for passing into subscription operations.

MI_SubscriptionDeliveryOptionsFT

A support structure used in the MI_SubscriptionDeliveryOptions structure. Use the functions with the name prefix "MI_SubscriptionDeliveryOptions_" to manipulate these structures.

MI_Timestamp

MI_Timestamp specifies a timestamp or a specific point in time.

MI_Uint16A

Represents an array of MI_Uint16 types.

MI_Uint16AField

Represents a property inside an MI_Instance structure.

MI_Uint16Field

Represents a property inside an MI_Instance structure.

MI_Uint32A

Represents an array of MI_Uint32 types.

MI_Uint32AField

Represents a property inside an MI_Instance structure.

MI_Uint32Field

Represents a property inside an MI_Instance structure.

MI_Uint64A

Represents an array of MI_Uint64 types.

MI_Uint64AField

Represents a property inside an MI_Instance structure.

MI_Uint64Field

Represents a property inside an MI_Instance structure.

MI_Uint8A

Represents an array of MI_Uint8 types.

MI_Uint8AField

Represents a property inside an MI_Instance structure.

MI_Uint8Field

Represents a property inside an MI_Instance structure.

MI_UserCredentials

A user's credentials. It includes an authentication type and either a username and password or a certificate thumbprint.

MI_UsernamePasswordCreds

A username/password combination used for subscription operations.

MI_UtilitiesFT

A support structure used in the MI_ClientFT_V1 structure. Use the functions with the name prefix "MI_Utilities_" to manipulate these structures.

MI_Value

A union of all CIM data types.