IEnumExtraSearch::Next method (shobjidl_core.h)

Used to request information on one or more search objects.

Syntax

HRESULT Next(
  [in]  ULONG       celt,
  [out] EXTRASEARCH *rgelt,
  [out] ULONG       *pceltFetched
);

Parameters

[in] celt

Type: ULONG

The number of search objects to be enumerated, starting from the current object. If celt is too large, the method should stop and return the actual number of search objects in pceltFetched.

[out] rgelt

Type: EXTRASEARCH*

A pointer to an array of pceltFetched EXTRASEARCH structures containing information on the enumerated objects.

[out] pceltFetched

Type: ULONG*

The number of objects actually enumerated. This may be less than celt.

Return value

Type: HRESULT

Returns S_OK if successful, or a COM-defined error code otherwise.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 5.0 or later)