PyGFileOperationProgressSink.PostNewItem

PostNewItem(Flags, DestinationFolder, NewName, TemplateName, FileAttributes, hrNew, NewItem)

Called after each new file is created

Parameters

Flags : int

Flags specifying creation behaviour, combination of shellcon.TSF_* flags

DestinationFolder : PyIShellItem

Folder in which item was created

NewName : str

Name of created item, may be mangled if file name conflicts occurred

TemplateName : str

Template file used to initialize new item

FileAttributes : int

File attributes of new item

hrNew : int

HRESULT of the create operation

NewItem : PyIShellItem

Shell interface of created item