1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
244_hWnd = NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
326GetProcessDpiAwareness(_hWnd, out appManifestProcessDpiAwareness, out processDpiAwareness); 337DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(_hWnd); 338CurrentDpiScale = GetDpiScaleForWindow(_hWnd); 686HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 701UnsafeNativeMethods.WTSUnRegisterSessionNotification(_hWnd); 748_hWnd, 866var hwndSource = HwndSource.FromHwnd(_hWnd); 903var newDpi = GetDpiScaleForWindow(_hWnd); 907var hwndSource = HwndSource.FromHwnd(_hWnd); 915var rcClient = SafeNativeMethods.GetClientRect(_hWnd.MakeHandleRef(this)); 956UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 963if (SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this))) 1003UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1031UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this, _hWnd), normalizeChildWindows: false, normalizePopups: true)); 1103UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1108result = CriticalHandleWMGetobject( wparam, lparam, RootVisual, _hWnd ); 1244UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1281UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1315UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1337UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1359HandleRef handleRef = new HandleRef(this, _hWnd); 1373&& !UnsafeNativeMethods.GetLayeredWindowAttributes(_hWnd.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) 1394UnsafeNativeMethods.EndPaint(_hWnd.MakeHandleRef(this), ref ps); 1399return EnsureAutomationPeer(root, _hWnd); 1590Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 1621HandleRef hWnd = _hWnd.MakeHandleRef(this); 1753_hWnd.MakeHandleRef(this), 1775_hWnd.MakeHandleRef(this), 1781UnsafeNativeMethods.InvalidateRect(new HandleRef(this, _hWnd), IntPtr.Zero, true); 1942bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this)); 1992/// ii. The initialization of this member depends on <see cref="_hWnd"/>, which is an 2150Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2151Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE); 2180UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED)); 2185UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED)); 2201UnsafeNativeMethods.UpdateLayeredWindow(_hWnd.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA); 2280UnsafeNativeMethods.PostMessage(new HandleRef(this, _hWnd), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero); 2314UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate, _hWnd.MakeHandleRef(this), 0, 0);