3.7.1.1 Abstract Data Types
dwCounterID: Identifier of a performance counter. It is used with RpcWinStationGetTermSrvCountersValue and MUST be set to one of the values described in section 2.2.2.17.1.
hServer: Handle to the server object. This is of type SERVER_HANDLE. This handle is returned by the RpcWinStationOpenServer method and is used as an input parameter with all other LegacyApi methods.
PDCONFIG2: Structure that contains the protocol driver's software configuration. This structure is described in detail in section 2.2.2.26.1. It is returned by the RpcWinStationQueryInformation method as part of transport protocol driver configuration data.
WinStationInformation: Provides the current values of various properties for a session such as state, connect time, last input time, and so on. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationInformation" is passed as the WinStationInformationClass parameter.
WINSTATIONPRODID: Structure that represents a product ID for the session. This structure is described in detail in section 2.2.2.36. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationDigProductId" is passed as the WinStationInformationClass parameter.
WINSTATIONUSERTOKEN: Structure that defines the user token for a session. This structure is described in detail in section 2.2.2.32. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationUserToken" is passed as the WinStationInformationClass parameter.
POLICY_TS_MACHINE: Structure that defines the machine policy of the server. This structure is described in detail in section 2.2.2.31. It is used with the RpcWinStationGetMachinePolicy method and is returned as the pPolicy parameter.
WINSTATIONINFOCLASS: Enumeration that specifies the class of data to retrieve. It is defined in section 2.2.1.8. The following list shows how WINSTATIONINFOCLASS is used with various methods.
RpcWinStationQueryInformation: as the WinStationInformationClass parameter.
RpcWinStationSetInformation: as the WinStationInformationClass parameter.
USERCONFIG: Structure that contains user and session configuration information. This structure is described in detail in section 2.2.2.18. It is used with the RpcWinStationQueryInformation and RpcWinStationSetInformation methods.
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 RpcWinStationQueryInformation method.
LOGONID: Structure that represents information about the session or WinStation. This structure is described in detail in section 2.2.2.13. It is used with the RpcWinStationEnumerate method and is returned as the pLogonId parameter.
TS_PROCESS_INFORMATION_NT4: Structure that represents information about a process running in a session. This structure is described in detail in section 2.2.2.14. It is used with the RpcWinStationEnumerateProcesses method and is returned inside the pProcessBuffer parameter.
TS_ALL_PROCESS_INFO: Structure that contains data about all the processes running on the system that are accessible to a user. This structure is described in detail in section 2.2.2.15. It is used with the RpcWinStationGetAllProcesses method and is returned as the ppTsAllProcessesInfo parameter.
TS_SYS_PROCESS_INFORMATION: Structure that contains information about a process running in a session. This structure is described in detail in section 2.2.2.15.1. It is used with the RpcWinStationEnumerateProcesses method and is returned inside the pProcessBuffer parameter.
TS_PROCESS_INFORMATION_NT6: Structure that represents information about a process running in a session. This structure is described in detail in section 2.2.2.16. It is used with the RpcWinStationGetAllProcesses_NT6 method and is returned inside the ppTsAllProcessesInfo parameter.
PDPARAMS: Structure containing the protocol driver parameters. This structure is described in detail in section 2.2.2.21. It is used with the RpcWinStationQueryInformation and RpcWinStationSetInformation methods.
PDPARAMSWIRE: Structure precedes a PDPARAMS structure and defines the size and offset of the PDPARAMS structures in the complete data BLOB. This structure is described in detail in section 2.2.2.46. It is used with the RpcWinStationQueryInformation and RpcWinStationSetInformation methods.
PdName: String containing the transport protocol type. This MUST be any of the following strings: "tcp", "netbios", "ipx", or "spx". It is used with the RpcWinStationGetLanAdapterName method as the pPdName parameter.
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 RpcWinStationQueryInformation method.
CDCONFIG: Structure that represents connection driver configuration. This structure is described in detail in section 2.2.2.28. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationCd" is passed as the WinStationInformationClass parameter.
WINSTATIONCREATE: Structure that represents a session to which the user can connect. This structure is described in detail in section 2.2.2.29. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationCreateData" is passed as the WinStationInformationClass parameter.
WINSTATIONVIDEODATA: Structure that represents the resolution and color depth of a session. This structure is described in detail in section 2.2.2.33. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationVideoData" is passed as the WinStationInformationClass parameter.
WINSTATIONLOADINDICATORDATA: Structure that represents the data used for the load balancing of a server. This structure is described in detail in section 2.2.2.34. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationLoadIndicator" is passed as the WinStationInformationClass parameter.
WINSTATIONSHADOW: Structure that represents the current shadow state of a session. This structure is described in detail in section 2.2.2.35. The following list shows how WINSTATIONSHADOW is used with various methods.
RpcWinStationQueryInformation: as the pWinStationInformation parameter when "WinStationShadowInfo" is passed as the WinStationInformationClass parameter.
RpcWinStationSetInformation: as the pWinStationInformation parameter when "WinStationShadowInfo" is passed as the WinStationInformationClass parameter.
DEVICENAME: Represents the name of a device. It is described in detail in section 2.2.1.7 and is used with RpcWinStationGetLanAdapterName.
WINSTATIONNAME: Represents the name of a session. It is described in detail in section 2.2.1.5 and is used with RpcLogonIdFromWinStationName.
WINSTATIONREMOTEADDRESS: Structure that contains the client's remote address. This structure is described in detail in section 2.2.2.37. It is returned by the RpcWinStationQueryInformation method.
IdleTime: Represents the idle time for the session, in seconds. It is of type ULONG. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationIdleTime" is passed as the WinStationInformationClass parameter.
LastReconnectType: Represents the last reconnect type for the session. It is of type ULONG. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationReconnectType" is passed as the WinStationInformationClass parameter.
WinStationVirtualData: Represents client virtual data. It is of type BYTE. It is used with RpcWinStationQueryInformation and is returned as the pWinStationInformation parameter when "WinStationVirtualData" is passed as the WinStationInformationClass parameter.
WINSTATIONCLIENTDATA: Structure used to send data to the client. It is described in 2.2.2.41. It is used with RpcWinStationSetInformation and is returned as the pWinStationInformation parameter when "WinStationClientData" is passed as the WinStationInformationClass parameter.
TS_TRACE: Structure that specifies fields used for configuring tracing operations in TS binaries if they are checked. This structure is described in detail in section 2.2.2.39. It is used with the RpcWinStationSetInformation method.
WINSTACONFIGWIRE: Structure precedes a variable length user configuration data BLOB and defines the size and offset of the user configuration data. This structure is described in detail in section 2.2.2.47. It is used with the RpcWinStationQueryInformation and RpcWinStationSetInformation methods.