DrvStartDoc (Windows CE 5.0)
This function sends any control information needed at the start of a document.
BOOL DrvStartDoc(SURFOBJ* pso,PWSTR pwszDocName,DWORD dwJobId);
Parameters
- pso
[in] Pointer to the surface object. You can query the object to find its type and which PDEV structure it is associated with. - pwszDocName
[in] Pointer to a zero-terminated Unicode string that specifies the user-readable name of the document the user is printing. - dwJobId
[in] Identifier for the print job. This value returns to GDI from the spooler in a call to the StartDocPrinter function.
Return Values
TRUE indicates success. FALSE indicates failure.
Remarks
This function is required for printer drivers.
The WritePrinter function sends the control codes.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winddi.h.
Send Feedback on this topic to the authors