Re: Smart card insert/remove SAS events

From: Jakub Gwozdz (gwozdziu_at_rpg.pl)
Date: 04/27/05


Date: Wed, 27 Apr 2005 15:04:07 +0200

Ivailo Petrov wrote:
> I've implemented a full replacement GINA.
> In a matter to handle SC login I set WLX_OPTION_USE_SMART_CARD option
> and expect Winlogon to send back SC SAS events. But in WinXP SP2 (I have
> no previous versions to test with) domain joined machine I don't receive
> any SC SAS (WLX_SAS_TYPE_INSERT or WLX_SAS_TYPE_REMOVE).
> With the standard MSGINA everything seams to be OK.
> Also to exclude any SC RM issues I wait for SCardAccessStartedEvent to
> make sure it is started.

AFAIR calling WlxGetOption(WLX_OPTION_SMART_CARD_PRESENT) after WlxSetOption(WLX_OPTION_USE_SMART_CARD, 1) may help.
Eric Perlin from MS said something like this:
http://groups.google.pl/groups?selm=uNc%23wOX9BHA.2508%40tkmsftngp05

regards
Jakub Gwóźdź