2 writes to _hPowerNotify
PresentationCore (2)
System\Windows\InterOp\HwndTarget.cs (2)
2574
_hPowerNotify
= UnsafeNativeMethods.RegisterPowerSettingNotification(_notificationHwnd.Handle, &monitorGuid, 0);
2588
_hPowerNotify
= IntPtr.Zero;
2 references to _hPowerNotify
PresentationCore (2)
System\Windows\InterOp\HwndTarget.cs (2)
2585
if (
_hPowerNotify
!= IntPtr.Zero)
2587
UnsafeNativeMethods.UnregisterPowerSettingNotification(
_hPowerNotify
);