[Pcsclite-cvs-commit] r3051 - /trunk/PCSC/src/winscard_clnt.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Fri Jul 4 13:55:56 UTC 2008
Author: rousseau
Date: Fri Jul 4 13:55:56 2008
New Revision: 3051
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=3051
Log:
SCardGetStatusChange(): if a reader disappear also set
SCARD_STATE_UNAVAILABLE in dwEventState (more conform to Windows XP)
Modified:
trunk/PCSC/src/winscard_clnt.c
Modified: trunk/PCSC/src/winscard_clnt.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/winscard_clnt.c?rev=3051&op=diff
==============================================================================
--- trunk/PCSC/src/winscard_clnt.c (original)
+++ trunk/PCSC/src/winscard_clnt.c Fri Jul 4 13:55:56 2008
@@ -1908,7 +1908,7 @@
}
else
{
- currReader->dwEventState = SCARD_STATE_UNKNOWN;
+ currReader->dwEventState = SCARD_STATE_UNKNOWN | SCARD_STATE_UNAVAILABLE;
if (!(currReader->dwCurrentState & SCARD_STATE_UNKNOWN))
{
currReader->dwEventState |= SCARD_STATE_CHANGED;
More information about the Pcsclite-cvs-commit
mailing list