Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Pointer to a device object.
Return value
If the method succeeds, it returns S_OK. If the method fails, it returns an HRESULT error code.
| Return code | Description |
|---|---|
|
The caller is not authorized to use this interface. |
|
The caller does not have the rights required to perform the requested operation. |
|
The message authentication code is not valid. |
|
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | mswmdm.h |
| Library | Mssachlp.lib |