1 write to _hWnd
PresentationCore (1)
System\Windows\InterOp\HwndTarget.cs (1)
247
_hWnd
= NativeMethods.HWND.Cast(hwnd);
38 references to _hWnd
PresentationCore (38)
System\Windows\InterOp\HwndTarget.cs (38)
329
GetProcessDpiAwareness(
_hWnd
, out appManifestProcessDpiAwareness, out processDpiAwareness);
340
DpiAwarenessContext = (DpiAwarenessContextValue)DpiUtil.GetDpiAwarenessContext(
_hWnd
);
341
CurrentDpiScale = GetDpiScaleForWindow(
_hWnd
);
689
HRESULT.Check(VisualTarget_DetachFromHwnd(
_hWnd
));
704
UnsafeNativeMethods.WTSUnRegisterSessionNotification(
_hWnd
);
751
_hWnd
,
869
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
906
var newDpi = GetDpiScaleForWindow(
_hWnd
);
910
var hwndSource = HwndSource.FromHwnd(
_hWnd
);
918
var rcClient = SafeNativeMethods.GetClientRect(
_hWnd
.MakeHandleRef(this));
959
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
966
if (SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this)))
1006
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1034
UnsafeNativeMethods.EnableNonClientDpiScaling(NormalizeWindow(new HandleRef(this,
_hWnd
), normalizeChildWindows: false, normalizePopups: true));
1106
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1111
result = CriticalHandleWMGetobject( wparam, lparam, RootVisual,
_hWnd
);
1247
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1284
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero , true);
1318
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1340
UnsafeNativeMethods.InvalidateRect(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, true);
1362
HandleRef handleRef = new HandleRef(this,
_hWnd
);
1376
&& !UnsafeNativeMethods.GetLayeredWindowAttributes(
_hWnd
.MakeHandleRef(this), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero)
1397
UnsafeNativeMethods.EndPaint(
_hWnd
.MakeHandleRef(this), ref ps);
1402
return EnsureAutomationPeer(root,
_hWnd
);
1598
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
1629
HandleRef hWnd =
_hWnd
.MakeHandleRef(this);
1761
_hWnd
.MakeHandleRef(this),
1783
_hWnd
.MakeHandleRef(this),
1789
UnsafeNativeMethods.InvalidateRect(new HandleRef(this,
_hWnd
), IntPtr.Zero, true);
1950
bool enableRenderTarget = SafeNativeMethods.IsWindowVisible(
_hWnd
.MakeHandleRef(this));
2000
/// ii. The initialization of this member depends on <see cref="
_hWnd
"/>, which is an
2158
Int32 style = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_STYLE);
2159
Int32 exStyle = UnsafeNativeMethods.GetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE);
2188
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle | NativeMethods.WS_EX_LAYERED));
2193
UnsafeNativeMethods.SetWindowLong(
_hWnd
.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE, new IntPtr(exStyle & ~NativeMethods.WS_EX_LAYERED));
2207
UnsafeNativeMethods.UpdateLayeredWindow(
_hWnd
.h, IntPtr.Zero, null, null, IntPtr.Zero, null, 0, ref blend, NativeMethods.ULW_ALPHA);
2286
UnsafeNativeMethods.PostMessage(new HandleRef(this,
_hWnd
), s_updateWindowSettings, IntPtr.Zero, IntPtr.Zero);
2320
UnsafeNativeMethods.NotifyWinEvent(UnsafeNativeMethods.EventObjectUIFragmentCreate,
_hWnd
.MakeHandleRef(this), 0, 0);