WTSSESSION_NOTIFICATION structure (winuser.h)

Provides information about the session change notification. A service receives this structure in its HandlerEx function in response to a session change event.

Syntax

typedef struct tagWTSSESSION_NOTIFICATION {
  DWORD cbSize;
  DWORD dwSessionId;
} WTSSESSION_NOTIFICATION, *PWTSSESSION_NOTIFICATION;

Members

cbSize

Size, in bytes, of this structure.

dwSessionId

Session identifier that triggered the session change event.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Header winuser.h (include Windows.h)

See also

HandlerEx