Export (0) Print
Expand All

IWbemContext::EndEnumeration method

The IWbemContext::EndEnumeration method ends an enumeration sequence that begins with IWbemContext::BeginEnumeration. This call is not required, but it releases as early as possible any system resources associated with the enumeration.

Syntax


HRESULT EndEnumeration();

Parameters

This method has no parameters.

Return value

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

Return codeDescription
WBEM_S_NO_ERROR

The call succeeded.

WBEM_E_UNEXPECTED

This call was made without a corresponding call to IWbemContext::BeginEnumeration.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Esscli.dll;
Fastprox.dll;
Framedyn.dll;
Wbemcomn.dll;
Wbemcore.dll;
Wbemess.dll;
Wmipjobj.dll

See also

IWbemContext
IWbemContext::BeginEnumeration
IWbemContext::Next

 

 

Show:
© 2015 Microsoft