| Previous | Next |
| SCARD_P_SHUTDOWN | SCARD_E_READER_UNSUPPORTED |
SCARD_E_PCI_TOO_SMALL
SCARD_E_PCI_TOO_SMALL The buffer for returned protocol control information (PCI) was too small. This is distinct from the APDU response-data buffer and occurs when the caller asks SCardTransmit to return PCI without providing enough space.
How to fix the call
- Allocate a correctly sized
SCARD_IO_REQUESTreceive structure when protocol control information is needed. - Pass a null receive-PCI pointer when the application does not need returned PCI data.
- Keep the receive-PCI buffer and the APDU response buffer separate and size both according to the API contract.
Microsoft: Smart Card Functions
Microsoft: Smart Card return values
Looking for a different code? Search another status or error code.