3.5.1.1 Abstract Data Types

PROTOCOLSTATUS_INFO_TYPE: Specifies the protocol status information requested for a particular session running on a terminal server. It is defined in section 2.2.2.2. The following list shows how PROTOCOLSTATUS_INFO_TYPE is used with various methods.

QUERY_SESSION_DATA_TYPE: The type of data to retrieve about the session. It is used with RpcQuerySessionData and MUST be set to one of the values described in section 2.2.2.3.

WINSTATIONCLIENT: Structure that defines the client-requested configuration when connecting to a session. This structure is described in detail in section 2.2.2.19. It is used with the RpcGetClientData method.

PLISTENERENUM: Structure that contains information about a terminal server listener. This structure is described in detail in section 2.2.2.12. It is used with RpcGetAllListeners and returned as the ppListeners parameter.

WINSTATIONCONFIG: Structure that contains WinStation configuration data. This structure is described in detail in section 2.2.2.30.1. It is used with the RpcGetConfigData method.

PROTOCOLSTATUS: The status of the protocol used by the session. It is defined in section 2.2.2.20.1. It is used with the RpcGetProtocolStatus and RpcGetSessionProtocolLastInputTime methods.

PROTOCOLSTATUSEX: Structure defines the extended status of the protocol used by the session. This structure is described in detail in section 2.2.2.20.1.1. It is used with the RpcGetProtocolStatus and RpcGetSessionProtocolLastInputTime methods.

WDCONFIG: Structure containing the WinStation (session) driver configuration. This structure is described in detail in section 2.2.2.27. It is used with the RpcQuerySessionData method.

WINSTATIONCONFIG2: Structure that contains WinStation configuration data. This structure is described in detail in section 2.2.2.30. It is used with the RpcGetConfigData method.

CACHE_STATISTICS: Structure that represents cache statistics on the protocol. This structure is described in detail in section 2.2.2.20.1.3. It is used with the RpcGetProtocolStatus method.

PROTOCOLCOUNTERS: Structure that represents the status of the protocol used by the system. This structure is described in detail in section 2.2.2.20.1.2. It is used with the RpcGetProtocolStatus method.

WINSTATIONVALIDATIONINFORMATION: Structure that contains information that is required to identify and validate a per-device terminal server (TS) client access license (CAL) associated with the session. This structure is described in detail in section 2.2.2.51. It is used with the RpcQuerySessionData method.

RCM_REMOTEADDRESS: Structure that defines a remote address. This structure is described in detail in section 2.2.2.43. It is used with the RpcGetRemoteAddress method.