1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
245_hWnd = NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
327GetProcessDpiAwareness(_hWnd, out appManifestProcessDpiAwareness, out processDpiAwareness); 338DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(_hWnd); 339CurrentDpiScale = GetDpiScaleForWindow(_hWnd); 687HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 702UnsafeNativeMethods.WTSUnRegisterSessionNotification(_hWnd); 749_hWnd, 867var hwndSource = HwndSource.FromHwnd(_hWnd); 904var newDpi = GetDpiScaleForWindow(_hWnd); 908var hwndSource = HwndSource.FromHwnd(_hWnd); 916var rcClient = SafeNativeMethods.GetClientRect(_hWnd.MakeHandleRef(this)); 957UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 964if (SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this))) 1004UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1032UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this, _hWnd), normalizeChildWindows: false, normalizePopups: true)); 1104UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1109result = CriticalHandleWMGetobject( wparam, lparam, RootVisual, _hWnd ); 1245UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1282UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1316UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1338UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1360HandleRef handleRef = new HandleRef(this, _hWnd); 1374&& !UnsafeNativeMethods.GetLayeredWindowAttributes(_hWnd.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) 1395UnsafeNativeMethods.EndPaint(_hWnd.MakeHandleRef(this), ref ps); 1400return EnsureAutomationPeer(root, _hWnd); 1594Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 1625HandleRef hWnd = _hWnd.MakeHandleRef(this); 1757_hWnd.MakeHandleRef(this), 1779_hWnd.MakeHandleRef(this), 1785UnsafeNativeMethods.InvalidateRect(new HandleRef(this, _hWnd), IntPtr.Zero, true); 1946bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this)); 1996/// ii. The initialization of this member depends on <see cref="_hWnd"/>, which is an 2154Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2155Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE); 2184UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED)); 2189UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED)); 2205UnsafeNativeMethods.UpdateLayeredWindow(_hWnd.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA); 2284UnsafeNativeMethods.PostMessage(new HandleRef(this, _hWnd), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero); 2318UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate, _hWnd.MakeHandleRef(this), 0, 0);