ILCloneChild function (shlobj_core.h)
Clones a child ITEMIDLIST structure.
Syntax
PITEMID_CHILD ILCloneChild(
[in] PCUITEMID_CHILD pidl
);
Parameters
[in] 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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shlobj_core.h (include Shlobj.h) |