BOOL DrvStartDoc(
IN SURFOBJ *pso, | |
IN PWSTR pwszDocName, | |
IN DWORD dwJobId | |
); |
DrvStartDoc sends any control information needed at the start of a document.
The return value is TRUE if the control information is received. Otherwise, it is FALSE, and an error code is logged.
The control codes should be sent using WritePrinter. See the Win32 SDK.
DrvStartDoc is required for printer drivers.