_TRANSFER_SOURCE_FLAGS enumeration

Used by methods of the ITransferSource and ITransferDestination interfaces to control their file operations.

Syntax

typedef enum _TRANSFER_SOURCE_FLAGS {
  TSF_NORMAL,
  TSF_FAIL_EXIST,
  TSF_RENAME_EXIST,
  TSF_OVERWRITE_EXIST,
  TSF_ALLOW_DECRYPTION,
  TSF_NO_SECURITY,
  TSF_COPY_CREATION_TIME,
  TSF_COPY_WRITE_TIME,
  TSF_USE_FULL_ACCESS,
  TSF_DELETE_RECYCLE_IF_POSSIBLE,
  TSF_COPY_HARD_LINK,
  TSF_COPY_LOCALIZED_NAME,
  TSF_MOVE_AS_COPY_DELETE,
  TSF_SUSPEND_SHELLEVENTS
} ;

Constants

TSF_NORMAL Fail if the destination already exists, unless TSF_OVERWRITE_EXIST is specified. This is a default behavior.
TSF_FAIL_EXIST Fail if the destination already exists, unless TSF_OVERWRITE_EXIST is specified. This is a default behavior.
TSF_RENAME_EXIST Rename with auto-name generation if the destination already exists.
TSF_OVERWRITE_EXIST Overwrite or merge with the destination.
TSF_ALLOW_DECRYPTION Allow creation of a decrypted destination.
TSF_NO_SECURITY No discretionary access control list (DACL), system access control list (SACL), or owner.
TSF_COPY_CREATION_TIME Copy the creation time as part of the copy. This can be useful for a move operation that is being used as a copy and delete operation (TSF_MOVE_AS_COPY_DELETE).
TSF_COPY_WRITE_TIME Copy the last write time as part of the copy.
TSF_USE_FULL_ACCESS Assign write, read, and delete permissions as share mode.
TSF_DELETE_RECYCLE_IF_POSSIBLE Recycle on file delete, if possible.
TSF_COPY_HARD_LINK Hard link to the desired source (not required). This avoids a normal copy operation.
TSF_COPY_LOCALIZED_NAME Copy the localized name.
TSF_MOVE_AS_COPY_DELETE Move as a copy and delete operation.
TSF_SUSPEND_SHELLEVENTS Suspend Shell events.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)

See also

ITransferDestination::CreateItem

ITransferSource::LinkItem

ITransferSource::MoveItem

ITransferSource::OpenItem

ITransferSource::RecycleItem

ITransferSource::RemoveItem

ITransferSource::RenameItem