Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

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)

.

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);

.
Documentation
[OpenPrinter] on MSDN
.

OpenPrinterA(printerName, ref pHandle, ref defaults);

.

    if( OpenPrinter( szPrinterName.Normalize(), out hPrinter, IntPtr.Zero ) )

.

     if (OpenPrinter(xcvName,out hXcv, ref Defaults ))

Structures

.
Summary
.

   /// 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.


 
Access PInvoke.net directly from VS: