Automation Interfaces

The Automation API makes the interfaces of the Scripting API for WMI available to C/C++ programmers, in place of the COM API versions.

The following table lists WMI objects and how they are used in the Automation API. The cross-references link to the interface documentation for the Scripting API for WMI equivalents.

Automation Object Description
ISWbemEventSource Retrieves events in conjunction with ISWbemServices.ExecNotificationQuery.
ISWbemLastError Provides extended error information when an error occurs.
ISWbemLocator Obtains a reference to an ISWbemServices object that can access WMI on a particular host computer.
ISWbemMethod Contains a single method definition.
ISWbemMethodSet Gets access to a collection of ISWbemMethod objects.
ISWbemNamedValue Contains a single named value.
ISWbemNamedValueSet Gets access to a collection of ISWbemNamedValue objects.
ISWbemObject Contains and manipulates a single Common Information Model (CIM) object class or instance.
ISWbemObjectPath Generates and validates an object path.
ISWbemObjectSet Gets access to a collection of ISWbemObject objects.
ISWbemPrivilege Sets or clears a privilege.
ISWbemPrivilegeSet Gets access to a collection of ISWbemPrivilege objects.
ISWbemProperty Used to contain a single CIM property.
ISWbemPropertySet Get access to a collection of ISWbemProperty objects.
ISWbemQualifier Contains a single class qualifier.
ISWbemQualifierSet Gets access to a collection of ISWbemQualifier objects.
ISWbemSecurity Manages security settings such as Component Object Model (COM) Privilege, AuthenticationLevel, and ImpersonationLevel.
ISWbemServices Creates, updates, and retrieves instances or classes.
ISWbemSink Receives the results of client application asynchronous operations and event notifications.