IOCTL_SMARTCARD_IS_ABSENT (Windows CE 5.0)
This code is used to wait for card removal. The smart card reader driver's XXX_IOControl (Device Manager) function either returns immediately with STATUS_SUCCESS, which indicates that no card is in the reader, or it blocks until the card is removed.
[in] Handle returned from a call to the smart card reader driver's XXX_Open (Device Manager) function.
[in] Specifies this code.
One of the following status values.
|STATUS_SUCCESS||There is no smart card in the card reader.|
|STATUS_CANCELLED||The card reader was closed or the IOCTL_SMARTCARD_CANCEL_BLOCKING code was issued.|
|STATUS_DEVICE_BUSY||Event tracking is already active.|
|STATUS_INVALID_DEVICE_STATE||The card reader cannot accept the request.|
Smart card reader drivers return Windows NT status values, rather than Win32 error values, as the return values from the driver's callback function.
OS Versions: Windows CE 3.0 and later.
Send Feedback on this topic to the authors