The following output is displayed in the kernel debugger:
"SCardSvr!CServiceThread::DoGetStatusChange *WARNING* Get Status Change
TID=0x388 received unexpected exception: Cannot find a smart card reader."
And it also writes to the event log: "Get Status Change TID=0x388 received
unexpected exception: Cannot find a smart card reader. For more information,
see Help and Support Center at http://go.microsoft.com/fwlink/events.asp."
The messages are generated at a rate of approx. once every 3 seconds.
I have searched the DDK and the sample files but have no really good idea
where the problem is... Examining the debug output reveals that the SCardSvr
is informed about the driver being unloaded, the message is:
"SCardSvr!MonitorReader *WARNING* Reader return code takes reader
'\\?\SERENUM#CMX237D#5&18782ae7&0&0000#{50dd5230-ba8a-11d1-bf5d-0000f805f530
}' offline: The operation completed successfully." But, obviously, this is
not enough.
Please, if someone knows how to fix this problem (i.e. which functions to
call from the driver when it is about to unload) plz. mail me at
mikael.andersson(((A)))comex.se or reply to this forum.
Best regards
Mikael
/Mikael
"Mikael Andersson" <018421608(at)telia.com> skrev i meddelandet
news:#mormWn7...@TK2MSFTNGP14.phx.gbl...