IFileOperationProgressSinkPostCopyItem Method

Performs caller-implemented actions after the copy 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 PostCopyItem(
	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 copy operation.

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

item  IShellItem
Pointer to an IShellItem that specifies the source item.
destFolder  IShellItem
Pointer to an IShellItem that specifies the destination folder to which the item was copied.
newName  String
Pointer to the new name that was given to the item after it was copied. 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 copy operation.

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

newlyCreated  IShellItem
Pointer to an IShellItem that represents the new copy of the item.

See Also