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)
327
GetProcessDpiAwareness(
_hWnd
, out appManifestProcessDpiAwareness, out processDpiAwareness);
338
DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(
_hWnd
);
339
CurrentDpiScale = GetDpiScaleForWindow(
_hWnd
);
687
HRESULT.Check(VisualTarget_DetachFromHwnd(
_hWnd
));
702
UnsafeNativeMethods.WTSUnRegisterSessionNotification(
_hWnd
);
749
_hWnd
,
867
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
904
var newDpi = GetDpiScaleForWindow(
_hWnd
);
908
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
916
var rcClient = SafeNativeMethods.GetClientRect(
_hWnd
.MakeHandleRef(this));
957
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
964
if (SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this)))
1004
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1032
UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this,
_hWnd
), normalizeChildWindows: false, normalizePopups: true));
1104
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1109
result = CriticalHandleWMGetobject( wparam, lparam, RootVisual,
_hWnd
);
1245
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1282
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1316
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1338
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1360
HandleRef handleRef = new HandleRef(this,
_hWnd
);
1374
&& !UnsafeNativeMethods.GetLayeredWindowAttributes(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero)
1395
UnsafeNativeMethods.EndPaint(
_hWnd
.MakeHandleRef(this), ref ps);
1400
return EnsureAutomationPeer(root,
_hWnd
);
1591
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
1622
HandleRef hWnd =
_hWnd
.MakeHandleRef(this);
1754
_hWnd
.MakeHandleRef(this),
1776
_hWnd
.MakeHandleRef(this),
1782
UnsafeNativeMethods.InvalidateRect(new HandleRef(this,
_hWnd
), IntPtr.Zero, true);
1943
bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this));
1993
/// ii. The initialization of this member depends on <see cref="
_hWnd
"/>, which is an
2151
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
2152
Int32 exStyle = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE);
2181
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED));
2186
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED));
2202
UnsafeNativeMethods.UpdateLayeredWindow(
_hWnd
.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA);
2281
UnsafeNativeMethods.PostMessage(new HandleRef(this,
_hWnd
), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero);
2315
UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate,
_hWnd
.MakeHandleRef(this), 0, 0);