2.2.3.2 EstablishContext_Return

The EstablishContext_Return structure is used to provide a response to an Establish Context call (for more information, see section 3.1.4.1.)

 typedef struct _EstablishContext_Return {
   long ReturnCode;
   REDIR_SCARDCONTEXT Context;
 } EstablishContext_Return;

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

Context: A valid context, as specified in section 2.2.1.1.