2 writes to HDC
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (2)
34
HDC
= PInvokeCore.CreateCompatibleDC(hdc);
46
HDC
= informationOnly
7 references to HDC
System.Private.Windows.Core (7)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (7)
52
public static implicit operator HDC(in CreateDcScope scope) => scope.
HDC
;
53
public static unsafe implicit operator HGDIOBJ(in CreateDcScope scope) => (HGDIOBJ)(scope.
HDC
.Value);
54
public static implicit operator nint(in CreateDcScope scope) => scope.
HDC
;
55
public static explicit operator WPARAM(in CreateDcScope scope) => (WPARAM)(nuint)(nint)scope.
HDC
;
57
public bool IsNull =>
HDC
.IsNull;
61
if (!
HDC
.IsNull)
63
PInvokeCore.DeleteDC(
HDC
);