Hi I'm developing Smart Card Driver that my hardware is Reader and Card
incorporate together and I send the T=1 commands using our own Protocol and
Hardware. So I develop a Software Smart card Driver according to the WDK
Smart card sample
When I call this function in my test application:
SCardConnect( scardContext, (LPCTSTR)TEXT(MYREADER),
SCARD_SHARE_SHARED,SCARD_PROTOCOL_T1, &hCardHandle, &dwAP);
I'm getting returnvalue: 0x6f9
and I get an error, this is log in the Windows Event Log:
Smart Card Reader 'MyComp MyReader 1' rejected IOCTL SET_PROTOCOL: The disk
media is not recognized. It may not be formatted.
Any idea what could be wrong? maybe my ReaderCapabilities are wrong. what
could trigger this error?
I don't have any idea how to debug this issue.
|