ISCPSecureExchange3::TransferCompleteForDevice (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The TransferCompleteForDevice method is called by Windows Media Device Manager to signal the end of a data transfer for a specific device.

Syntax

HRESULT TransferCompleteForDevice(
  IMDSPDevice*  pDevice
);

Parameters

pDevice

[in]  Pointer to a device object.

Return Values

If the method succeeds, it returns S_OK. If the method fails, it returns an HRESULT error code.

Return code Description
WMDM_E_NOT_CERTIFIED The caller is not authorized to use this interface.
WMDM_E_NORIGHTS The caller does not have the rights required to perform the requested operation.
WMDM_E_MAC_CHECK_FAILED The message authentication code is not valid.
E_FAIL An unspecified error occurred.

Remarks

This method is identical to ISCPSecureExchange::TransferComplete except that this method is called when transfer is completed within a transfer session.

In that case, the secure content provider needs to know which device the transfer was completed for, so this method accepts a pDevice parameter.

Requirements

Header: Defined in WMSCP.idl.

Library: mssachlp.lib

See Also