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