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 WPD_COMMAND_MTP_EXT_WRITE_DATA command sends data to the device after the WPD_COMMAND_MTP_EXT_EXECUTE_COMMAND_WITH_DATA_TO_WRITE command is run.
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 was returned by the previous call to the device. |
| WPD_PROPERTY_MTP_EXT_TRANSFER_NUM_BYTES_TO_WRITE | VT_UI4 | Required. Specifies the number of bytes to write. |
| WPD_PROPERTY_MTP_EXT_TRANSFER_DATA | VT_VECTOR|VT_UI1 | Required. Identifies the buffer into which the device data is copied. |
Return Value
The driver returns the following results.
| Result | VarType | Description |
|---|---|---|
| WPD_PROPERTY_MTP_EXT_TRANSFER_NUM_BYTES_WRITTEN | VT_UI4 | Required. Specifies the number of bytes sent to the device.. |
Calling Methods
Can only be called directly by using IPortableDevice::SendCommand.
Requirements
| Requirement | Value |
|---|---|
| Header |
|