[Pcsclite-cvs-commit] r5097 - in /trunk/PCSC/src: PCSC/winscard.h winscard.c winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Mon Aug 2 14:42:37 UTC 2010
Author: rousseau
Date: Mon Aug 2 14:42:35 2010
New Revision: 5097
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5097
Log:
Use "SCARD_IO_REQUEST *" instead of LPSCARD_IO_REQUEST
and "const SCARD_IO_REQUEST *" instead of "LPCSCARD_IO_REQUEST
Should make the code more easy to read
Modified:
trunk/PCSC/src/PCSC/winscard.h
trunk/PCSC/src/winscard.c
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/PCSC/winscard.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/winscard.h?rev=5097&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/winscard.h (original)
+++ trunk/PCSC/src/PCSC/winscard.h Mon Aug 2 14:42:35 2010
@@ -75,9 +75,9 @@
LPDWORD lpBytesReturned);
PCSC_API LONG SCardTransmit(SCARDHANDLE hCard,
- LPCSCARD_IO_REQUEST pioSendPci,
+ const SCARD_IO_REQUEST *pioSendPci,
LPCBYTE pbSendBuffer, DWORD cbSendLength,
- /*@out@*/ LPSCARD_IO_REQUEST pioRecvPci,
+ /*@out@*/ SCARD_IO_REQUEST *pioRecvPci,
/*@out@*/ LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength);
PCSC_API LONG SCardListReaderGroups(SCARDCONTEXT hContext,
Modified: trunk/PCSC/src/winscard.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard.c?rev=5097&op=diff
==============================================================================
--- trunk/PCSC/src/winscard.c (original)
+++ trunk/PCSC/src/winscard.c Mon Aug 2 14:42:35 2010
@@ -1531,9 +1531,9 @@
return SCARD_E_NOT_TRANSACTED;
}
-LONG SCardTransmit(SCARDHANDLE hCard, LPCSCARD_IO_REQUEST pioSendPci,
+LONG SCardTransmit(SCARDHANDLE hCard, const SCARD_IO_REQUEST *pioSendPci,
LPCBYTE pbSendBuffer, DWORD cbSendLength,
- LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer,
+ SCARD_IO_REQUEST *pioRecvPci, LPBYTE pbRecvBuffer,
LPDWORD pcbRecvLength)
{
LONG rv;
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=5097&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Mon Aug 2 14:42:35 2010
@@ -2830,9 +2830,9 @@
* &pioRecvPci, pbRecvBuffer, &dwRecvLength);
* @endcode
*/
-LONG SCardTransmit(SCARDHANDLE hCard, LPCSCARD_IO_REQUEST pioSendPci,
+LONG SCardTransmit(SCARDHANDLE hCard, const SCARD_IO_REQUEST *pioSendPci,
LPCBYTE pbSendBuffer, DWORD cbSendLength,
- LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer,
+ SCARD_IO_REQUEST *pioRecvPci, LPBYTE pbRecvBuffer,
LPDWORD pcbRecvLength)
{
LONG rv;
More information about the Pcsclite-cvs-commit
mailing list