ILClone function

Clones an ITEMIDLIST structure.

Syntax

PIDLIST_RELATIVE ILClone(
  PCUIDLIST_RELATIVE pidl
);

Parameters

pidl

Type: PCUIDLIST_RELATIVE

A pointer to the ITEMIDLIST structure to be cloned.

Return Value

Type: PIDLIST_RELATIVE

Returns a pointer to a copy of the ITEMIDLIST structure pointed to by pidl.

Remarks

When you are finished with the cloned ITEMIDLIST structure, release it with ILFree to avoid memory leaks.

Requirements

   
Windows version Windows XP [desktop apps only] 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)