Hi,
My smart card reader is a USB equipment and I’ve written a driver based on the Bull’s TLP3 from DDK. Now, I meet this problem:
After I pull out the reader, the driver stops at
SmartcardReleaseRemoveLockAndWait(smartcardExtension) in the remove-device function.
I’ve searched in the DDK documents and found that this function help me to ensure that no unload code is executed as long as some other driver code is active. How can I know which code of my driver is still active? Or is there any necessary things I must do before unload a smart card driver?
My driver is built from a simple USB driver which can be correctly loaded and unloaded.
Any hints are welcome.
Thanks.
-Ray Yang
ICQ: 26555015
eMail: xxxxx@yahoo.com