SetAbortProc (Windows CE 5.0)
This function sets the application-defined function that allows a print job to be canceled during printing.
int SetAbortProc( HDChdc, ABORTPROClpAbortProc);
Parameters
- hdc
[in] Handle to the device context (DC) for the print job. - lpAbortProc
[in] Long pointer to the application-defined abort function AbortProc.
Return Values
A value greater than zero indicates success. SP_ERROR indicates failure. To get extended error information, call GetLastError.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Wingdi.h.
Link Library: Mgprint.lib.
See Also
AbortProc | EndDoc | StartDoc | StartPage
Send Feedback on this topic to the authors