共用方式為


IEnumCLSID::Reset method

Resets the enumeration sequence to the beginning.

Syntax

HRESULT Reset();

Parameters

This method has no parameters.

Return value

The return value is S_OK.

Remarks

There is no guarantee that the same set of objects will be enumerated after the reset operation has completed. A static collection is reset to the beginning, but it can be too expensive for some collections, such as files in a directory, to guarantee this condition.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComCat.h

IDL

ComCat.idl

IID

IID_IEnumCLSID is defined as 0002E000-0000-0000-C000-000000000046

See also

IEnumCLSID