12 references to Wtsapi32
Microsoft.Win32.SystemEvents (12)
Microsoft\Win32\SessionSwitchReason.cs (9)
17ConsoleConnect = Interop.Wtsapi32.WTS_CONSOLE_CONNECT, 22ConsoleDisconnect = Interop.Wtsapi32.WTS_CONSOLE_DISCONNECT, 27RemoteConnect = Interop.Wtsapi32.WTS_REMOTE_CONNECT, 32RemoteDisconnect = Interop.Wtsapi32.WTS_REMOTE_DISCONNECT, 37SessionLogon = Interop.Wtsapi32.WTS_SESSION_LOGON, 42SessionLogoff = Interop.Wtsapi32.WTS_SESSION_LOGOFF, 47SessionLock = Interop.Wtsapi32.WTS_SESSION_LOCK, 52SessionUnlock = Interop.Wtsapi32.WTS_SESSION_UNLOCK, 57SessionRemoteControl = Interop.Wtsapi32.WTS_SESSION_REMOTE_CONTROL
Microsoft\Win32\SystemEvents.cs (3)
408Interop.Wtsapi32.WTSUnRegisterSessionNotification(s_systemEvents!._windowHandle); 511Interop.Wtsapi32.WTSRegisterSessionNotification(s_systemEvents!._windowHandle, Interop.Wtsapi32.NOTIFY_FOR_THIS_SESSION);