[Pcsclite-cvs-commit] r5134 - in /trunk/PCSC/src/PCSC: pcsclite.h.in winscard.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sun Aug 15 14:48:24 UTC 2010


Author: rousseau
Date: Sun Aug 15 14:48:18 2010
New Revision: 5134

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5134
Log:
Define LPSCARD_READERSTATE since this is used in the MSDN prototype.

Use LPSCARD_READERSTATE in winscard.h instead of (SCARD_READERSTATE *)
to mimic the MSDN API.

This partly reverts changeset 5096

Modified:
    trunk/PCSC/src/PCSC/pcsclite.h.in
    trunk/PCSC/src/PCSC/winscard.h

Modified: trunk/PCSC/src/PCSC/pcsclite.h.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/pcsclite.h.in?rev=5134&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/pcsclite.h.in (original)
+++ trunk/PCSC/src/PCSC/pcsclite.h.in Sun Aug 15 14:48:18 2010
@@ -46,7 +46,7 @@
 	unsigned long cbAtr;
 	unsigned char rgbAtr[MAX_ATR_SIZE];
 }
-SCARD_READERSTATE;
+SCARD_READERSTATE, *LPSCARD_READERSTATE;
 
 /** Protocol Control Information (PCI) */
 typedef struct

Modified: trunk/PCSC/src/PCSC/winscard.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/PCSC/winscard.h?rev=5134&op=diff
==============================================================================
--- trunk/PCSC/src/PCSC/winscard.h (original)
+++ trunk/PCSC/src/PCSC/winscard.h Sun Aug 15 14:48:18 2010
@@ -67,7 +67,7 @@
 
 	PCSC_API LONG SCardGetStatusChange(SCARDCONTEXT hContext,
 		DWORD dwTimeout,
-		SCARD_READERSTATE *rgReaderStates, DWORD cReaders);
+		LPSCARD_READERSTATE rgReaderStates, DWORD cReaders);
 
 	PCSC_API LONG SCardControl(SCARDHANDLE hCard, DWORD dwControlCode,
 		LPCVOID pbSendBuffer, DWORD cbSendLength,




More information about the Pcsclite-cvs-commit mailing list