WPD_COMMAND_MTP_EXT_EXECUTE_COMMAND_WITHOUT_DATA_PHASE Command

The WPD_COMMAND_MTP_EXT_EXECUTE_COMMAND_WITHOUT_DATA_PHASE command sends an MTP command block. There is no subsequent data phase associated with this command.

Command category

WPD_CATEGORY_MTP_EXT_VENDOR_OPERATIONS

Parameters

The driver expects the following parameters.

Parameter VarType Description
WPD_PROPERTY_MTP_EXT_OPERATION_CODE VT_UI4 Required. Identifies a vendor-extended MTP operation code.
WPD_PROPERTY_MTP_EXT_OPERATION_PARAMS VT_UI4 Required. An IPortableDevicePropVariantCollection,which identifies the required parameters for the vendor operation code.

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 that identifies any response parameters. This collection might be empty.

Calling Methods

Can only be called directly by using IPortableDevice::SendCommand.

Requirements

Requirement Value
Header
WpdMtpExtensions.h

See also

Supporting MTP Extensions