<div class="content" name="SESSIONENUM_LEVEL3" uuid="d1662f97-9e3a-4fbb-bdd5-2050df69e902"><p>The SESSIONENUM_LEVEL3 structure contains information about
sessions running on a computer that is more detailed than the information
contained in <span><a href="0c4fde3b-4fdb-4524-8cae-792d0320247a" data-linktype="relative-path">SESSIONENUM_LEVEL1</a></span>
and <span><a href="1b889bfe-8d32-4cba-bd92-f9d7c09d5f60" data-linktype="relative-path">SESSIONENUM_LEVEL2</a></span>.</p><dl>
<dd>
<div><pre> typedef struct _SESSIONENUM_LEVEL3 {
   LONG SessionId;
   LONG State;
   WCHAR Name[33];
   ULONG Source;
   BOOL bFullDesktop;
   GUID SessionType;
   ULONG ProtoDataSize;
   [size_is(ProtoDataSize)] UCHAR* pProtocolData;
 } SESSIONENUM_LEVEL3,
  *PSESSIONENUM_LEVEL3;
</pre></div>
</dd></dl><p><b>SessionId:</b>  An identifier assigned
by the operating system to the session contained in this structure.</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>Name:</b>  A string that contains the
name of the session followed by the terminating NULL character.</p><p><b>Source:</b>  The parameter is always set
to zero.</p><p>bFullDesktop:  The parameter is always set
to TRUE.</p><p>SessionType:  The parameter is always set
to zero.</p><p>ProtoDataSize:  Size of data, in bytes,
contained in the pProtocolData member.</p><p>pProtocolData:  Data about the protocol
status between the <span><a href="c41d3367-04c9-4c93-babf-9b5de834eb29#gt_b416f72e-cf04-4d80-bf93-f5753f3b0998" data-linktype="relative-path">terminal server</a></span>
client and server. This data will be of type <span><a href="e32b64ed-22e2-45ca-b954-9e1b52a16c78" data-linktype="relative-path">PROTOCOLSTATUSEX</a></span>.</p></div>