BCGControlBar Pro for MFC
HBITMAP CBCGPShellManager::GetItemThumbnail ( LPITEMIDLIST  pidl,
CSize  sizeBitmap 
)

Obtains thumbnail associated with the given shell item.

Parameters
pidlA pointer to the valid shell item.
sizeBitmapThe result image size.
Returns
HBITMAP object which contains an item's thumbnail or NULL if there is no thumbnail associated with this item.

Call this method to obtains thumbnail associated with the given shell item. The returned bitmap object should be destroyed by the method caller.