SCardCancel function winscard

int SCardCancel(
  1. int hContext
)

The SCardCancel function terminates all outstanding actions within a specific resource manager context. The only requests that you can cancel are those that require waiting for external action by the smart card or user. Any such outstanding action requests will terminate with a status indication that the action was canceled. This is especially useful to force outstanding SCardGetStatusChange calls to terminate.

LONG SCardCancel(
  SCARDCONTEXT hContext
);

Implementation

int SCardCancel(int hContext) => _SCardCancel(hContext);