int StartPage(hdc) | |||||
HDC hdc; | /* handle of device context | */ |
The StartPage function prepares the printer driver to accept data.
hdc
Identifies the device context for the print job.
The return value is greater than zero if the function is successful. It is less than or equal to zero if an error occurs.
The system disables the ResetDC function between calls to the StartPage and EndPage functions. This means that applications cannot change the device mode except at page boundaries.