1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
247_hWnd = NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
329GetProcessDpiAwareness(_hWnd, out appManifestProcessDpiAwareness, out processDpiAwareness); 340DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(_hWnd); 341CurrentDpiScale = GetDpiScaleForWindow(_hWnd); 689HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 704UnsafeNativeMethods.WTSUnRegisterSessionNotification(_hWnd); 751_hWnd, 869var hwndSource = HwndSource.FromHwnd(_hWnd); 906var newDpi = GetDpiScaleForWindow(_hWnd); 910var hwndSource = HwndSource.FromHwnd(_hWnd); 918var rcClient = SafeNativeMethods.GetClientRect(_hWnd.MakeHandleRef(this)); 959UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 966if (SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this))) 1006UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1034UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this, _hWnd), normalizeChildWindows: false, normalizePopups: true)); 1106UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1111result = CriticalHandleWMGetobject( wparam, lparam, RootVisual, _hWnd ); 1247UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1284UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1318UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1340UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1362HandleRef handleRef = new HandleRef(this, _hWnd); 1376&& !UnsafeNativeMethods.GetLayeredWindowAttributes(_hWnd.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) 1397UnsafeNativeMethods.EndPaint(_hWnd.MakeHandleRef(this), ref ps); 1402return EnsureAutomationPeer(root, _hWnd); 1598Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 1629HandleRef hWnd = _hWnd.MakeHandleRef(this); 1761_hWnd.MakeHandleRef(this), 1783_hWnd.MakeHandleRef(this), 1789UnsafeNativeMethods.InvalidateRect(new HandleRef(this, _hWnd), IntPtr.Zero, true); 1950bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this)); 2000/// ii. The initialization of this member depends on <see cref="_hWnd"/>, which is an 2158Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2159Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE); 2188UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED)); 2193UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED)); 2207UnsafeNativeMethods.UpdateLayeredWindow(_hWnd.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA); 2286UnsafeNativeMethods.PostMessage(new HandleRef(this, _hWnd), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero); 2320UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate, _hWnd.MakeHandleRef(this), 0, 0);