IWbemContext::BeginEnumeration method (wbemcli.h)

The IWbemContext::BeginEnumeration method resets the enumeration of all the context values in the object. This method must be called before the first call to IWbemContext::Next to enumerate all of the context values in the object. The order in which context values are enumerated is guaranteed to be invariant for a given instance of IWbemContext.


HRESULT BeginEnumeration(
  [in] long lFlags


[in] lFlags

Reserved. This parameter must be 0.

Return value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.


Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemcli.h (include Wbemidl.h)
Library Wbemuuid.lib
DLL Esscli.dll; Fastprox.dll; FrameDyn.dll; FrameDynOS.dll; Wbemcomn.dll; Wbemcore.dll; Wbemess.dll; Wmipjobj.dll

See also