| Previous | Next |
| SCARD_E_INVALID_VALUE | SCARD_F_COMM_ERROR |
SCARD_E_SYSTEM_CANCELLED
SCARD_E_SYSTEM_CANCELLED Windows cancelled the smart-card action, commonly because the user session was logging off, the computer was shutting down, or a system transition interrupted the request.
Correct handling
- Treat the operation as incomplete and do not assume that a write, PIN verification, or transaction committed.
- Release handles during session shutdown and retry only after the system and Smart Card service are stable again.
- Correlate the timestamp with logoff, shutdown, sleep, or device-removal events before investigating the card itself.
Microsoft: Smart Cards for Windows service
Looking for a different code? Search another status or error code.