<div class="content" name="EXECENVDATA_LEVEL1" uuid="004305a6-4265-4ff5-bb8a-58fd0f7cf2d5"><p>The EXECENVDATA_LEVEL1 structure contains basic information
about sessions running on a computer.</p><dl>
<dd>
<div><pre> typedef struct _EXECENVDATA_LEVEL1 {
   LONG ExecEnvId;
   LONG State;
   WCHAR SessionName[33];
 } EXECENVDATA_LEVEL1,
  *PEXECENVDATA_LEVEL1;
</pre></div>
</dd></dl><p><b>ExecEnvId:</b>  An identifier assigned
to the session contained in this structure by the component that aggregates the
sessions on the server and sessions within virtual machines hosted on the
server.<a id="Appendix_A_Target_52"></a><a aria-label="Product behavior note 52" href="7ce7f717-461b-4f18-9829-6690168c7707#Appendix_A_52" data-linktype="relative-path">&lt;52&gt;</a></p><p><b>State:</b>  The state of the session, as
specified in section <span><a href="58b06e1d-bfe4-4a2f-90a1-9c9129923e99" data-linktype="relative-path">3.3.4.1.8</a></span>.</p><p><b>SessionName:</b>  A string that contains
the name of the session assigned by <span><a href="c41d3367-04c9-4c93-babf-9b5de834eb29#gt_ffff3f01-8c21-44d3-bbda-0062a1fbda4b" data-linktype="relative-path">Terminal Services</a></span>
followed by the terminating NULL character.</p></div>