[Pcsclite-muscle] Issue with SCardGetStatusChange() and timeout value 0

helpcrypto helpcrypto helpcrypto
Wed Sep 17 05:51:01 PDT 2014


Hi.

Havent tried to reproduce, but would like to highlight:

[1] states "A value of zero causes the function to return immediately"
while [2] says: "zero (or INFINITE) for infinite"

Dont know if this is reproducible or not, but documentation seems to be
incorrect.


[1]
http://msdn.microsoft.com/en-us/library/windows/desktop/aa379773%28v=vs.85%29.aspx
[2]
http://pcsclite.alioth.debian.org/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24


On Wed, Sep 17, 2014 at 2:44 PM, Ludovic Rousseau <
ludovic.rousseau at gmail.com> wrote:

> 2014-09-16 15:13 GMT+02:00  <hean01 at cendio.se>:
> > Hi,
>
> Hello,
>
> > I found a deviation in implementation of SCardGetStatusChange() in
> > pcsc-lite from Windows PCSC. A timeout value of 0 is supposed to return
> > immediately with success and report current state to caller. In
> > pcsc-lite implementation, a timeout of 0 is handled as INFINIT and will
> > hang until state is changed.
>
> I can't reproduce the problem.
>
> Can you share your sample code so I can reproduce it?
>
> Thanks
>
> --
>  Dr. Ludovic Rousseau
>
> _______________________________________________
> Pcsclite-muscle mailing list
> Pcsclite-muscle at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20140917/8b220e1b/attachment.html>



More information about the pcsclite-muscle mailing list