Gets the ITEMIDLIST for the folder object.
HRESULT GetCurFolder( LPITEMIDLIST *ppidl );
The address of an ITEMIDLIST pointer. This pointer to an item identifier list (PIDL) represents the absolute location of the folder and must be relative to the desktop. This is typically a copy of the PIDL passed to IPersistFolder2::Initialize.
Returns S_OK if successful, or an error value otherwise.
If the folder object has not been initialized, this method returns S_FALSE and ppidl is set to NULL.