WTSSBX_SESSION_INFO structure (tssbx.h)

Contains information about sessions that are available to Remote Desktop Connection Broker (RD Connection Broker).

Syntax

typedef struct __MIDL_IWTSSBPlugin_0009 {
  WCHAR                wszUserName[105];
  WCHAR                wszDomainName[257];
  WCHAR                ApplicationType[257];
  DWORD                dwSessionId;
  FILETIME             CreateTime;
  FILETIME             DisconnectTime;
  WTSSBX_SESSION_STATE SessionState;
} WTSSBX_SESSION_INFO;

Members

wszUserName[105]

The user name that is associated with the session. The name cannot exceed 104 characters.

wszDomainName[257]

The domain name of the user. The name cannot exceed 256 characters.

ApplicationType[257]

The name of the program that should be run after the session is created. The name cannot exceed 256 characters.

dwSessionId

The session identifier.

CreateTime

The time that the session was initiated.

DisconnectTime

The time that the user disconnected from the session.

SessionState

A value of the WTSSBX_SESSION_STATE enumeration type that indicates the state of the session.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Header tssbx.h

See also

IWTSSBPlugin