2.2.3.8 Connect_Return

The Connect_Return structure is used to obtain return information from a Connect call (for more information, see sections 3.1.4.28 and 3.1.4.29).

 typedef struct _Connect_Return {
   long ReturnCode;
   REDIR_SCARDHANDLE hCard;
   unsigned long dwActiveProtocol;
 } Connect_Return;

ReturnCode: HRESULT or Win32 Error code. Zero indicates success; any other value indicates failure.

hCard: A handle, as specified in section 2.2.1.2.

dwActiveProtocol: A value that indicates the active smart card transmission protocol. Possible values are specified in section 2.2.5.