ILCloneChild function

Clones a child ITEMIDLIST structure.

Syntax

PITEMID_CHILD ILCloneChild(
  PCUITEMID_CHILD pidl
);

Parameters

pidl

Type: PCUITEMID_CHILD

A pointer to the child ITEMIDLIST structure to be cloned.

Return Value

Type: PCUITEMID_CHILD

A pointer to a copy of the child 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 Vista [desktop apps only] Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shlobj_core.h (include Shlobj.h)