IOCTL_SMARTCARD_SWALLOW IOCTL (winsmcrd.h)
The IOCTL_SMARTCARD_SWALLOW request causes the smart card reader to swallow the card.
Major code
Input buffer
None
Output buffer
None
Status block
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Possible error codes are:
Value | Meaning |
---|---|
STATUS_SUCCESS | The smart card was swallowed. |
STATUS_NO_MEDIA | No smart card is in the reader. |
STATUS_IO_TIMEOUT | The operation timed out. |
STATUS_NOT_SUPPORTED | The reader does not support swallowing. |
Remarks
The Information member must be set to zero.
The Status member is set to one of the values in the status block table.
Requirements
Requirement | Value |
---|---|
Header | winsmcrd.h (include Winsmcrd.h) |