WTS_NOTIFY_CREATE Session creation notification 0x1 WTS_NOTIFY_CONNECT Session connection notification 0x2 WTS_NOTIFY_DISCONNECT Session disconnection 0x4 notification WTS_NOTIFY_LOGON Session logon notification 0x8 WTS_NOTIFY_LOGOFF Session logoff notification 0x10 WTS_NOTIFY_SHADOW_START Session shadow notification 0x20 WTS_NOTIFY_SHADOW_STOP Session shadow stop notification 0x40 WTS_NOTIFY_TERMINATE Session termination notification 0x80 WTS_NOTIFY_CONSOLE_CONNECT Console session connection notification WTS_NOTIFY_CONSOLE_DISCONNECT Console session disconnect 0x200 notification WTS_NOTIFY_LOCK Session lock notification WTS_NOTIFY_UNLOCK Session unlock notification 0x800 WTS_NOTIFY_ALL All notifications 0xffffffff NOTIFY_HANDLE A handle to a notification object. Used in asynchronous calls such as and . This type is declared as follows: typedef [context_handle] void* NOTIFY_HANDLE;
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 notification WTS_NOTIFY_SHADOW_STOP 0x40 Session shadow stop notification WTS_NOTIFY_TERMINATE 0x80 Session termination notification WTS_NOTIFY_CONSOLE_CONNECT Console session connection notification WTS_NOTIFY_CONSOLE_DISCONNECT 0x200 Console session disconnect notification WTS_NOTIFY_LOCK Session lock notification WTS_NOTIFY_UNLOCK 0x800 Session unlock notification WTS_NOTIFY_ALL 0xffffffff All notifications NOTIFY_HANDLE A handle to a notification object. Used in asynchronous calls such as and . This type is declared as follows: typedef [context_handle] void* NOTIFY_HANDLE;
%5BMS-TSTS%5D-160714.docx