Export (0) Print
Expand All

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.

Members

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

Methods

The IWbemHiPerfEnum interface has these methods.

MethodDescription
AddObjects

Adds objects with assigned identifiers.

GetObjects

Retrieves objects from the enumerator.

RemoveAll

Removes all objects from the enumerator.

RemoveObjects

Remove objects with the specified identifiers.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Wbemperf.dll

See also

COM API for WMI
Accessing Performance Data in C++
Accessing WMI Preinstalled Performance Classes
IWbemRefresher

 

 

Show:
© 2014 Microsoft