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