6 references to CreateDcScope
System.Private.Windows.Core (6)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (4)
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;
Windows\Win32\Graphics\Gdi\HdcHandle.cs (2)
13
/// Take ownership from a <see cref="
CreateDcScope
"/>.
15
public HdcHandle(
CreateDcScope
hdc)