2.2.2.16 HCardAndDisposition_Call

The HCardAndDisposition_Call structure defines the action taken on the disposition of a smart card associated with a valid context when a connection is terminated.

 typedef struct _HCardAndDisposition_Call {
   REDIR_SCARDHANDLE hCard;
   unsigned long dwDisposition;
 } HCardAndDisposition_Call;

hCard: A handle, as specified in section 2.2.1.2.

dwDisposition: The action to take on the card in the connected reader upon close. This value is ignored on a BeginTransaction message call, as specified in section 3.2.5.3.61.

Value

Meaning

SCARD_LEAVE_CARD

0x00000000

Do not do anything.

SCARD_RESET_CARD

0x00000001

Reset the smart card.

SCARD_UNPOWER_CARD

0x00000002

Turn off and reset the smart card.

SCARD_EJECT_CARD

0x00000003

Eject the smart card.