Re: SCardEndTransaction(hCard,SCARD_EJECT_CARD);

Ludovic Rousseau <[email protected]> Fri, 3 Jun 2016 14:53:42 +0200
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8A+AaRRGQwc9=TgYKbXJMo-Gxx1rdG9MOumxetKr7mU-w@mail.gmail.com>
2016-06-03 10:32 GMT+02:00 Christophe FERRANDO <
[email protected]>:

> Hi,
>
>
>
> I should apologize.
>
> I test with two differents readers with pcsclite version 1.8.16 and 1.8.17.
>

The management of SCARD_EJECT_CARD in SCardEndTransaction() has not changed
since years.

According to the source code [1] SCARD_EJECT_CARD will generate a "CTBCS
command for Eject ICC" and return this command execution result.

You should use SCARD_EJECT_CARD only if your reader+driver can effectively
mechanically eject the card.
Do you have such a reader?


>
> It appears that one of the reader doesn’t detect card insertion.
>

That is a different issue.

Bye

[1]
https://anonscm.debian.org/cgit/pcsclite/PCSC.git/tree/src/winscard.c#n1205

-- 
 Dr. Ludovic Rousseau

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle