IWbemHiPerfEnum interface

The IWbemHiPerfEnum interface is used in refresher operations to provide rapid access to enumerations of instance objects. WMI provides an implementation of this interface, which it passes to providers when IWbemHiPerfProvider::CreateRefreshableEnum is called, and it returns to clients when IWbemConfigureRefresher::AddEnum is called.

Client applications can call only the GetObjects method of this interface. Attempts by client applications to call the other IWbemHiPerfEnum methods return WBEM_E_ACCESS_DENIED. Providers call these other methods to update the enumerators whenever a client calls Refresh.

Note  This interface is not implemented by the user or by a provider under any circumstances. The implementation provided by WMI is the only one supported.


The IWbemHiPerfEnum interface has these methods.

Method Description
IWbemHiPerfEnum::AddObjects The IWbemHiPerfEnum::AddObjects method adds the supplied instance objects to the enumerator.
IWbemHiPerfEnum::GetObjects The IWbemHiPerfEnum::GetObjects method retrieves objects currently residing in the enumerator.
IWbemHiPerfEnum::RemoveAll The IWbemHiPerfEnum::RemoveAll method empties all objects from the enumerator.
IWbemHiPerfEnum::RemoveObjects The IWbemHiPerfEnum::RemoveObjects method removes objects (identified by their refresher identifiers) from a refresher.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemcli.h (include Wbemidl.h)

See Also

Accessing Performance Data in C++

Accessing WMI Preinstalled Performance Classes