Επεξεργασία

Κοινή χρήση μέσω


ILFindLastID function (shlobj_core.h)

Returns a pointer to the last SHITEMID structure in an ITEMIDLIST structure.

Syntax

PUITEMID_CHILD ILFindLastID(
  [in] PCUIDLIST_RELATIVE pidl
);

Parameters

[in] pidl

Type: PCUIDLIST_RELATIVE

A pointer to an ITEMIDLIST structure.

Return value

Type: PUITEMID_CHILD

A pointer to the last SHITEMID structure in pidl.

Remarks

This function does not clone the last item, so you do not have to call ILFree to release the returned pointer.

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)