IFileOperationCopyItems Method

Declares a set of items that are to be copied to a specified destination.

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.
HResult CopyItems(
	Object punkItems,
	IShellItem psiDestinationFolder
)

Parameters

punkItems  Object
Pointer to the IUnknown of the IShellItemArray, IDataObject, or IEnumShellItems object which represents the group of items to be copied.

You can also point to an IPersistIDList object to represent a single item, effectively accomplishing the same function as CopyItem(IShellItem, IShellItem, String, IFileOperationProgressSink).

psiDestinationFolder  IShellItem
Pointer to an IShellItem that specifies the destination folder to contain the copy of the items.

Return Value

HResult
If this method succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

See Also