PyIShellItem = SHCreateItemFromRelativeName(Parent, Name , ctx , riid )

Creates and initializes a Shell item object from a relative parsing name.


Parent : PyIShellItem

Shell item interface on the parent folder

Name : str

Relative name of an item within the parent folder

ctx : PyIBindCtx

Bind context for parsing, can be None

riid : PyIID

The interface to return, IID_IShellItem or IID_IShellItem2


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.