[Pcsclite-cvs-commit] r2348 - trunk/PCSC/src/PCSC

Ludovic Rousseau rousseau at alioth.debian.org
Sat Jan 20 16:12:19 CET 2007


Author: rousseau
Date: 2007-01-20 16:12:19 +0100 (Sat, 20 Jan 2007)
New Revision: 2348

Modified:
   trunk/PCSC/src/PCSC/ifdhandler.h
   trunk/PCSC/src/PCSC/wintypes.h
Log:
move RESPONSECODE definition from wintypes.h to ifdhandler.h since it
should only be used as return type of IFDHandler functions


Modified: trunk/PCSC/src/PCSC/ifdhandler.h
===================================================================
--- trunk/PCSC/src/PCSC/ifdhandler.h	2007-01-20 15:04:31 UTC (rev 2347)
+++ trunk/PCSC/src/PCSC/ifdhandler.h	2007-01-20 15:12:19 UTC (rev 2348)
@@ -142,6 +142,8 @@
 #define IFD_ICC_NOT_PRESENT		616
 #define IFD_NO_SUCH_DEVICE		617
 
+	typedef long RESPONSECODE;
+
 	/*
 	 * If you want to compile a V2.0 IFDHandler, define IFDHANDLERv2 before you
 	 * include this file.

Modified: trunk/PCSC/src/PCSC/wintypes.h
===================================================================
--- trunk/PCSC/src/PCSC/wintypes.h	2007-01-20 15:04:31 UTC (rev 2347)
+++ trunk/PCSC/src/PCSC/wintypes.h	2007-01-20 15:12:19 UTC (rev 2348)
@@ -41,7 +41,6 @@
 	typedef unsigned long *PDWORD;
 	typedef unsigned short WORD;
 	typedef long LONG;
-	typedef long RESPONSECODE;
 	typedef const char *LPCSTR;
 	typedef const BYTE *LPCBYTE;
 	typedef BYTE *LPBYTE;




More information about the Pcsclite-cvs-commit mailing list