BCGControlBar Pro for MFC
HRESULT CBCGPShellManager::ItemFromPath ( LPCTSTR  lpszPath,
LPITEMIDLIST &  pidl 
)

Returns PIDL from path

Returns
Returns NOERROR if successful, or an OLE-defined error value otherwise.
Parameters
lpszPathSpecifies the path.
pidlA reference to PIDL.