shell.SHCreateShellItem
PyIShellItem = SHCreateShellItem(pidlParent, sfParent
, Child
)
Creates an IShellItem interface from a PIDL
Parameters
pidlParent : PyIDL
PIDL of parent folder, can be NonesfParent : PyIShellFolder
IShellFolder interface of parent folder, can be NoneChild : PyIDL
PIDL identifying desired item. Must be an absolute PIDL if parent is not specified.Comments
This function is only available on XP and later; a
COM exception with E_NOTIMPL will be thrown if the function can't be located.