<div class="content" name="EXECENVDATAEX" uuid="0a3f7e7b-03f8-4f62-a65f-c2d670bb3173"><p><b>PEXECENVDATAEX</b> is a pointer to a structure containing
information about the sessions running on the <span><a href="c41d3367-04c9-4c93-babf-9b5de834eb29#gt_b416f72e-cf04-4d80-bf93-f5753f3b0998" data-linktype="relative-path">terminal server</a></span> and
the sessions running on virtual machines hosted on the server.<a id="Appendix_A_Target_54"></a><a aria-label="Product behavior note 54" href="7ce7f717-461b-4f18-9829-6690168c7707#Appendix_A_54" data-linktype="relative-path">&lt;54&gt;</a> It is returned by <span><a href="3f724979-25cd-41d8-9829-244f4425f9c6" data-linktype="relative-path">RpcGetAllSessionsEx</a></span>.</p><dl>
<dd>
<div><pre> typedef struct _EXECENVDATAEX {
   DWORD Level;
   [switch_is(Level)] ExecEnvDataEx Data;
 } EXECENVDATAEX,
  *PEXECENVDATAEX;
</pre></div>
</dd></dl><p><b>Level:</b>  The level of information
contained in the <b>Data</b> member; the only valid value is 1.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Meaning</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>1</td>
  <td>The union ExecEnvDataEx has the EXECENVDATAEX_LEVEL1 structure.</td>
 </tr></tbody></table>
</dd></dl><p><b>Data:</b>  Contains information at a
specified level of detail about sessions running on a computer. This is of type
ExecEnvDataEx.</p></div>