StartDocPrinter (Structures)
Last changed: Daniel Earwicker-213.120.211.66

.
Summary
Informs the print spooler that a document is to be spooled for printing.

C# Definition:

using System.Runtime.InteropServices; // for CharSet

[DllImport("winspool.drv", EntryPoint="StartDocPrinterA", SetLastError=true,
  CharSet=CharSet.Ansi,
  ExactSpelling=true,
  CallingConvention=CallingConvention.StdCall)]
private static extern uint StartDocPrinter(
  IntPtr hPrinter,
  Int32 level,  
  [In, MarshalAs(UnmanagedType.LPStruct)] DOC_INFO_1 di);

VB Definition:

Structure StartDocPrinter
   Public TODO
End Structure

User-Defined Field Types:

None.

Notes:

See DOC_INFO_1 .

Documentation