2 writes to HDC
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\GetDcScope.cs (2)
25
HDC
= PInvokeCore.GetDC(hwnd);
43
HDC
= PInvokeCore.GetDCEx(hwnd, hrgnClip, flags);
5 references to HDC
System.Private.Windows.Core (5)
Windows\Win32\Graphics\Gdi\GetDcScope.cs (5)
57
public bool IsNull =>
HDC
.IsNull;
59
public static implicit operator nint(in GetDcScope scope) => scope.
HDC
;
60
public static implicit operator HDC(in GetDcScope scope) => scope.
HDC
;
64
if (!
HDC
.IsNull)
66
PInvokeCore.ReleaseDC(HWND,
HDC
);