PyITransferSource.MoveItem

(int, PyIShellItem = MoveItem(Item, ParentDst , NameDst , flags )

Moves a shell item into another folder

Parameters

Item : PyIShellItem

Item to be moved

ParentDst : PyIShellItem

The folder into which it will be moved

NameDst : unicode

New name for item after move, None to keep same name

flags : int

Combination of shellcon.TSF_* flags

Return Value

Returns the HRESULT from the operation and the new shell item, which may be None when the code in one of the informational COPYENGINE_S_* values. See MSDN for descriptions of expected actions for specific error codes.