1 write to _hWnd
PresentationCore (1)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
293_hWnd = NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
Core\CSharp\System\Windows\Interop\HwndTarget.cs (38)
371GetProcessDpiAwareness(_hWnd, out appManifestProcessDpiAwareness, out processDpiAwareness); 382DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(_hWnd); 383_currentDpiScale = GetDpiScaleForWindow(_hWnd); 761HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 776UnsafeNativeMethods.WTSUnRegisterSessionNotification(_hWnd); 829_hWnd, 956var hwndSource = HwndSource.FromHwnd(_hWnd); 997var newDpi = GetDpiScaleForWindow(_hWnd); 1001var hwndSource = HwndSource.FromHwnd(_hWnd); 1009var rcClient = SafeNativeMethods.GetClientRect(_hWnd.MakeHandleRef(this)); 1056UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1063if (SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this))) 1103UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1131UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this, _hWnd), normalizeChildWindows: false, normalizePopups: true)); 1202UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1207result = CriticalHandleWMGetobject( wparam, lparam, RootVisual, _hWnd ); 1344UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1382UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero , true); 1424UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1451UnsafeNativeMethods.InvalidateRect(_hWnd.MakeHandleRef(this), IntPtr.Zero, true); 1478HandleRef handleRef = new HandleRef(this, _hWnd); 1492&& !UnsafeNativeMethods.GetLayeredWindowAttributes(_hWnd.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) 1513UnsafeNativeMethods.EndPaint(_hWnd.MakeHandleRef(this), ref ps); 1523return EnsureAutomationPeer(root, _hWnd); 1758Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 1794HandleRef hWnd = _hWnd.MakeHandleRef(this); 1930_hWnd.MakeHandleRef(this), 1957_hWnd.MakeHandleRef(this), 1963UnsafeNativeMethods.InvalidateRect(new HandleRef(this, _hWnd), IntPtr.Zero, true); 2136bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(_hWnd.MakeHandleRef(this)); 2186/// ii. The initialization of this member depends on <see cref="_hWnd"/>, which is an 2348Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2349Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE); 2378UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED)); 2383UnsafeNativeMethods.SetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED)); 2395UnsafeNativeMethods.UpdateLayeredWindow(_hWnd.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA); 2473UnsafeNativeMethods.PostMessage(new HandleRef(this, _hWnd), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero); 2514UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate, _hWnd.MakeHandleRef(this), 0, 0);