Передача информации на карту.
BOOL  Send(LPBYTE lpBuffer, DWORD dwBufferSize, WORD &wStatus)
{
BOOL				bRet = TRUE;
DWORD				dwStatusSize	= sizeof(WORD);
WORD				wSendStatus;
LONG				lRes;
LPCSCARD_IO_REQUEST		lpIORequest;
if( m_dwReaderProtocol == SCARD_PROTOCOL_T0 )
lpIORequest = SCARD_PCI_T0;
else
lpIORequest = SCARD_PCI_T1;
lRes = SCardTransmit( m_hCardHandle,lpIORequest,(const unsigned char*)lpBuffer,dwBufferSize,NULL,(LPBYTE)&wSendStatus,&dwStatusSize );
if( lRes == SCARD_S_SUCCESS )
wStatus = wSendStatus;
else
bRet = FALSE;
return bRet;
}