2009/12/1 Waldemar Dick <[email protected]>:
> following this thread, if I understood corretly, each thread needs its own
> SCARDCONTEXT.
> But to cancel a blocking SCardGetStatusChange(timeout=INFINITE), I have to
> call SCardCancel() from an other thread.
> So, which SCARDCONTEXT handle do I pass as an argument to SCardCancel()?
> Either does SCardCancel() cancel all waiting calls across all established
> contexts or I don't understand how this could work?

SCardCancel() is the only exception to the rule.
You have to call SCardCancel() with the same context used in
SCardGetStatusChange().

Bye

-- 
 Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to