2 instantiations of CreateDcScope
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\HBITMAP.cs (2)
24using CreateDcScope sourceDC = new(screenDC); 28using CreateDcScope destinationDC = new(screenDC);
8 references to CreateDcScope
System.Private.Windows.Core (8)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (4)
52public static implicit operator HDC(in CreateDcScope scope) => scope.HDC; 53public static unsafe implicit operator HGDIOBJ(in CreateDcScope scope) => (HGDIOBJ)(scope.HDC.Value); 54public static implicit operator nint(in CreateDcScope scope) => scope.HDC; 55public static explicit operator WPARAM(in CreateDcScope scope) => (WPARAM)(nuint)(nint)scope.HDC;
Windows\Win32\Graphics\Gdi\HBITMAP.cs (2)
24using CreateDcScope sourceDC = new(screenDC); 28using CreateDcScope destinationDC = new(screenDC);
Windows\Win32\Graphics\Gdi\HdcHandle.cs (2)
13/// Take ownership from a <see cref="CreateDcScope"/>. 15public HdcHandle(CreateDcScope hdc)