UMDF smartcard driver and interaction with smartcard resource mana

Discussion in 'Windows Vista Drivers' started by Javier Diez, Sep 25, 2007.

  1. Javier Diez

    Javier Diez Guest

    Hi!.

    I need to develop a smartcard driver that doesn't have to access any
    hardware functionality so I had thought about using UMDF and a virtual
    driver, but I don't know how to interact with the smartcard resource manager.
    From what I have read I think that in KMDF this is done through smclib. Could
    someone tell me if there is some way to do the same in UMDF or if there are
    any UMDF smartcard reader sample drivers around?

    Thanks in advance!.

    Regards,

    Javier
     
    Javier Diez, Sep 25, 2007
    #1
    1. Advertisements

  2. UMDF support for smart cards is coming in the future, but i think for today
    you should probably use KMDF + smclib. the 6001 WDK contains a KMDf sample
    which shows how to do this

    d
     
    Doron Holan [MSFT], Sep 26, 2007
    #2
    1. Advertisements

  3. Javier Diez

    Javier Diez Guest

    Hi!

    Thanks a lot for your help, Doron =). I am doing what you suggest and now I
    am using KMDF+smclib. While doing so I have come up with another question,
    though. I need to build the sample for XP so I would like to use WDK 6000,
    however, when I try to build the WDK 6001 KMDF smartcard sample in WDK 6000
    "as is", I come up with loads or errors. One thing that I have seen that, for
    example, the wfddriver.h files included in 6000 and 6001 WDKs are different.
    Do you know what modifications should be made to build the sample in WDK
    6000?.

    Regards,
    Javier
     
    Javier Diez, Sep 27, 2007
    #3
  4. Javier Diez

    Javier Diez Guest

    Hi again!

    I have been able to build the KMDF sample from WDK 6001 in the WDK 6000 by
    adding to my header file some typedefs. I will work up from here now. Again,
    thanks a lot for your help, Doron =).

    Regards,
    Javier
     
    Javier Diez, Sep 27, 2007
    #4
  5. The samples in the latest WDK are being updated to use function typedefs to
    improve prefast results. As a result, they will not build in the older WDK
    unless you add typedefs yourself to the headerfiles.

    Read this article for more informaton.
    http://www.microsoft.com/whdc/devtools/tools/functypedefs.mspx


    -Eliyas
     
    Eliyas Yakub [MSFT], Sep 28, 2007
    #5
  6. Javier Diez

    Javier Diez Guest

    Hi!

    Couldn't check my mail for a couple of days. Thank you both, Doron and
    Eliyas for your answers. You have helped a lot =).

    Regards,
    Javier
     
    Javier Diez, Oct 3, 2007
    #6
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.