2.2.1.3 Connect_Common
The Connect_Common structure contains information common to both versions of the Connect function (for more information, see sections 2.2.2.13 and 2.2.2.14).
-
typedef struct _Connect_Common { REDIR_SCARDCONTEXT Context; unsigned long dwShareMode; unsigned long dwPreferredProtocols; } Connect_Common;
Context: A valid context, as specified in section 2.2.1.1.
dwShareMode: A flag that indicates whether other applications are allowed to form connections to the card. Possible values of this field are specified in section 2.2.6.
dwPreferredProtocols: A bitmask of acceptable protocols for the connection, as specified in section 2.2.5.