Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies the connection state of a Remote Desktop Services session.
Syntax
typedef enum _WTS_CONNECTSTATE_CLASS {
WTSActive,
WTSConnected,
WTSConnectQuery,
WTSShadow,
WTSDisconnected,
WTSIdle,
WTSListen,
WTSReset,
WTSDown,
WTSInit
} WTS_CONNECTSTATE_CLASS;
Constants
WTSActiveA user is logged on to the WinStation. This state occurs when a user is signed in and actively connected to the device. |
WTSConnectedThe WinStation is connected to the client. |
WTSConnectQueryThe WinStation is in the process of connecting to the client. |
WTSShadowThe WinStation is shadowing another WinStation. |
WTSDisconnectedThe WinStation is active but the client is disconnected. This state occurs when a user is signed in but not actively connected to the device, such as when the user has chosen to exit to the lock screen. |
WTSIdleThe WinStation is waiting for a client to connect. |
WTSListenThe WinStation is listening for a connection. A listener session waits for requests for new client connections. No user is logged on a listener session. A listener session cannot be reset, shadowed, or changed to a regular client session. |
WTSResetThe WinStation is being reset. |
WTSDownThe WinStation is down due to an error. |
WTSInitThe WinStation is initializing. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Header | wtsapi32.h |