What does HRESULT 0x8010000F (SCARD_E_PROTO_MISMATCH) mean?

 
Previous Next
SCARD_E_CANT_DISPOSE SCARD_E_NOT_READY

SCARD_E_PROTO_MISMATCH

SCARD_E_PROTO_MISMATCH The protocol requested by the caller is incompatible with the protocol currently active for the card. PC/SC negotiates T=0, T=1, Raw, or direct-access behavior during connection, and later APDU calls must match that state.

What to check

  • Read the active protocol returned by SCardConnect or SCardStatus before choosing a PCI structure for SCardTransmit.
  • Use the matching SCARD_PCI_T0, SCARD_PCI_T1, or documented direct-access path.
  • After a reset or reconnect, renegotiate and refresh the protocol instead of reusing a previous connection's settings.

Microsoft: SCardConnect

Microsoft: SCardStatus

Microsoft: SCardTransmit


Looking for a different code? Search another status or error code.