The IEnumWbemClassObject::Reset method resets an enumeration sequence back to the beginning. Because CIM objects are dynamic, calling this method does not necessarily return the same list of objects that you obtained previously.
HRESULT Reset( );
This method has no parameters.
The Reset method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
The COM-specific error codes may also be returned if the remote connection to the Windows Management is lost due to network problems.
You may see COM-specific error codes returned if network problems cause you to lose the remote connection to Windows Management.
If WBEM_S_NO_ERROR is not returned, you can call the COM function GetErrorInfo to get more information about the error.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||wbemcli.h (include Wbemidl.h)|