<div class="content" name="WINSTATIONINFORMATION" uuid="c2566d8b-7016-440b-b7e0-0d07c3b2418f"><p>Provides the current values of various properties such as
state, connect time, last input time, and so on, for a session.</p><dl>
<dd>
<div><pre> typedef struct _WINSTATIONINFORMATION {
   WINSTATIONSTATECLASS ConnectState;
   WINSTATIONNAME WinStationName;
   ULONG LogonId;
   LARGE_INTEGER ConnectTime;
   LARGE_INTEGER DisconnectTime;
   LARGE_INTEGER LastInputTime;
   LARGE_INTEGER LogonTime;
   PROTOCOLSTATUS Status;
   WCHAR Domain[DOMAIN_LENGTH + 1];
   WCHAR UserName[USERNAME_LENGTH + 1];
   LARGE_INTEGER CurrentTime;
 } WINSTATIONINFORMATION,
  *PWINSTATIONINFORMATION;
</pre></div>
</dd></dl><p><b>ConnectState:</b>  The current connect
state of the session.</p><p><b>WinStationName:</b>  The name of the
session.</p><p><b>LogonId:</b>  The session identifier of
the session.</p><p><b>ConnectTime:</b>  The time of the most
recent connection to the session. This is a 64-bit value representing the
number of 100-nanosecond intervals since January 1, 1601 (UTC).</p><p><b>DisconnectTime:</b>  The time of the
most recent disconnection from the session. This is a 64-bit value representing
the number of 100-nanosecond intervals since January 1, 1601 (UTC).</p><p><b>LastInputTime:</b>  The time the session
last received input. This is an indicator of how long a session has been idle.
This is a 64-bit value representing the number of 100-nanosecond intervals
since January 1, 1601 (UTC).</p><p><b>LogonTime:</b>  The time of the logon to
the session. This is a 64-bit value representing the number of 100-nanosecond
intervals since January 1, 1601 (UTC).</p><p><b>Status:</b>  The status of the protocol,
as specified in section <span><a href="c9066753-acbd-4678-9a72-8fb1b080bd09" data-linktype="relative-path">2.2.2.20.1</a></span>.</p><p><b>Domain:</b>  The user&#39;s <span><a href="c41d3367-04c9-4c93-babf-9b5de834eb29#gt_b0276eb2-4e65-4cf1-a718-e0920a614aca" data-linktype="relative-path">domain</a></span>
name.</p><p><b>UserName:</b>  The user&#39;s user name.</p><p><b>CurrentTime:</b>  The current time in
the session. This is a 64-bit value representing the number of 100-nanosecond
intervals since January 1, 1601 (UTC).</p></div>