IFileOperationProgressSinkPostMoveItem Method

Performs caller-implemented actions after the move process for each item is complete.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
void PostMoveItem(
	TransferSourceFlags flags,
	IShellItem item,
	IShellItem destFolder,
	string newName,
	HResult result,
	IShellItem newlyCreated
)

Parameters

flags  TransferSourceFlags
bitwise value that contains flags that were used during the move operation.

Some values can be set or changed during the move operation.

item  IShellItem
Pointer to an IShellItem that specifies the source item.
destFolder  IShellItem
Pointer to an IShellItem that specifies the destination folder that contains the moved item.
newName  String
Pointer to the name that was given to the item after it was moved. This is a null-terminated Unicode string.

Note that this might not be the name that you asked for, given collisions and other naming rules.

result  HResult
The return value of the move operation.

Note that this is not the HResult returned by MoveItem(IShellItem, IShellItem, String, IFileOperationProgressSink), which simply queues the move operation. Instead, this is the result of the actual move.

newlyCreated  IShellItem
Pointer to an IShellItem that represents the moved item in its new location.

See Also