1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
244
_hWnd
= NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
326
GetProcessDpiAwareness(
_hWnd
, out appManifestProcessDpiAwareness, out processDpiAwareness);
337
DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(
_hWnd
);
338
CurrentDpiScale = GetDpiScaleForWindow(
_hWnd
);
686
HRESULT.Check(VisualTarget_DetachFromHwnd(
_hWnd
));
701
UnsafeNativeMethods.WTSUnRegisterSessionNotification(
_hWnd
);
748
_hWnd
,
866
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
903
var newDpi = GetDpiScaleForWindow(
_hWnd
);
907
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
915
var rcClient = SafeNativeMethods.GetClientRect(
_hWnd
.MakeHandleRef(this));
956
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
963
if (SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this)))
1003
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1031
UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this,
_hWnd
), normalizeChildWindows: false, normalizePopups: true));
1103
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1108
result = CriticalHandleWMGetobject( wparam, lparam, RootVisual,
_hWnd
);
1244
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1281
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1315
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1337
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1359
HandleRef handleRef = new HandleRef(this,
_hWnd
);
1373
&& !UnsafeNativeMethods.GetLayeredWindowAttributes(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero)
1394
UnsafeNativeMethods.EndPaint(
_hWnd
.MakeHandleRef(this), ref ps);
1399
return EnsureAutomationPeer(root,
_hWnd
);
1590
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
1621
HandleRef hWnd =
_hWnd
.MakeHandleRef(this);
1753
_hWnd
.MakeHandleRef(this),
1775
_hWnd
.MakeHandleRef(this),
1781
UnsafeNativeMethods.InvalidateRect(new HandleRef(this,
_hWnd
), IntPtr.Zero, true);
1942
bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this));
1992
/// ii. The initialization of this member depends on <see cref="
_hWnd
"/>, which is an
2150
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
2151
Int32 exStyle = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE);
2180
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED));
2185
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED));
2201
UnsafeNativeMethods.UpdateLayeredWindow(
_hWnd
.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA);
2280
UnsafeNativeMethods.PostMessage(new HandleRef(this,
_hWnd
), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero);
2314
UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate,
_hWnd
.MakeHandleRef(this), 0, 0);