0 out of 1 rated this helpful - Rate this topic

IEnumWbemClassObject interface

The IEnumWbemClassObject interface is used to enumerate Common Information Model (CIM) objects and is similar to a standard COM enumerator.

An object of type IEnumWbemClassObject is received from calls to the following methods:

CIM objects are retrieved from an enumeration as objects of type IWbemClassObject by calling the Next method. You can reset an enumeration back to the beginning by calling the Reset method.

Members

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

Methods

The IEnumWbemClassObject interface has these methods.

MethodDescription
Clone

Makes a copy of the enumerator.

Next

Retrieves the next object or objects in the enumeration starting from the current position.

NextAsync

Retrieves the next object or objects using asynchronous integration with IWbemObjectSink.

Reset

Resets an enumeration sequence back to the beginning.

Skip

Causes the enumeration to skip ahead so that future calls to the Next method retrieve objects one, or more, ahead of the current location in the enumeration.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Fastprox.dll

See also

COM API for WMI
Enumerating WMI

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.