Recently, I am writing a GINA for Smart Card logon.But I have a problem.
First, I installed PC/SC driver and invoked a function in WlxInitialize
like this
WlxSetOption(g_hWlx, WLX_OPTION_USE_SMART_CARD, 1, NULL);When I remove the
smart card,winlogon looks as if it can not receive the WLX_SAS_TYPE_SC_REMOVE
event.I do not known why. I think windows should send this message to
winlogon.At last, I create a thread and try to get the message
WM_DEVICECHANGE. If it occurs, I will invoke the funtion WlxSasNotify.So I
can receive the WLX_SAS_TYPE_SC_REMOVE event.But there is another problem.My
computer may stop at the winlogon desktop and the default desktop may be
hidden.
Who can give me some solution or suggestion ? And my os is windows xp sp2
Thanks very much.
.
Re: GINA for Smart Card logon ... you do know the GINA is gone in Windows Vista/Server 2008, ... I installed PC/SC driver and invoked a function in WlxInitialize... I will invoke the funtion WlxSasNotify.So I ... computer may stop at the winlogon desktop and the default desktop may be ... (microsoft.public.windowsxp.security_admin)
Re: CoBOL moved to OO ... of a list of file names' by using the Windows GUI and the keyboard alone ... > Alternatively write the collection elements to your text file with a Callback (see ... > invoke FileNames2 "new" returning os-Filenames ... (comp.lang.cobol)
Re: Advanced Windows Form message priority / threading. ...updates if necessary. ... sending hundreds of Invoke or BeginInvoke messages ... > When my form loads I start two worker threads and these threads just loop> around and call Invoke on my main Form with a string to display. ... > I'm thinking that Inovke is basically like SendMessage so maybe somehow i> can replace the windows message loop to do the following, ... (microsoft.public.dotnet.languages.csharp)
RE: Advanced Windows Form message priority / threading. ... If i want my Invoke calls in my message queue I prob have to use events? ... > I've a main GUI thead, this GUI thread has an UpdateTextBox ... > can replace the windows message loop to do the following, ... > I realise the two worker threads calling Invoke is pretty much the same as ... (microsoft.public.dotnet.languages.csharp)
Advanced Windows Form message priority / threading. ... I've a main GUI thead, this GUI thread has an UpdateTextBox ... stops my worker threadform calling Invoke on main thead. ... Now if my worker threads are slow sending i.e. ... can replace the windows message loop to do the following, ... (microsoft.public.dotnet.languages.csharp)