shell.SHCreateShellItem

PyIShellItem = SHCreateShellItem(pidlParent, sfParent , Child )

Creates an IShellItem interface from a PIDL

Parameters

pidlParent : PyIDL

PIDL of parent folder, can be None

sfParent : PyIShellFolder

IShellFolder interface of parent folder, can be None

Child : 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.