Пример #1
0
 public static extern bool ResetPrinter(
     [In] IntPtr hPrinter,
     [In, Optional] PRINTER_DEFAULTS pDefault
     );
Пример #2
0
 public static extern bool OpenPrinter(
     [In, Optional, MarshalAs(UnmanagedType.LPWStr)] string pPrinterName,
     [Out] IntPtr phPrinter,
     [In, Optional] PRINTER_DEFAULTS pDefault
     );