IFileOperationProgressSinkPostCopyItem Method
Performs caller-implemented actions after the copy process for each item is complete.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Sub PostCopyItem (
flags As TransferSourceFlags,
item As IShellItem,
destFolder As IShellItem,
newName As String,
result As HResult,
newlyCreated As IShellItem
)
Dim instance As IFileOperationProgressSink
Dim flags As TransferSourceFlags
Dim item As IShellItem
Dim destFolder As IShellItem
Dim newName As String
Dim result As HResult
Dim newlyCreated As IShellItem
instance.PostCopyItem(flags, item, destFolder,
newName, result, newlyCreated)
No code example is currently available or this language may not be supported.
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.