TSSESSION_STATE enumeration (sessdirpublictypes.h)
Indicates the state of a session.
Syntax
typedef enum _TSSESSION_STATE {
STATE_INVALID = -1,
STATE_ACTIVE,
STATE_CONNECTED,
STATE_CONNECTQUERY,
STATE_SHADOW,
STATE_DISCONNECTED,
STATE_IDLE,
STATE_LISTEN,
STATE_RESET,
STATE_DOWN,
STATE_INIT,
STATE_MAX
} TSSESSION_STATE;
Constants
STATE_INVALID Value: -1 The session state is not valid. |
STATE_ACTIVE The user is logged on to WinStation. |
STATE_CONNECTED WinStation is connected to the client (session reconnected). |
STATE_CONNECTQUERY In the process of connecting to the client (session reconnect pending). |
STATE_SHADOW Shadowing another WinStation. |
STATE_DISCONNECTED WinStation is active but the client is disconnected. |
STATE_IDLE Waiting for the client to connect. |
STATE_LISTEN WinStation is listening for a connection. |
STATE_RESET WinStation is being reset (session logged off). |
STATE_DOWN WinStation is down due to error. |
STATE_INIT WinStation is initializing. |
STATE_MAX |
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Header | sessdirpublictypes.h |