BCGControlBar Pro for MFC
LPITEMIDLIST CBCGPShellManager::CopyItem ( LPCITEMIDLIST  pidlSource,
BOOL  bFindLastID = FALSE 
)

Creates a new item list and copies to it the specifies item list.

Parameters
pidlSourceThe source item.
bFindLastIDTRUE to find last identifier.
Returns
A pointer to the newly created item list if the function succeeds; otherwise NULL.