Desktop Functions: Smart Device Functions:
|
Search Results for "OpenPrinter" in [All]winspool
private void OpenPrinterPropertiesDialog(PrinterSettings printerSettings)
private void OpenPrinterPropertiesDialog(PrinterSettings printerSettings)
private void OpenPrinterPropertiesDialog(PrinterSettings printerSettings)
private void OpenPrinterPropertiesDialog(PrinterSettings printerSettings) 2: OpenPrinter
static extern int OpenPrinter(string pPrinterName, out IntPtr phPrinter, ref PRINTER_DEFAULTS pDefault);
static extern int OpenPrinter(string pPrinterName, out IntPtr phPrinter, IntPtr pDefault);
[DllImport("winspool.Drv", EntryPoint = "OpenPrinterA", SetLastError = true, CharSet = CharSet.Ansi, ExactSpelling = true, CallingConvention = CallingConvention.StdCall)]
private static extern bool OpenPrinter([MarshalAs(UnmanagedType.LPStr)] string szPrinter, out IntPtr hPrinter, Int32 pDefault);
static extern unsafe bool OpenPrinter(string pPrinterName, out IntPtr phPrinter, PRINTER_DEFAULTS pDefault);
<DllImport("winspool.drv", EntryPoint:="OpenPrinterA", _
Private Shared Function OpenPrinter(ByVal pPrinterName As String, _
<DllImport("winspool.drv", EntryPoint:="OpenPrinterA", ExactSpelling:=True, _
Private Shared Function OpenPrinter(ByVal pPrinterName As String, _
<DllImport("winspool.drv", EntryPoint:="OpenPrinterA", ExactSpelling:=True, _
Private Shared Function OpenPrinter(ByVal pPrinterName As String, _
[<DllImport("winspool.drv", EntryPoint="OpenPrinterA", SetLastError=true, CharSet=CharSet.Ansi, ExactSpelling=true,
extern bool private OpenPrinter([<MarshalAs(UnmanagedType.LPStr)>] string pPrinterName,
OpenPrinter(printerName, out pHandle, defaults); 3: SetJob
OpenPrinterA(printerName, ref pHandle, ref defaults); 4: WritePrinter
if( OpenPrinter( szPrinterName.Normalize(), out hPrinter, IntPtr.Zero ) ) 5: XcvData
if (OpenPrinter(xcvName,out hXcv, ref Defaults )) Structures
/// The <see cref="OpenPrinter(string, out IntPtr, IntPtr)"/> function uses If you use the class-version, you only need one OpenPrinter declaration, because you can pass NULL or an object references. |