3 instantiations of HFONT
Microsoft.Private.Windows.Core (3)
Windows.Win32.HFONT.g.cs (3)
41
public static explicit operator HFONT(void* value) => new
HFONT
(value);
57
public static explicit operator HFONT(IntPtr value) => new
HFONT
((void*)value.ToPointer());
59
public static explicit operator HFONT(UIntPtr value) => new
HFONT
((void*)value.ToPointer());
22 references to HFONT
Microsoft.Private.Windows.Core (22)
Windows.Win32.HFONT.g.cs (14)
25
: IEquatable<
HFONT
>
35
internal static
HFONT
Null => default;
39
public static implicit operator void*(
HFONT
value) => value.Value;
41
public static explicit operator
HFONT
(void* value) => new HFONT(value);
43
public static bool operator ==(
HFONT
left,
HFONT
right) => left.Value == right.Value;
45
public static bool operator !=(
HFONT
left,
HFONT
right) => !(left == right);
47
public bool Equals(
HFONT
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HFONT
other && this.Equals(other);
55
public static implicit operator IntPtr(
HFONT
value) => new IntPtr(value.Value);
57
public static explicit operator
HFONT
(IntPtr value) => new HFONT((void*)value.ToPointer());
59
public static explicit operator
HFONT
(UIntPtr value) => new HFONT((void*)value.ToPointer());
61
public static implicit operator HGDIOBJ(
HFONT
value) => new HGDIOBJ(value.Value);
Windows.Win32.PInvokeCore.GDI32.dll.g.cs (3)
264
internal static unsafe winmdroot.Graphics.Gdi.
HFONT
CreateFontIndirect(in winmdroot.Graphics.Gdi.LOGFONTW lplf)
268
winmdroot.Graphics.Gdi.
HFONT
__result = PInvokeCore.CreateFontIndirect(lplfLocal);
284
internal static extern unsafe winmdroot.Graphics.Gdi.
HFONT
CreateFontIndirect(winmdroot.Graphics.Gdi.LOGFONTW* lplf);
Windows\Win32\Foundation\LRESULT.cs (2)
13
public static explicit operator
HFONT
(LRESULT value) => (
HFONT
)value.Value;
Windows\Win32\Foundation\WPARAM.cs (1)
19
public static explicit operator WPARAM(
HFONT
value) => new((nuint)value.Value);
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (2)
10
public static explicit operator
HFONT
(HGDIOBJ value) => (
HFONT
)value.Value;