shell.SHCreateShellItemArrayFromDataObject

PyIShellItemArray = SHCreateShellItemArrayFromDataObject(do, iid )

Creates a shell item array from an IDataObject interface that contains a list of items (eg CF_HDROP)

Parameters

do : PyIDataObject

A data object that can be rendered as a list of items

iid=IID_IShellItemArray : 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.