From dandrader at google.com  Mon Jul 17 04:51:21 2023
From: dandrader at google.com (Daniel d'Andrada)
Date: Mon, 17 Jul 2023 13:51:21 +0200
Subject: [Pcsclite-muscle] Retrying SCardCancel?
Message-ID: <CA+enBd8uDHYRCCxSftnweQ4KDqzyKJFN_jUOQWLSMi2AFGbHxg@mail.gmail.com>

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


