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 "SetPrinter" in [All]

Structures

.

   /// the operation of the SetPrinter and DeletePrinter functions.

winspool

.

[DllImport("winspool.Drv", EntryPoint="ResetPrinterA", SetLastError=true, CharSet=CharSet.Ansi,ExactSpelling=true, CallingConvention=CallingConvention.StdCall)]

.

private static extern bool ResetPrinter(IntPtr hPrinter,ref PRINTER_DEFAULTS pd);

.

Declare Function ResetPrinter Lib "winspool.drv" (TODO) As TODO

.
Documentation
[ResetPrinter] on MSDN
.

static extern uint SetPrinterData(IntPtr hPrinter, string pValueName, uint Type, byte[] pData, uint cbData);

.
Documentation
[SetPrinterData] on MSDN
.

static extern uint SetPrinterData(IntPtr hPrinter, string pValueName, uint Type, byte[] pData, uint cbData);

.
Documentation
[SetPrinterData] on MSDN

 
Access PInvoke.net directly from VS: