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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "GetPrinter" in [All]

Enums

.

   /// but it can be retrieved by EnumPrinters and GetPrinter.

winspool

. .

    [DllImport("winspool.drv", EntryPoint = "GetPrinterA", SetLastError = true,

.

    private static extern bool GetPrinter(IntPtr hPrinter, int dwLevel,

.
Documentation
[getprinter] on MSDN
.

static extern uint GetPrinterData(IntPtr hPrinter, string pValueName, out uint pType, byte[] pData, uint nSize, out uint pcbNeeded);

.
Documentation
[GetPrinterData] on MSDN
.

    public static extern bool GetPrinterDriver(IntPtr hPrinter,

.

Declare Function GetPrinterDriver Lib "winspool.dll" (TODO) As TODO

.

    private String GetPrinterDriver(string printerName)

.

            GetPrinterDriver(hPrinter, null, DRIVER_INFO_8, pDriverInfo, 0, out bytesNeeded);

.

            if (GetPrinterDriver(hPrinter, null, DRIVER_INFO_8, pDriverInfo, (int)bytesNeeded, out bytesNeeded))

.
Documentation
[GetPrinterDriver] on MSDN
.

    static extern bool GetPrinterDriverDirectory(StringBuilder pName,

.

Declare Function GetPrinterDriverDir Lib "winspool.dll" (TODO) As TODO

.

    private String GetPrinterDriverDir()

.
Documentation
[GetPrinterDriverDir] on MSDN

 
Access PInvoke.net directly from VS: