Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method sets the application-defined function that allows a print job to be canceled during printing.
static WINGDIAPI int WINAPI SetAbortProc_I(HDChdc,ABORTPROClpAbortProc);
Parameters
- hdc
[in] Handle to the device context for the print job. - lpAbortProc
[in] Long pointer to the application-defined abort function.
Return Values
A value greater than zero indicates success.
SP_ERROR indicates failure.
To get extended error information, call GetLastError.
Remarks
This method is an internal version of the SetAbortProc function.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.
See Also
Gdi | SetAbortProc | Gdi::EndDoc_I | Gdi::StartDocW_I | Gdi::StartPage_I
Send Feedback on this topic to the authors