BCGControlBar Pro for MFC
UINT CBCGPShellManager::GetItemSize ( LPCITEMIDLIST  pidl)

Returns the PIDL size

Returns
A size of item list.

Call this function to determine the size of the specified item list.

Parameters
pidlA pointer to item list whose size is retrieved.