3 instantiations of PRINTER_HANDLE
System.Windows.Forms.Primitives (3)
_generated\429\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());
22 references to PRINTER_HANDLE
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrinterSettingsExtensions.cs (2)
26modeSize = PInvoke.DocumentProperties(HWND.Null, global::Windows.Win32.Graphics.Printing.PRINTER_HANDLE.Null, n, null, (DEVMODEW*)null, 0); 40global::Windows.Win32.Graphics.Printing.PRINTER_HANDLE.Null,
System.Windows.Forms.Primitives (20)
_generated\427\Windows.Win32.PInvoke.winspool.drv.g.cs (7)
36 internal static winmdroot.Foundation.BOOL ClosePrinter(winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter) 44 static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter); 47 /// <inheritdoc cref="DocumentProperties(winmdroot.Foundation.HWND, winmdroot.Graphics.Printing.PRINTER_HANDLE, winmdroot.Foundation.PWSTR, winmdroot.Graphics.Gdi.DEVMODEW*, winmdroot.Graphics.Gdi.DEVMODEW*, uint)"/> 49 internal static unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, out winmdroot.Graphics.Gdi.DEVMODEW pDevModeOutput, [Optional] winmdroot.Graphics.Gdi.DEVMODEW? pDevModeInput, uint fMode) 59 /// <inheritdoc cref="DocumentProperties(winmdroot.Foundation.HWND, winmdroot.Graphics.Printing.PRINTER_HANDLE, winmdroot.Foundation.PWSTR, winmdroot.Graphics.Gdi.DEVMODEW*, winmdroot.Graphics.Gdi.DEVMODEW*, uint)"/> 60 internal static unsafe int DocumentProperties([Optional] winmdroot.Foundation.HWND hWnd, winmdroot.Graphics.Printing.PRINTER_HANDLE hPrinter, winmdroot.Foundation.PWSTR pDeviceName, [Optional] winmdroot.Graphics.Gdi.DEVMODEW? pDevModeInput, uint fMode) 90 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\429\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());