Share via


CShellManager::ConcatenateItem

Creates a new list containing two PIDLs.

LPITEMIDLIST ConcatenateItem(
   LPCITEMIDLIST pidl1,
   LPCITEMIDLIST pidl2 
);

Parameters

  • [in] pidl1
    The first item.

  • [in] pidl2
    The second item.

Return Value

A pointer to the new item list if the function succeeds, otherwise NULL.

Remarks

This method creates a new ITEMIDLIST large enough to contain both pidl1 and pidl2. It then copies pidl1 and pidl2 to the new list.

Requirements

Header: afxshellmanager.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CShellManager Class