1 write to s_systemEvents
Microsoft.Win32.SystemEvents (1)
Microsoft\Win32\SystemEvents.cs (1)
490
s_systemEvents
= systemEvents;
14 references to s_systemEvents
Microsoft.Win32.SystemEvents (14)
Microsoft\Win32\SystemEvents.cs (14)
391
IntPtr timerId = Interop.User32.SendMessageW(
s_systemEvents
!._windowHandle,
393
GC.KeepAlive(
s_systemEvents
);
408
Interop.Wtsapi32.WTSUnRegisterSessionNotification(
s_systemEvents
!._windowHandle);
409
GC.KeepAlive(
s_systemEvents
);
462
if (
s_systemEvents
is not null)
469
if (
s_systemEvents
is not null)
492
if (requireHandle &&
s_systemEvents
._windowHandle == IntPtr.Zero)
511
Interop.Wtsapi32.WTSRegisterSessionNotification(
s_systemEvents
!._windowHandle, Interop.Wtsapi32.NOTIFY_FOR_THIS_SESSION);
512
GC.KeepAlive(
s_systemEvents
);
758
int thread = Interop.User32.GetWindowThreadProcessId(
s_systemEvents
!._windowHandle, &pid);
782
Interop.User32.PostMessageW(
s_systemEvents
!._windowHandle, s_threadCallbackMessage, IntPtr.Zero, IntPtr.Zero);
791
if (
s_systemEvents
!._windowHandle != IntPtr.Zero)
793
int res = (int)Interop.User32.SendMessageW(
s_systemEvents
._windowHandle,
795
GC.KeepAlive(
s_systemEvents
);