21 references to HGDIOBJ
System.Private.Windows.Core (21)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (1)
37public static implicit operator HGDIOBJ(in CreateBitmapScope scope) => scope.HBITMAP;
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (1)
39public static implicit operator HGDIOBJ(in CreateBrushScope scope) => scope.HBRUSH;
Windows\Win32\Graphics\Gdi\CreateDcScope.cs (2)
53public static implicit operator HGDIOBJ(in CreateDcScope scope) => (HGDIOBJ)(scope.HDC.Value);
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (2)
33public static implicit operator HGDIOBJ(in CreatePenScope scope) => (HGDIOBJ)scope.HPEN.Value;
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (5)
8public static implicit operator HGDIOBJ(HDC value) => (HGDIOBJ)value.Value; 10public static explicit operator HFONT(HGDIOBJ value) => (HFONT)value.Value; 11public static explicit operator HBRUSH(HGDIOBJ value) => (HBRUSH)value.Value; 12public static explicit operator HBITMAP(HGDIOBJ value) => (HBITMAP)value.Value;
Windows\Win32\Graphics\Gdi\ObjectScope.cs (3)
21public HGDIOBJ HGDIOBJ { get; } 24public ObjectScope(HGDIOBJ @object) => HGDIOBJ = @object; 26public static implicit operator HGDIOBJ(in ObjectScope objectScope) => objectScope.HGDIOBJ;
Windows\Win32\Graphics\Gdi\SelectObjectScope.cs (3)
23public HGDIOBJ PreviousObject { get; } 27/// <see cref="PInvokeCore.SelectObject(HDC, HGDIOBJ)"/>. 29public SelectObjectScope(HDC hdc, HGDIOBJ @object)
Windows\Win32\PInvokeCore.GetObject.cs (2)
8/// <inheritdoc cref="GetObject(HGDIOBJ,int,void*)"/> 9public static unsafe bool GetObject<T>(HGDIOBJ h, out T @object) where T : unmanaged
Windows\Win32\UI\WindowsAndMessaging\ICONINFO.cs (2)
12PInvokeCore.DeleteObject((HGDIOBJ)hbmMask.Value); 18PInvokeCore.DeleteObject((HGDIOBJ)hbmColor.Value);