<div class="content" name="EstablishContext_Call" uuid="b990635a-7637-464a-8923-361ed3e3d67a"><p>The EstablishContext_Call structure is used to specify the
scope of <a href="d361b24c-611e-46c5-9ac6-93cb6490a472#gt_c6f0d1a4-ae75-40b9-beef-baa419cb33b9" data-linktype="relative-path">Smart Cards for
Windows</a> context to be created (for more information, see section <a href="ea15ee61-9fac-40ac-96eb-d9d63deee760" data-linktype="relative-path">3.1.4.1</a>). </p><dl>
<dd>
<div><pre> typedef struct _EstablishContext_Call {
   unsigned long dwScope;
 } EstablishContext_Call;
</pre></div>
</dd></dl><p><b>dwScope:</b>  The scope of the context
that will be established. The following table shows valid values of this field.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>SCARD_SCOPE_USER 0x00000000</td>
  <td>The context is a user context; any database operations MUST be performed with the domain of the user.</td>
 </tr><tr>
  <td>SCARD_SCOPE_TERMINAL 0x00000001</td>
  <td>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.</td>
 </tr><tr>
  <td>SCARD_SCOPE_SYSTEM 0x00000002</td>
  <td>The context is the system context; any database operations MUST be performed within the domain of the system.</td>
 </tr></tbody></table>
</dd></dl><p> </p></div>