none
SCardListReaders and ScardConnect RRS feed

  • Question

  • Hi,

    I try to develop a kmdf smart card driver.

    Actually my driver is seen as a smart card driver from the device manager.

    Now, from an application, I'd like to enumerate this driver with the SCardListReaders function and to connect to it with ScardConnect.

    But I don't know the requirements.

    By using SCardIntroduceReader and NULL as context in SCardListReader, ok it works. But I'm not sure that I have to use the SCardIntroduceReader function. The documentation says that it's used just to rename a reader... Anyway, the SCardConnect fails after.

    In the sample provided by Microsoft (PCMCIA Smart Card driver), this function is not used.

    I think the SCardListReader checks this registry key : HKLM\SOFTWARE\Microsoft\Cryptography\Calais\Reader\

    Here documentation says that there are two names to define but how and where ?

    Thanks in advance for your time.

    Thursday, June 14, 2018 12:55 PM