IWbemHiPerfEnum interface (wbemcli.h)

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.
 

Inheritance

The IWbemHiPerfEnum interface inherits from the IUnknown interface. IWbemHiPerfEnum also has these types of members:

Methods

The IWbemHiPerfEnum interface has these methods.

 
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.

Requirements

   
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

COM API for WMI

IWbemRefresher