IEnumPortableDeviceObjectIDs::Reset method (portabledeviceapi.h)

The Reset method resets the enumeration sequence to the beginning.

Syntax

HRESULT Reset();

Parameters

This method has no parameters.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

There is no guarantee that the same objects will be enumerated after this method is called. This is because objects that were enumerated previously might have been deleted or new objects might have been added.

Requirements

   
Target Platform Windows
Header portabledeviceapi.h
Library PortableDeviceGUIDs.lib

See also

IEnumPortableDeviceObjectIDs Interface