Tech Support > Microsoft Windows > Drivers > Smart Card Reader Driver - update Card State
Smart Card Reader Driver - update Card State
Posted by Olga on November 19th, 2003


Hello,
I am developing the smart card reader driver for a
contactless reader. I don't have the CTS signal tells if
the card is inserted or removed. Because of it I must use
my own tracking thread. In the tracking thread I change
(update) current card state: (for example)

// Card is inserted
SmartcardExtension->ReaderCapabilities.CurrentState =
SCARD_SWALLOWED;

How can I "tell" the Smart Card Library to update the card
state too ?

Posted by Walter Oney on November 19th, 2003


Olga wrote:
Change the state variable, just as you're doing. You will also need to
check whether a tracking IRP of the appropriate kind is pending and, if
so, complete it.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com


Similar Posts