There is a useful looking smartcard wdk example that can be found at the following location of the wdk tree:
src\smartcrd\pscr
"pscrnt.c" contains example code for a lot of the IRP requests including Start - however the the code for start is dependant upon the device as to what needs to be done to start the device.
sorry it doesnt appear to be working yet - writing drivers is an interesting challenge at times!
Sometimes you need to go through step by step making sure that everything is how it should be
Does AddDevice get called and complete sucessfully without errors?
sorry it doesnt appear to be working yet - writing drivers is an interesting challenge at times!
Sometimes you need to go through step by step making sure that everything is how it should be
Does AddDevice get called and complete sucessfully without errors?
Peter
the AddDevice funcion is called and no errors show up,thank u for your advice again
anthoer jpg.
device\00000033 is the worked virtual reader
device\spenser is my reader which didn't work
screader0 is the worked virtual reader
screader1 is my reader
Thats great that its setting up symbolic links - but it doesnt answer why it isnt being seen in the list of available smartcard devices
Make sure that the smart card service is started
Use lots of kernel debug print statements in the driver code to display the error values that are being returned from the kernel API calls - and also see what return values that the driver is returning back to the calling layer.
Thats great that its setting up symbolic links - but it doesnt answer why it isnt being seen in the list of available smartcard devices
Make sure that the smart card service is started
Use lots of kernel debug print statements in the driver code to display the error values that are being returned from the kernel API calls - and also see what return values that the driver is returning back to the calling layer.
Peter
thank u so much i have finished it. i did sthing wrong in the DeviceIOcontrol function.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.