SCardGetAttrib

"Christophe FERRANDO" <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <[email protected]>
Hi,

 

With the last pcsclite version, i get this error :

SCardGetAttrib:[8010001f] Feature not supported.

 

              rv = SCardEstablishContext(SCARD_SCOPE_USER, NULL, NULL,
&hContext);

               CHECK("SCardEstablishContext", rv)

               rv = SCardConnect(hContext,mszReaders,

                         SCARD_SHARE_EXCLUSIVE,SCARD_PROTOCOL_T0, &hCard,
&dwActiveProtocol);

              dwAttrLen = SCARD_AUTOALLOCATE;

              rv =
SCardGetAttrib(hCard,SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE,(unsigned
char*)&pbAttr,&dwAttrLen);

              CHECK("SCardGetAttrib", rv);

              rv = SCardFreeMemory(hContext,pbAttr);

              CHECK("SCardFreeMemory", rv);

              rv = SCardDisconnect(hCard, SCARD_LEAVE_CARD);

              CHECK("SCardDisconnect", rv)

              rv = SCardReleaseContext(hContext);

              CHECK("SCardReleaseContext", rv)

              break;

 

I expect 0x00000032, ERROR_NOT_SUPPORTED (0x32)

 

Sincerly,

 

Christophe FERRANDO

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.