[Pcsclite-muscle] SCardEndTransaction(hCard,SCARD_EJECT_CARD);

Ludovic Rousseau ludovic.rousseau
Fri Jun 3 00:59:52 PDT 2016


2016-06-02 18:03 GMT+02:00 Christophe FERRANDO <
christophe.ferrando at sylyca.com>:

> Hi,
>

Hello Christophe,


>
>
> With the last pcsclite version, i have a return of ScardEndTransaction =
>
> SCardEndTransaction:[8010001f] Feature not supported.
>
>       *case* 577 : {
>
>                rv = *SCardEstablishContext*(SCARD_SCOPE_USER, NULL, NULL,
> &hContext);
>
>                CHECK("SCardEstablishContext", rv)
>
>                rv = *SCardConnect*(hContext,mszReaders,
>
>                          SCARD_SHARE_EXCLUSIVE,SCARD_PROTOCOL_T0, &hCard,
> &dwActiveProtocol);
>
>                CHECK("SCardConnect", rv);
>
>                rv = *SCardBeginTransaction*(hCard);
>
>                CHECK("SCardBeginTransaction", rv);
>
>                *printf*("*Enleve* *la* *carte*, *puis* *appuie* *sur*
> *une* *touche*!\n");*getchar*();
>
>                rv = *SCardEndTransaction*(hCard,SCARD_EJECT_CARD);
>
>                CHECK("SCardEndTransaction", rv);
>
>                rv = *SCardDisconnect*(hCard, SCARD_LEAVE_CARD);
>
>                CHECK("SCardDisconnect", rv)
>
>                rv = *SCardReleaseContext*(hContext);
>
>                CHECK("SCardReleaseContext", rv)
>
>                *break*;
>
>       }
>
>
>
> With the previous version, I had :
>
> SCardEndTransaction:[80100069] Card was removed.
>

What is this "previous version" exactly?

Bye

-- 
 Dr. Ludovic Rousseau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160603/e1198279/attachment-0001.html>



More information about the pcsclite-muscle mailing list