WPD_COMMAND_MTP_EXT_END_DATA_TRANSFER Command
The WPD_COMMAND_MTP_EXT_END_DATA_TRANSFER command completes a data transfer and read response from the device. The transfer is initiated by either the WPD_COMMAND_MTP_EXT_EXECUTE_COMMAND_WITH_DATA_TO_READ command or the WPD_COMMAND_MTP_EXT_EXECUTE_COMMAND_WITH_DATA_TO_WRITE command.
Command category
WPD_CATEGORY_MTP_EXT_VENDOR_OPERATIONS
Parameters
The driver expects the following parameters.
Parameter | VarType | Description |
---|---|---|
WPD_PROPERTY_MTP_EXT_TRANSFER_CONTEXT | VT_LPWSTR | Required. Identifies the context that is returned by an earlier method call. |
Return Value
The driver returns the following results.
Result | VarType | Description |
---|---|---|
WPD_PROPERTY_MTP_EXT_RESPONSE_CODE | VT_UI4 | Required.The response code to the vendor operation code. |
WPD_PROPERTY_MTP_EXT_RESPONSE_PARAMS | VT_UI4 | Optional. An IPortableDevicePropVariantCollection collection that identifies any response parameters. This collection can be empty. |
Calling Methods
Can only be called directly by using IPortableDevice::SendCommand.
Requirements
Requirement | Value |
---|---|
Header |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for