|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This code retreives the current status of the smart card reader.
|SCARD_UNKNOWN||Status is unknown.|
|SCARD_ABSENT||There is no card in the card reader.|
|SCARD_PRESENT||A card is present in the card reader.|
|SCARD_SWALLOWED||A card is present and the card reader has swallowed it.|
|SCARD_POWERED||The card is powered but the reader cannot determine its mode.|
|SCARD_NEGOTIABLE||A card is present and is waiting for protocol negotiation.|
|SCARD_SPECIFIC||A card is present and a protocol has been negotiated.|
The status value STATUS_SUCCESS.
Note: Smart card reader drivers return Windows NT status values, rather than Win32 error values, as the return values from the driver's callback function.
Last updated on Tuesday, July 13, 2004