The DOCINFO structure contains the input and output filenames and other information used by the StartDoc function.
typedef struct { // di
int cbSize;
LPCTSTR lpszDocName;
LPCTSTR lpszOutput;
LPCTSTR lpszDatatype;
DWORD fwType; // Windows 95 only; ignored on Windows NT
} DOCINFO;
Value | Meaning |
---|---|
DI_APPBANDING | Applications that use banding should set this flag for optimal performance during printing. |
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in wingdi.h.
Unicode: Defined as Unicode and ANSI structures.
Printing and Print Spooler Overview, Printing and Print Spooler Structures, StartDoc