MI Interfaces
WMI provides the following interfaces.
In this section
-
Represents the initialized infrastructure.
-
Deinitializes the management infrastructure client API that was initialized through a call to MI_Application_Initialize.
-
Initializes an application so that it can make Management Infrastructure (MI) client API calls.
-
Creates an MI_Class from an MI_ClassDecl structure.
-
Creates a deserializer object that can then be used to convert a serialized object back into a class or instance.
-
Creates an MI_DestinationOptions object that can be used with the MI_Application_NewSession function.
-
Registers a hosted provider with the WMI engine on the local machine.
-
Creates a new MI_Instance object to be passed to various MI operation APIs that require instances.
-
Creates a new MI_Instance object based on a class object.
-
Creates an MI_OperationOptions object that can be used with the operation functions on the MI_Session object.
-
Creates a new parameter set.
-
Retrieves a serializer object that can then be used to serialize instances and classes into various different formats.
-
Creates a session used to share connections for a set of operations to a single destination.
-
Creates an MI_SubscriptionDeliveryOptions object that represents the configuration needed to carry out subscribe operations over certain protocols.
-
Cancels an operation.
-
Represents the schema of an instance.
-
Clones an MI_Class object.
-
Deletes an MI_Class object.
-
Gets the class name of the specified class.
-
Gets the qualifier set that is associated with the specified class object.
-
Gets all details of a specified named element from a class.
-
Gets details of a class element based on the element index.
-
Gets the number of elements in a class.
-
Gets details of a method based on the method name.
-
Gets details of a method based on the method index.
-
Gets the number of methods in the class.
-
Gets the namespace name of the specified class.
-
Gets the parent class for the specified class.
-
Gets the parent class name of the specified class.
-
Gets the name of the server from the specified class.
-
Determines whether the operation has been canceled. This function is reserved; instead, use the MI_Context_RegisterCancel function.
-
Initializes an MI class instance on the stack or as a member of a structure.
-
A provider calls this function to initialize a parameter's instance.
-
Retrieves an option set by the client.
-
Retrieves an option at a particular index that was set by the client.
-
Gets the number of custom options available to the provider.
-
Retrieves the requested locale information that the client specified for the operation.
-
Gets the local session (MI_Session) which allows the provider to perform CIM operations against the local server hosting the provider.
-
Gets the numeric option that the client sets, based on the operation name.
-
Gets the string option that the client sets, based on the operation name.
-
Creates a new dynamic instance (weakly typed instance without a class declaration) of a class.
-
Creates a new instance of a class given a class declaration.
-
Creates a new instance of a method given a method declaration.
-
Posts a return code and an error message (in the form of a CIM_Error object) to the server in response to a request.
-
Providers call this function to post a return code to the client in response to a request.
-
Posts an indication result to the server in response to a subscribe operation request.
-
Posts an instance back to the client (through the server) in response to a request.
-
Posts the final terminating result code back to the client (through the server) in response to a request.
-
Sends a prompt message to the client querying whether to continue the operation or cancel it.
-
Tells the provider infrastructure not to unload the provider.
-
Registers a callback that is invoked when the operation is canceled.
-
Requests to unload the module or the provider.
-
Sets a context-specific option.
-
Queries the client to determine if an operation should continue.
-
Queries the client to determine if an operation should continue.
-
Sends a CIM (informative) error instance to the client.
-
Sends a debug message to the client.
-
Sends an error code and error message to the client.
-
Sends an operational message to the client.
-
Sends a progress message to the client.
-
Sends streamed parameter data to the client for a method invocation.
-
Writes a verbose message to the client.
-
Writes a warning message to the client.
-
Gets the class name from a serialized class buffer.
-
Gets the parent class name from a serialized class buffer.
-
Used to provide requested class object during deserialization.
-
Closes a deserializer object and deletes any associated memory that is held within the deserializer.
-
Deserializes a serialized buffer into an MI_Class object.
-
Deserializes a serialized buffer into a MI_Instance object.
-
Gets the class name associated with the serialized instance.
-
Sets the credentials for talking to the destination.
-
Adds credentials to authenticate against a proxy.
-
Creates a copy of a MI_DestinationOptions structure.
-
Deletes the destination options structure created by using the MI_Application_NewDestinationOptions or MI_DestinationOptions_Clone function.
-
Gets the server certificate CA check value.
-
Gets the server certificate CN check value.
-
Gets the server certificate's revocation check value.
-
Get the credentials at the specified index.
-
Gets the number of previously added credentials.
-
Gets a credentials password based on a specified index.
-
Gets the data locale (as opposed to UI locale) set by the user.
-
Gets the default port for transport.
-
Gets the port's Service Principal Name encoding value.
-
Gets the HTTP URL prefix.
-
Gets the impersonation type.
-
Gets the maximum size of the packet sent to a server or received by the client from the server.
-
Gets a previously added custom number option.
-
Gets a previously added option value based on the option name.
-
Gets a previously added option value based on the specified index.
-
Gets the number of options previously added.
-
Gets the previously set packet encoding setting.
-
Gets the packet integrity setting.
-
Gets the packet privacy (encryption) setting.
-
Gets the proxy type set by the user.
-
Gets a previously added custom string option.
-
Gets the default options timeout value.
-
Gets the transport setting that the client added.
-
Gets the user interface locale set by the user.
-
Enables or disables the CA certificate check for an SSL transport.
-
Enables or disables the certificate CN check when an SSL transport is used.
-
Enables or disables the certificate revocation when communicating over SSL.
-
Sets the default data locale to use for operations.
-
Set the port to use to communicate to the destination.
-
Enables or disables the encoding of the port number in the Service Principal Name when establishing a connection to a remote machine.
-
Set the default HTTP URL prefix for transports that go over HTTP and HTTPS.
-
Sets the impersonation type.
-
Sets the maximum packet size for transports.
-
Sets a custom numeric option value.
-
Sets the encoding mechanism for certain protocol handles.
-
Enables or disables packet integrity (signing) of a protocol connection.
-
Enables or disables packet privacy (encryption).
-
Sets the type of proxy settings to use when communicating to a destination through a proxy.
-
Sets a custom string option.
-
Sets the default options timeout value.
-
Sets the transport to be used to communicate with the destination machine.
-
Sets the default UI locale for operations.
-
The provider calls this function to evaluate an instance against a given filter.
-
Gets the filter language and expression.
-
Close a hosted provider handle that was returned from MI_Application_NewHostedProvider.
-
Gets the top-level application handle from which the hosted provider handle was created.
-
Adds a new property to a dynamic instance (supported only by dynamic instances whose schema may be extended at run time).
-
Clears the value of the named element (CIM property) and sets it to NULL.
-
Clears the value of the element (CIM property) at the specified index and sets it to NULL.
-
Creates a copy of the specified instance on the heap.
-
Deletes an instance that was created on the heap or cloned from another instance.
-
Deletes an instance that was created on the stack or as a member of a structure.
-
Gets the MI_Class associated with an instance.
-
Gets the class name of the specified instance.
-
Gets the value of the named element (CIM property).
-
Gets the value of the element (CIM property) at the specified index.
-
Gets the number of elements in an instance.
-
Gets the namespace name of the specified instance.
-
Gets the server name from the specified instance.
-
Determines if the instance self is an instance of the class given by classDecl.
-
Parses an MI_Instance_ExFT structure and then retrieves the MI_InstanceFT function table.
-
Set the value of the element with the given name in the given instance.
-
Set the value of the element at the given index of an instance.
-
Sets the namespace name of the specified instance.
-
Sets the server name of the specified instance.
-
Calls the provider implementation of a CIM method represented by a MI_MethodDecl structure.
-
Loads the main provider module.
-
Unloads the main provider module.
-
Cancels a running operation.
-
Closes an operation handle.
-
Gets a synchronous result for a class operation.
-
Get the synchronous results from a subscription.
-
Gets a synchronous result for an instance operation.
-
Gets the session associated with an operation.
-
Optional instance callback to get classes and class options from an operation.
-
Optional instance callback to get indication (subscribe) results from an operation.
-
Optional instance callback to get asynchronous results from an operation.
-
Optional callback to handle prompt user requests from the server.
-
Optional callback to get streamed parameter results from method invocation operations.
-
Optional callback to receive write error messages from the server.
-
Optional callback to receive write messages from the server.
-
Optional callback to receive progress reports from the server.
-
Creates a copy of a MI_OperationOptions structure.
-
Deletes an option set and its associated memory.
-
Uses MI_Context_WriteMessage to disable logging to the specified channel.
-
Uses MI_Context_WriteMessage to enable logging to the specified channel.
-
Gets the list of previously enabled channels.
-
Gets a previously added custom number option.
-
Gets a previously added option value based on the option name.
-
Gets a previously added option value based on the specified index.
-
Gets the number of options previously added.
-
Gets the value that tells the server how to respond to a provider's call to MI_Context_PromptUser.
-
Gets the value that tells the server how to respond to a provider's call to MI_Context_PromptUser.
-
Gets the provider architecture for an operation.
-
Gets the resource URI being used for an operation.
-
Gets the resource URI prefix being used for an operation.
-
Gets a custom string option.
-
Gets the operation timeout value.
-
Gets the value that indicates whether to use machine identification information in the operation request.
-
Sets the error reporting mode.
-
Sets a custom option for the operation.
-
Sets a custom number option value.
-
Sets the value that tells the server how to respond to a provider's call to the MI_Context_PromptUser function.
-
Sets the value that tells the server how to respond to a provider's call to the MI_Context_PromptUser function.
-
Sets the provider architecture for an operation.
-
Sets the resource URI to use for an operation.
-
Sets the resource URI prefix to use for an operation.
-
Sets a custom string option.
-
Sets the operation timeout for a specific operation.
-
Enables or disables the sending of machine identification information in the operation request.
-
Sets the error reporting mode.
-
Gets the method return type and qualifier set for a specified parameter set.
-
Gets a method's parameter information based on a parameter name.
-
Gets a method's parameter information at the specified index.
-
Gets the number of parameters in a method's parameter set.
-
Adds a name to the property list.
-
Removes all names from the property list. Afterwards, the count is zero. This allows property lists to be reused (without having to be destructed and reconstructed).
-
Creates a copy of the specified property set on the heap.
-
Determines whether the property list contains the specified property name.
-
Deletes the specified property list that was constructed on the heap.
-
Deletes the specified property list that was constructed on the stack.
-
Gets the element of a property set at the specified index.
-
Gets the number of elements in the specified property set.
-
Finds all CIM instances associated with a specified CIM instance.
-
Create a single CIM instance in the target namespace.
-
Delete a single CIM instance from the target namespace.
-
Disable indications delivery from the provider.
-
Enable indications delivery from the provider.
-
Enumerate instances of a CIM class in the target namespace.
-
Get a single CIM instance from the provider.
-
Calls a CIM extrinsic method on behalf of a requestor.
-
Initialize the provider.
-
Modify an existing CIM instance in the target namespace. The instance must already exist.
-
Enumerate association instances that refer to a particular CIM instance.
-
Subscribe to indications.
-
TBD
-
unsubscribe from indications.
-
Gets the qualifier information based on the given qualifier name.
-
Gets a qualifier at the specified index.
-
Gets the number of qualifiers in a qualifier set.
-
Closes a serializer object and frees any internal memory associated with it.
-
Serializes an MI_Class into a buffer in the format specified when the serializer was created. Options can be passed into the flags to control if the class and all its parent classes are serialized, or just the child-most class.
-
Serializes an MI_Instance into a buffer in the format specified when the serializer was created. Options can be passed into the flags to control if the class is also serialized into the buffer as well as the instance.
-
Gets the system name for the server.
-
Gets the value of the MI_VERSION macro used when generating the provider.
-
Finds instances that are associated with the specific key instance.
-
Closes a session and releases all associated memory.
-
Creates an instance on the server that the session represents.
-
Deletes an instance on the server represented by the session.
-
Enumerates the classes of a specified session.
-
Enumerate all instances (on the server represented by the session) that are associated with a class.
-
Gets the application handle that was used to create the specified session.
-
Gets an MI_Class declaration based on a specific class name.
-
Gets the specified instance from the server represented by the session.
-
Invokes a method in the provider.
-
Updates an existing instance in the server represented by the session.
-
Queries for a set of instances based on a query expression.
-
Finds the association object that references the specified key instance.
-
Subscribes to an indication on the server represented by the session.
-
Tests a connection by communicating with the server represented by the session to determine whether it is responding.
-
Sets a subscription option for delivery credentials to use when connecting back to the client to deliver a push indication result.
-
Creates a copy of a MI_SubscriptionDeliveryOptions structure.
-
Deletes the specified subscription delivery options structure.
-
Gets a previously set subscription bookmark.
-
Gets a previously added credential based on a specified index.
-
Gets the number of previously added credentials.
-
Gets a previously added credential password based on a specified index.
-
Gets a previously set datetime option.
-
Gets the previously set subscription delivery destination.
-
Gets the previously set delivery port number.
-
Gets the number of delivery retry attempts.
-
Gets the delivery retry interval—the amount of time to wait before retrying the delivery.
-
Gets the delivery expiration value (which can be expressed as a timestamp or an interval).
-
Gets the delivery heartbeat interval.
-
Gets the delivery interval for a specified option.
-
Gets the maximum amount of time that the server will hold a result before delivering it to the client.
-
Gets the value of the named numeric option.
-
Gets the value of the named option.
-
Gets the option at the specified index.
-
Gets the number of previously set options.
-
Gets the value of the named string option.
-
Sets a bookmark for subscription indication delivery.
-
Sets the value of a named DateTime option.
-
Sets the destination endpoint that an indication will be delivered to.
-
Sets the subscription delivery port number.
-
Sets the number of times a push delivery subscription will try to deliver a result.
-
Sets the delivery retry interval for subscriptions that are for push delivery.
-
Sets the subscription expiration time (when the subscription will shut down).
-
Sets the heartbeat interval.
-
Sets the value of a named interval option.
-
Sets the maximum amount of time that the server will hold a result before delivering it to the client.
-
Sets the value of a named numeric option that is not covered by a dedicated function.
-
Sets the value of a named string option that is not covered by a dedicated function.
-
Maps an operating-system specific error code to a CIM error instance.
-
MI_Utilities_MapErrorToExtendedError is not supported.
-
Maps an operating system specific error code to an error category.