ITransferAdviseSink::ConfirmEncryptionLoss method (shobjidl_core.h)

Displays a message to the user confirming that loss of encryption is acceptable for this operation.

Syntax

HRESULT ConfirmEncryptionLoss(
  IShellItem *psiSource
);

Parameters

psiSource

Type: IShellItem*

A pointer to an IShellItem of the file in which encryption information will be lost.

Return value

Type: HRESULT

Returns one of the following specific Shell codes, or a system error code.

Return code Description
COPYENGINE_S_YES
User responded "Yes" to the dialog. Copy continues without encryption.
COPYENGINE_S_USER_IGNORED
User responded "No" to the dialog.
COPYENGINE_S_PENDING
Error has been queued and will display later. Operation on this file will be skipped.

Requirements

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