PyGFileOperationProgressSink.PreCopyItem

PreCopyItem(Flags, Item, DestinationFolder, NewName)

Called before each copy operation

Parameters

Flags : int

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

Item : PyIShellItem

The item to be copied

DestinationFolder : PyIShellItem

Folder into which it will be copied

NewName : str

Name to be given to the copy, will be None if keeping original name