1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
260_hWnd = NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
342GetProcessDpiAwareness(_hWnd, out appManifestProcessDpiAwareness, out processDpiAwareness); 353DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(_hWnd); 354CurrentDpiScale = GetDpiScaleForWindow(_hWnd); 702HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 717UnsafeNativeMethods.WTSUnRegisterSessionNotification(_hWnd); 764_hWnd, 882var hwndSource = HwndSource.FromHwnd(_hWnd); 919var newDpi = GetDpiScaleForWindow(_hWnd); 923var hwndSource = HwndSource.FromHwnd(_hWnd); 931var rcClient = SafeNativeMethods.GetClientRect(_hWnd.MakeHandleRef(this)); 972UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 979if (SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this))) 1019UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1047UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this, _hWnd), normalizeChildWindows: false, normalizePopups: true)); 1119UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1124result = CriticalHandleWMGetobject( wparam, lparam, RootVisual, _hWnd ); 1260UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1297UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1331UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1353UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1375HandleRef handleRef = new HandleRef(this, _hWnd); 1389&& !UnsafeNativeMethods.GetLayeredWindowAttributes(_hWnd.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) 1410UnsafeNativeMethods.EndPaint(_hWnd.MakeHandleRef(this), ref ps); 1415return EnsureAutomationPeer(root, _hWnd); 1611Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 1642HandleRef hWnd = _hWnd.MakeHandleRef(this); 1774_hWnd.MakeHandleRef(this), 1796_hWnd.MakeHandleRef(this), 1802UnsafeNativeMethods.InvalidateRect(new HandleRef(this, _hWnd), IntPtr.Zero, true); 1963bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this)); 2013/// ii. The initialization of this member depends on <see cref="_hWnd"/>, which is an 2171Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2172Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE); 2201UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED)); 2206UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED)); 2220UnsafeNativeMethods.UpdateLayeredWindow(_hWnd.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA); 2299UnsafeNativeMethods.PostMessage(new HandleRef(this, _hWnd), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero); 2333UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate, _hWnd.MakeHandleRef(this), 0, 0);