|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
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]
-----Original Message-----
From: John Escobar [mailto:escojohn
HOTMAIL.COM]
Sent: Monday, October 07, 2002 4:23 PM
To: SmartCardSDK
DISCUSS.MICROSOFT.COM
Subject: Re: WlxDisplaySasNotice
It was my understanding that msgina in XP does not monitor for smart
card
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
is
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...
call msgina!WlxDisplaySASNotice...
return to mygina!WlxDisplaySASNotice if card inserted(How?)...
execute all following code...
On Mon, 7 Oct 2002 15:55:16 -0700, Eric Perlin
<ericperl
WINDOWS.MICROSOFT.COM> wrote:
>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
>generated.
>Your call to WlxSasNotify isn't executed until
>msgina!WlxDisplaySASNotice returns.
>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
WlxSasNotify
>is executed.
>From there on it behaves as you expect it.
>
>Eric Perlin [MS]
>
>-----Original Message-----
>From: John Escobar [mailto:escojohn
HOTMAIL.COM]
>Sent: Monday, October 07, 2002 3:02 PM
>To: SmartCardSDK
DISCUSS.MICROSOFT.COM
>Subject: Re: WlxDisplaySasNotice
>
>
>If XP's msgina does not monitor for smart card events, how can I make
>the
>code execute after msgina returns?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]