The IOCTL_SMARTCARD_SWALLOW DeviceIoControl operation causes the reader to swallow the card.
Information must be set to zero. Status can be:
| Status | Meaning |
|---|---|
| STATUS_SUCCESS | The card was swallowed. |
| STATUS_NO_MEDIA | No card in reader. |
| STATUS_IO_TIMEOUT | The operation has timed out. |
| STATUS_NOT_SUPPORTED | The reader does not support swallowing. |
The IOCTL_SMARTCARD_SWALLOW DeviceIoControl operation causes the reader to swallow the card.
Following are possible return values.
| Value | Meaning |
|---|---|
| STATUS_SUCCESS | The card was swallowed. |
| STATUS_NO_MEDIA | No card in reader. |
| STATUS_IO_TIMEOUT | The operation has timed out. |
| STATUS_NOT_SUPPORTED | The reader does not support swallowing. |