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