2.2.2.1 EstablishContext_Call

The EstablishContext_Call structure is used to specify the scope of Smart Cards for Windows context to be created (for more information, see section 3.1.4.1).

 typedef struct _EstablishContext_Call {
   unsigned long dwScope;
 } EstablishContext_Call;

dwScope: The scope of the context that will be established. The following table shows valid values of this field.

Value

Meaning

SCARD_SCOPE_USER

0x00000000

The context is a user context; any database operations MUST be performed with the domain of the user.

SCARD_SCOPE_TERMINAL

0x00000001

The context is a terminal context; any database operations MUST be performed with the domain of the terminal. This flag is currently unused; it is here for compatibility with [PCSC5] section 3.1.3.

SCARD_SCOPE_SYSTEM

0x00000002

The context is the system context; any database operations MUST be performed within the domain of the system.