Virtual SmartCard Reader driver, couple questions

H

hash3d

Hello
I'm writing a virtual SmartCard Reader driver for WinXP, the goal is
to pass APDU's through two interfaces : PC/SC <-> SerialPort(COM)

I've read a lot before posting, but i got all confused:

Firstly, a little confused about writing in WDM or WDF and the type of
driver (Function or Filter driver), in the end i chose writing in WDF
(KMDF) and a Function Driver, correct me if i got it wrong.

Secondly, from the WDK documentation/books i understood that i need to
write some kind of DEVICE_EXTENSION structure that is needed for WDF
Framework, AND some kind READER_EXTENSION structure that is used by
SMARTCARD_EXTENSION (typically for the SmartCard driver).
Problem is that i don't know how to write these.. didn't find any
rules and i don't know what is needed for everything to work.

Thirdly, my driver shows in Device Manager list but DOES NOT show in
available readers list in the applications, i've read that the driver
must register with "smclib" but i don't know what lines I need to
write to make it happen. (How to make the reader visible in the
applications that support PS/SC readers?)

Example code in WDK dosen't help any more, so i came here.
Any kind of help is welcome, thanks in advance
Lucas.
 
Y

Yann

Hi Richard,

I have to develop the same kind of driver. I'm trying to use "PC/SC
compatible driver for WINDOWS" project from d.basko, but it does not work
(Cannot Connect to Resource Manager). Please, could you provide me some
usefull link about this subject?

Many thanks in advance for your help,

Yann Garcia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top