Re: SCardEndTransaction(hCard,SCARD_EJECT_CARD);

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8AxDEFL5O1O_Re1TtBz7xgp0-f3BnyvY7zT7bEnENGqtQ@mail.gmail.com>
2016-06-02 18:03 GMT+02:00 Christophe FERRANDO <
[email protected]>:

> 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

_______________________________________________
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.