I want to build a non pnp smartcard driver.
I just tried to followed the suggestions in the thread:
http://www.techtalkz.com/microsoft-device-drivers/296063-virtual-smartcard-reader-not-listed-scardlistreaders.html
That included starting with the pnp smartcard driver sample from the WinDDK
6001 and remove the pnp stuff. So I tried to uses the initialization
routines from the nonpnp kmdf driver sample (same DDK).
I stuck calling the essential function:
WdfDeviceCreateDeviceInterface(Device,&SmartCardReaderGuid,NULL)
which returns 0xC0000010, STATUS_INVALID_DEVICE_REQUEST.
Unfortunately I cannot find out why this happens cause the WDFLOG command
"!D:\WinDDK\6001.18000\bin\x86\wdfkd.wdflogdump TSBTCS"
returns: "Could not find TSBTCS in wdfldr client list"
From a newsthread I read something about non pnp drivers not allowed to call
WdfDeviceCreateDeviceInterface.
Is that true and can anybody give me a clue to come around this?
Bye the way the function SmartcardInitialize returns Success, but that
doesn't seam to help me at all.
regards,
Thomas Kluge
T-Systems