Microsoft Windows CE 3.0  

IOCTL_SMARTCARD_IS_ABSENT

Important:
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 is used to wait for card removal. The smart card reader driver's XXX_IOControl function either returns immediately with STATUS_SUCCESS, which indicates that no card is in the reader, or it blocks until the card is removed.

Parameters

dwOpenData
Handle returned from a call to the smart card reader driver's XXX_Openfunction.
dwCode
Specifies this code.
pBufIn
Ignored
dwLenIn
Ignored.
pBufOut
Ignored.
dwLenOut
Ignored.
pdwActualOut
Ignored.

Return Values

One of the following status values:

Status Meaning
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.

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.

See also IOCTL_SMARTCARD_CANCEL_BLOCKING.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.