[Pcsclite-muscle] Retrying SCardCancel?

Daniel d'Andrada dandrader at google.com
Mon Jul 17 04:51:21 PDT 2023


Hi all,

Is there a use case for **retrying** SCardCancel to unblock an
outstanding SCardGetStatusChange? Eg: call SCardCancel once and, after
some time, if SCardGetStatusChange didn't return, call SCardCancel
again?

And does SCardCancel have any side-effect beyond unblocking a
SCardGetStatusChange call? The PC/SC spec and Windows winscard.h docs
leave it up in the air but it looks like it was never used for
anything other than that. Am I right?

- Daniel



More information about the pcsclite-muscle mailing list