shell.SHCreateItemWithParent
PyIShellItem = SHCreateItemWithParent(Parent, sfParent
, child
, riid
)
Create a Shell item, given a parent folder and a child item
ID.
Parameters
Parent : PyIDL
Absolute item id list of the parent folder. Pass None if the below shell folder is
used.sfParent : PyIShellFolder
Parent folder object. Can be None if parent id list is specified.child : PyIDL
Relative item id list for an object in the parent folderriid=IID_IShellItem : PyIID
The interface to return, usually IID_IShellItem or IID_IShellItem2
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.