typedef struct { /* di */
int cbSize;
LPCSTR lpszDocName;
LPCSTR lpszOutput;
} DOCINFO;
The DOCINFO structure contains the input and output filenames used by the StartDoc function.
cbSize
Specifies the size of the structure, in bytes.
lpszDocName
Points to a null-terminated string specifying the name of the document. This string must not be longer than 32 characters, including the null terminating character.
lpszOutput
Points to a null-terminated string specifying the name of an output file. This allows a print job to be redirected to a file. If this value is NULL, output goes to the device for the specified device context.