2.2.3.11 Transmit_Return

The Transmit_Return structure defines return information from a smart card after a Transmit call (for more information, see section 3.1.4.35).

 typedef struct _Transmit_Return {
   long ReturnCode;
   [unique] SCardIO_Request *pioRecvPci;
   [range(0, 66560)] unsigned long cbRecvLength;
   [unique] [size_is(cbRecvLength)] byte *pbRecvBuffer;
 } Transmit_Return;

ReturnCode: HRESULT or Win32 Error code. Zero indicates success; any other value indicates failure.

pioRecvPci: The protocol header structure for the instruction, followed by a buffer in which to receive any returned protocol control information (PCI) that is specific to the protocol in use. If this field is NULL, a protocol header MUST NOT be returned.

cbRecvLength: The size, in bytes, of the pbRecvBuffer field.

pbRecvBuffer: The data returned from the card.