BCGControlBar Pro for MFC
LPITEMIDLIST CBCGPShellManager::ConcatenateItem ( LPCITEMIDLIST  pidl1,
LPCITEMIDLIST  pidl2 
)

Concatenates two items.

Returns
A pointer to a new item list if the function succeeds; otherwise NULL.

Creates a new ITEMIDLIST that is the size of both pidl1 and pidl2, then copy pidl1 and pidl2 to the new list.

Parameters
pidl1The first item.
pidl2The second item to be concatenated with pidl1.