Group: Authentication - Library: winscard
Note that this document contains some links to the old news2news website which does not work at the moment. This material will be available sometime in the future.
LONG SCardTransmit(
__in SCARDHANDLE hCard,
__in LPCSCARD_IO_REQUEST pioSendPci,
__in LPCBYTE pbSendBuffer,
__in DWORD cbSendLength,
__inout LPSCARD_IO_REQUEST pioRecvPci,
__out LPBYTE pbRecvBuffer,
__inout LPDWORD pcbRecvLength
);
DECLARE LONG SCardTransmit IN Winscard;
INTEGER hCard,;
STRING pioSendPci,;
STRING pbSendBuffer,;
LONG cbSendLength,;
INTEGER pioRecvPci,;
STRING @pbRecvBuffer,;
LONG @pcbRecvLength
hCard [in] A reference value returned from the SCardConnect function.
pioSendPci [in] A pointer to the protocol header structure for the instruction.
pbSendBuffer [in] A pointer to the actual data to be written to the card.
cbSendLength [in] The length, in bytes, of the pbSendBuffer parameter.
pioRecvPci [in, out] Pointer to the protocol header structure for the instruction, followed by a buffer in which to receive any returned protocol control information (PCI) specific to the protocol in use. This parameter can be NULL if no PCI is returned.
pbRecvBuffer [out] Pointer to any data returned from the card.
pcbRecvLength [in, out] Supplies the length, in bytes, of the pbRecvBuffer parameter and receives the actual number of bytes received from the smart card.
Returns SCARD_S_SUCCESS (0) or error code.
Purchase complete VFP solution.
The SCardTransmit function is a smart card and reader access function.
See also: SCardConnect.