Desktop Functions: Smart Device Functions:
|
StartDocPrinter (winspool)
C# Signature:
[DllImport("winspool.dll", SetLastError=true)] VB Signature:
Declare Function StartDocPrinter Lib "winspool.dll" (TODO) As TODO
<DllImport("winspool.drv", EntryPoint:="StartDocPrinterA", ExactSpelling:=True, SetLastError:=True, CallingConvention:=CallingConvention.StdCall, CharSet:=CharSet.Ansi)> _ This implementation of StartDocPrinter must be used with the ANSI version of DOC_INFO_1. User-Defined Types:Alternative Managed API:Do you know one? Please contribute it! Notes:StartDocPrinter returns a PrintJobIdentifier (integer value) and must not be declared Boolean! According to MSDN the second parameter "level" must always be 1 Tips & Tricks:Please add some! Sample Code:
Public Function StartDoc(hPrinter as IntPtr, ByVal documentTitle As String) As Boolean Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|