IFileOperationProgressSinkPostRenameItem Method

Performs caller-implemented actions after the rename 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 PostRenameItem(
	TransferSourceFlags flags,
	IShellItem item,
	string newName,
	HResult result,
	IShellItem newlyCreated
)

Parameters

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

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

item  IShellItem
Pointer to an IShellItem that specifies the item before it was renamed.
newName  String
Pointer to the new display name of the item. 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 rename operation.

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

newlyCreated  IShellItem
Pointer to an IShellItem that represents the item with its new name.

See Also