2.2.1.14 TNotificationId

Specifies the type of notification for which to wait from the terminal server.

It MUST be a bitwise OR of any of the values shown in the following table.

This type is declared as follows:

 typedef ULONG TNotificationId;

Value

Meaning

WTS_NOTIFY_NONE

0x0

No notification

WTS_NOTIFY_CREATE

0x1

Session creation notification

WTS_NOTIFY_CONNECT

0x2

Session connection notification

WTS_NOTIFY_DISCONNECT

0x4

Session disconnection notification

WTS_NOTIFY_LOGON

0x8

Session logon notification

WTS_NOTIFY_LOGOFF

0x10

Session logoff notification

WTS_NOTIFY_SHADOW_START

0x20

Session shadow start notification

WTS_NOTIFY_SHADOW_STOP

0x40

Session shadow stop notification

WTS_NOTIFY_TERMINATE

0x80

Session termination notification

WTS_NOTIFY_CONSOLE_CONNECT

0x100

Console session connection notification

WTS_NOTIFY_CONSOLE_DISCONNECT

0x200

Console session disconnect notification

WTS_NOTIFY_LOCK

0x400

Session lock notification

WTS_NOTIFY_UNLOCK

0x800

Session unlock notification

WTS_NOTIFY_ALL

0xffffffff

All notifications