ILGetNext function (shlobj_core.h)

Retrieves the next SHITEMID structure in an ITEMIDLIST structure.

Syntax

PUIDLIST_RELATIVE ILGetNext(
  [in, optional] PCUIDLIST_RELATIVE pidl
);

Parameters

[in, optional] pidl

Type: PCUIDLIST_RELATIVE

A pointer to a particular SHITEMID structure in a larger ITEMIDLIST structure.

Return value

Type: PUIDLIST_RELATIVE

Returns a pointer to the SHITEMID structure that follows the one specified by pidl. Returns NULL if pidl points to the last SHITEMID structure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)
Library Shell32.lib
DLL Shell32.dll (version 5.0 or later)