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

Ludovic Rousseau rousseau at costa.debian.org
Thu May 25 21:31:24 UTC 2006


Author: rousseau
Date: 2006-05-25 21:31:23 +0000 (Thu, 25 May 2006)
New Revision: 2059

Modified:
   trunk/PCSC/src/winscard_msg.h
Log:
add SCARD_TRANSMIT_EXTENDED in pcsc_msg_commands and
transmit_struct_extended structure


Modified: trunk/PCSC/src/winscard_msg.h
===================================================================
--- trunk/PCSC/src/winscard_msg.h	2006-05-25 21:30:31 UTC (rev 2058)
+++ trunk/PCSC/src/winscard_msg.h	2006-05-25 21:31:23 UTC (rev 2059)
@@ -87,7 +87,8 @@
 		SCARD_CANCEL = 0x0D,
 		SCARD_CANCEL_TRANSACTION = 0x0E,
 		SCARD_GET_ATTRIB = 0x0F,
-		SCARD_SET_ATTRIB = 0x10
+		SCARD_SET_ATTRIB = 0x10,
+		SCARD_TRANSMIT_EXTENDED = 0x11
 	};
 
 	/**
@@ -252,6 +253,24 @@
 	typedef struct transmit_struct transmit_struct;
 
 	/**
+	 * @brief contained in \c SCARD_TRANSMIT_EXTENDED Messages.
+	 *
+	 * These data are passed throw the field \c sharedSegmentMsg.data.
+	 */
+	struct transmit_struct_extended
+	{
+		SCARDHANDLE hCard;
+		SCARD_IO_REQUEST pioSendPci;
+		DWORD cbSendLength;
+		SCARD_IO_REQUEST pioRecvPci;
+		DWORD pcbRecvLength;
+		LONG rv;
+		size_t size;
+		BYTE data[0];
+	};
+	typedef struct transmit_struct_extended transmit_struct_extended;
+
+	/**
 	 * @brief contained in \c SCARD_CONTROL Messages.
 	 *
 	 * These data are passed throw the field \c sharedSegmentMsg.data.




More information about the Pcsclite-cvs-commit mailing list