Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Smart Card Reader Driver - update Card State

Reply
Thread Tools Display Modes

Smart Card Reader Driver - update Card State

 
 
Olga
Guest
Posts: n/a

 
      11-19-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 ?

 
Reply With Quote
 
 
 
 
Walter Oney
Guest
Posts: n/a

 
      11-19-2003
Olga wrote:
> How can I "tell" the Smart Card Library to update the card
> state too ?


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
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smart Card Reader? Huib Windows Vista General Discussion 0 05-14-2008 07:11 PM
smart card reader? Huib Windows Vista Hardware 0 05-14-2008 04:57 PM
Smart Card Reader Huib Windows Vista General Discussion 0 05-13-2008 10:06 AM
VPN & Smart Card reader problem Aleksandar Windows Vista General Discussion 0 03-07-2007 11:21 AM
a question about usb driver of PCSC Smart card reader under 98 and me william Windows Vista Drivers 0 09-12-2003 03:25 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59