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