Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Eric Perlin (ericperl_at_WINDOWS.MICROSOFT.COM)
Date: Mon Oct 07 2002 - 19:02:40 CDT
Quoting myself from an earlier reply:
"Winlogon doesn't generate these messages on unjoined machines since
PKINIT SC logon is not supported in this case."
That doesn't mean that msgina doesn't monitor for the events. In fact it
doesn't need to do this check because the events are not generated.
You can't do what you describe below in a single thread.
You need to do your SC monitoring fram a separate thread.
Eric Perlin [MS]
From: John Escobar [mailto:escojohnHOTMAIL.COM]
Sent: Monday, October 07, 2002 4:23 PM
Subject: Re: WlxDisplaySasNotice
It was my understanding that msgina in XP does not monitor for smart
events unless you are joined to a domain. This is not my case.
When mygina!WlxDisplaySASNotice calls msgina!WlxDisplaySASNotice,
how can I get msgina!WlxDisplaySASNotice to return when card insertion
caught? I understand that when I hit CAD, msgina!WlxDisplaySASNotice
returns and that all the following code is executed. Is there a way to
make it return when I catch card insertion?
catch card insertion with a call to scardgetstatuschange...
return to mygina!WlxDisplaySASNotice if card inserted(How?)...
execute all following code...
On Mon, 7 Oct 2002 15:55:16 -0700, Eric Perlin
>Msgina always monitors SAS events. They are not generated in a timely
>fashion in your scenario.
>Winlogon calls yourgina!WlxDisplaySASNotice
>That in turns calls msgina!WlxDisplaySASNotice.
>There is no reason for this call to return until a SAS event is
>Your call to WlxSasNotify isn't executed until
>Call it a chicken and egg problem if you want.
>That's also the reason why it behaves properly when your press CAD:
>msgina!WlxDisplaySASNotice finally returns and your call to
>From there on it behaves as you expect it.
>Eric Perlin [MS]
>From: John Escobar [mailto:escojohnHOTMAIL.COM]
>Sent: Monday, October 07, 2002 3:02 PM
>Subject: Re: WlxDisplaySasNotice
>If XP's msgina does not monitor for smart card events, how can I make
>code execute after msgina returns?