2 writes to HDC
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (2)
34HDC = PInvokeCore.CreateCompatibleDC(hdc); 46HDC = informationOnly
7 references to HDC
System.Private.Windows.Core (7)
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (7)
52public static implicit operator HDC(in CreateDcScope scope) => scope.HDC; 53public static 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; 57public bool IsNull => HDC.IsNull; 61if (!HDC.IsNull) 63PInvokeCore.DeleteDC(HDC);