IEnumPortableDeviceObjectIDs::Reset method

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 codeDescription
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

Header

PortableDeviceApi.h

Library

PortableDeviceGUIDs.lib

See also

IEnumPortableDeviceObjectIDs Interface

 

 

Community Additions

ADD
Show: