2 writes to windowHandle
System (2)
compmod\microsoft\win32\SystemEvents.cs (2)
512
windowHandle
= IntPtr.Zero;
750
windowHandle
= CreateBroadcastWindow();
17 references to windowHandle
System (17)
compmod\microsoft\win32\SystemEvents.cs (17)
493
IntPtr timerId = UnsafeNativeMethods.SendMessage(new HandleRef(systemEvents, systemEvents.
windowHandle
),
505
if (
windowHandle
!= IntPtr.Zero) {
508
UnsafeNativeMethods.WTSUnRegisterSessionNotification(new HandleRef(systemEvents, systemEvents.
windowHandle
));
511
IntPtr handle =
windowHandle
;
586
if (requireHandle && systemEvents.
windowHandle
== IntPtr.Zero) {
608
UnsafeNativeMethods.WTSRegisterSessionNotification(new HandleRef(systemEvents, systemEvents.
windowHandle
), NativeMethods.NOTIFY_FOR_THIS_SESSION);
751
Debug.Assert(
windowHandle
!= IntPtr.Zero, "CreateBroadcastWindow failed");
833
UnsafeNativeMethods.PostMessage(new HandleRef(systemEvents, systemEvents.
windowHandle
), threadCallbackMessage, IntPtr.Zero, IntPtr.Zero);
842
if (systemEvents.
windowHandle
!= IntPtr.Zero) {
843
int res = (int) UnsafeNativeMethods.SendMessage(new HandleRef(systemEvents, systemEvents.
windowHandle
),
857
IntPtr res = UnsafeNativeMethods.SetTimer(new HandleRef(this,
windowHandle
), new HandleRef(this, timerId), (int) wParam, NativeMethods.NullHandleRef);
891
bool res = UnsafeNativeMethods.KillTimer(new HandleRef(this,
windowHandle
), new HandleRef(this, wParam));
1399
if (systemEvents != null && systemEvents.
windowHandle
!= IntPtr.Zero) {
1414
UnsafeNativeMethods.PostMessage(new HandleRef(systemEvents, systemEvents.
windowHandle
), NativeMethods.WM_QUIT, IntPtr.Zero, IntPtr.Zero);
1450
UnsafeNativeMethods.PostMessage(new HandleRef(this,
windowHandle
), NativeMethods.WM_REFLECT + msg, wParam, newStringPtr);
1463
UnsafeNativeMethods.PostMessage(new HandleRef(this,
windowHandle
), NativeMethods.WM_REFLECT + msg, wParam, lParam);
1561
if (
windowHandle
!= IntPtr.Zero) {