BCGControlBar Pro for MFC
BOOL CBCGPShellManager::IsItemsEqual ( LPCITEMIDLIST  pidl1,
LPCITEMIDLIST  pidl2 
)

Tests whether two ITEMIDLIST structures are equal in a binary comparison.

Parameters
pidl1The first ITEMIDLIST structure
pidl2The second ITEMIDLIST structure
Returns
Returns TRUE if the two structures are equal, FALSE otherwise.