PTP_VENDOR_DATA_OUT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ptpusd.h

typedef struct _PTP_VENDOR_DATA_OUT {
  WORD  ResponseCode;
  DWORD SessionId;
  DWORD TransactionId;
  DWORD Params[PTP_MAX_PARAMS];
  BYTE  VendorReadData[1];
} PTP_VENDOR_DATA_OUT, *PPTP_VENDOR_DATA_OUT;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-ptpusd-_ptp_vendor_data_out)

_PTP_VENDOR_DATA_OUT structure

Description

The PTP_VENDOR_DATA_OUT structure contains information that the device sends to an application, in response to a command the application issued to the device.

Members

ResponseCode

Specifies the response code. For more information, see ISO 15740:2013 Photography − Electronic still picture imaging − Picture Transfer Protocol (PTP) for Digital Still Photography Devices.

SessionId

Specifies the session ID. This member is not currently used by the PTP driver and should be set to 0.

TransactionId

Specifies the transaction ID. This member is not currently used by the PTP driver and should be set to 0.

Params

Is an array consisting of PTP_MAX_PARAMS (defined in Ptpusd.h) elements, representing the parameters of the response.

VendorReadData

Is an array containing an (optional) first byte to read from the device.

Remarks

See Vendor-Extended Commands for more information and example code that uses this structure.

For more information about the opcodes used in the OpCode member, see ISO 15740:2013 Photography − Electronic still picture imaging − Picture Transfer Protocol (PTP) for Digital Still Photography Devices.

See also

PTP_VENDOR_DATA_IN