_WTS_SESSION_ID structure (wtsdefs.h)

Contains a GUID that uniquely identifies a session.

Syntax

typedef struct _WTS_SESSION_ID {
  GUID  SessionUniqueGuid;
  ULONG SessionId;
} _WTS_SESSION_ID, WTS_SESSION_ID, *PWTS_SESSION_ID, _WRDS_SESSION_ID;

Members

SessionUniqueGuid

A GUID that specifies the client connection.

SessionId

An integer that specifies the session associated with the client connection.

Remarks

This structure is used in the following methods:

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Header wtsdefs.h (include Wtsprotocol.h)

See also

AuthenticateClientToSession

LogonNotify

NotifySessionId

Remote Desktop Protocol Provider Structures