[This is preliminary documentation and subject to change.]
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.
HRESULT BeginEnumeration(
[in] Long lFlags
);
WBEM_E_INVALID_PARAMETER | The lFlags parameter was not valid. |
WBEM_NO_ERROR | Success. |
WBEM_E_OUT_OF_MEMORY | There was not enough memory to begin an enumeration. |
WBEM_E_FAILED | General failure. |
IWbemContext::Next, IWbemContext::EndEnumeration