| Previous | Next |
| SCARD_E_UNKNOWN_READER | SCARD_E_SHARING_VIOLATION |
SCARD_E_TIMEOUT
SCARD_E_TIMEOUT The caller-specified timeout expired before the requested smart-card state change occurred. This is often returned by tracking calls that wait for card or reader state, not necessarily by a failed card command.
What to check
- Identify the waiting API and timeout value;
SCardGetStatusChangeuses the timeout supplied by the caller. - Use a timeout appropriate for the user interaction and distinguish normal polling expiration from a reader failure.
- Combine timeout handling with cancellation so shutdown can stop waits promptly without leaking contexts.
Microsoft: SCardGetStatusChange
Looking for a different code? Search another status or error code.