ITransferSource interface

Exposes methods to manipulate IShellItem, including copy, move, recycle, and others. This interface is offered to provide more control over file operations by providing an ITransferSource::Advise method.

Members

The ITransferSource interface inherits from the IUnknown interface. ITransferSource also has these types of members:

Methods

The ITransferSource interface has these methods.

MethodDescription
Advise

Sets up an advisory connection for notifications on the status of file operations.

ApplyPropertiesToItem

Apply a set of property changes to an item.

EnterFolder

Notifies that a folder is the destination of a file operation.

GetDefaultDestinationName

Gets the default name for a Shell item.

LeaveFolder

Sends notification that a folder is no longer the destination of a file operation.

LinkItem

Not implemented.

MoveItem

Moves the item within the volume/namespace, returning the IShellItem in its new location.

OpenItem

Opens the item for copying. Returns an object that can be enumerated for resources (IShellItemResources).

RecycleItem

Recycle the item into the provided recycle location and return the item in its new location.

RemoveItem

Removes the item without moving the item to the Recycle Bin.

RenameItem

Changes the name of an item, returning the IShellItem with the new name.

SetProperties

Sets properties that should be applied to an item.

Unadvise

Terminates an advisory connection.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: