PyITransferDestination.CreateItem

(int, interface, interface) = CreateItem(Name, Attributes , Size , Flags , riidItem , riidResources )

Requests that a new item be created

Parameters

Name : str

Filename to be created

Attributes : int

File attributes

Size : int

Size of file

Flags : int

Combination of shellcon.TSF_* flags

riidItem=IID_IShellItem : PyIID

Item interface to return

riidResources=IID_IShellItemResources : PyIID

Resource interface to return

Return Value

Returns the HRESULT and requested interfaces. Interfaces may be None if function returns one of the informational codes (shellcon.COPYENGINE_S_*)