ILGetNext function

Retrieves the next SHITEMID structure in an ITEMIDLIST structure.

Syntax

PUIDLIST_RELATIVE ILGetNext(
  PCUIDLIST_RELATIVE pidl
);

Parameters

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

   
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)