2.2.2.13 LOGONID
LOGONID is a macro defined to be the structure SESSIONID. This type represents information about the session or WinStation identified by the identifier SessionId. For more information, see the macro definition in section 6.5.
-
typedef struct _SESSIONID { union { ULONG SessionId; ULONG LogonId; } _SessionId_LogonId_union; WINSTATIONNAME WinStationName; WINSTATIONSTATECLASS State; } SESSIONID, *PSESSIONID;
SessionId: In a union with LogonId. It represents WinStation or session identifier numbered 0 through 65535 for Terminal Services sessions. A number of 65536 or greater indicates that the WinStation is a listening WinStation.
LogonId: In a union with SessionId. It is used internally only, within Terminal Services code.
WinStationName: The name of the WinStation represented by this structure. See section 2.2.1.5 for more information on the type WINSTATIONNAME.
State: The current state of the WinStation. See section 2.2.1.9 for more information on the type WINSTATIONSTATECLASS.