2.2.2.15 Reconnect_Call

The Reconnect_Call structure is used to reopen a connection to the smart card associated with a valid context. For more information, see section 3.1.4.36.

 typedef struct _Reconnect_Call {
   REDIR_SCARDHANDLE hCard;
   unsigned long dwShareMode;
   unsigned long dwPreferredProtocols;
   unsigned long dwInitialization;
 } Reconnect_Call;

hCard: A handle, as specified in section 2.2.1.2.

dwShareMode: A flag that indicates whether other applications can form connections to this card. For acceptable values of this field, see section 2.2.6.

dwPreferredProtocols: A bit mask of acceptable protocols for this connection. For specifics on possible values, see section 2.2.5.

dwInitialization: A type of initialization that SHOULD be performed on the card.

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.