DOCINFO
The DOCINFO
structure contains the input and output filenames and other information used by
the StartDoc
typedef struct {
// di
int cbSize;
LPCTSTR
lpszDocName;
LPCTSTR
lpszOutput;
LPCTSTR
lpszDatatype; // Windows 95 only;
ignored on Windows NT
DWORD fwType; // Windows 95 only; ignored on Windows
NT
} DOCINFO;
Members
cbSize
Specifies the
size, in bytes, of the structure.
lpszDocName
Points to a
null-terminated string that specifies the name of the document.
lpszOutput
Points to a
null-terminated string that specifies the name of an output file. If this
pointer is NULL, the output will be sent to the device identified by the device
context handle that was passed to the StartDoc function.
lpszDatatype
Windows
95: Points to a null-terminated
string that specifies the type of data used to record the print job.
Windows
NT: This member is ignored.
fwType
Windows
95: Specifies additional information
about the print job. Can be zero or DI_APPBANDING if the application will use
banding. For optimal performance during printing, banding applications should
specify DI_APPBANDING.
Windows
NT: This member is ignored.
See Also