shell.SHCreateItemFromIDList

PyIShellItem = SHCreateItemFromIDList(pidl, riid )

Creates and initializes a Shell item object from a PIDL. Can also create PyIShellItem2 objects.

Parameters

pidl : PyIDL

An absolute item identifier list

riid=IID_IShellItem : PyIID

The interface to create

Comments

This function is only available on Vista and later; a COM exception with E_NOTIMPL will be thrown if the function can't be located.