3 instantiations of PRINTER_HANDLE
System.Drawing.Common (3)
_generated\22\Windows.Win32.PRINTER_HANDLE.g.cs (3)
41
public static explicit operator PRINTER_HANDLE(void* value) => new
PRINTER_HANDLE
(value);
57
public static explicit operator PRINTER_HANDLE(IntPtr value) => new
PRINTER_HANDLE
((void*)value.ToPointer());
59
public static explicit operator PRINTER_HANDLE(UIntPtr value) => new
PRINTER_HANDLE
((void*)value.ToPointer());
17 references to PRINTER_HANDLE
System.Drawing.Common (17)
_generated\20\Windows.Win32.PInvoke.winspool.drv.g.cs (3)
54
internal static winmdroot.Foundation.BOOL ClosePrinter(winmdroot.Graphics.Printing.
PRINTER_HANDLE
hPrinter)
62
static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Graphics.Printing.
PRINTER_HANDLE
hPrinter);
88
internal static extern unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.
PRINTER_HANDLE
hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeOutput, [Optional] winmdroot.Graphics.Gdi.DEVMODEW* pDevModeInput, uint fMode);
_generated\22\Windows.Win32.PRINTER_HANDLE.g.cs (13)
25
: IEquatable<
PRINTER_HANDLE
>
35
internal static
PRINTER_HANDLE
Null => default;
39
public static implicit operator void*(
PRINTER_HANDLE
value) => value.Value;
41
public static explicit operator
PRINTER_HANDLE
(void* value) => new PRINTER_HANDLE(value);
43
public static bool operator ==(
PRINTER_HANDLE
left,
PRINTER_HANDLE
right) => left.Value == right.Value;
45
public static bool operator !=(
PRINTER_HANDLE
left,
PRINTER_HANDLE
right) => !(left == right);
47
public bool Equals(
PRINTER_HANDLE
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
PRINTER_HANDLE
other && this.Equals(other);
55
public static implicit operator IntPtr(
PRINTER_HANDLE
value) => new IntPtr(value.Value);
57
public static explicit operator
PRINTER_HANDLE
(IntPtr value) => new PRINTER_HANDLE((void*)value.ToPointer());
59
public static explicit operator
PRINTER_HANDLE
(UIntPtr value) => new PRINTER_HANDLE((void*)value.ToPointer());
System\Drawing\Printing\PageSettings.cs (1)
327
global::Windows.Win32.Graphics.Printing.
PRINTER_HANDLE
.Null,