Gdi::SetAbortProc_I (Windows Embedded CE 6.0)
1/6/2010
This method sets the application-defined function that allows a print job to be canceled during printing.
Syntax
static WINGDIAPI int WINAPI SetAbortProc_I(
HDC hdc,
ABORTPROC lpAbortProc
);
Parameters
- hdc
[in] Handle to the device context for the print job.
- lpAbortProc
[in] Long pointer to the application-defined abort function.
Return Value
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
Header | gdi.hpp |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
Gdi
SetAbortProc
Gdi::EndDoc_I
Gdi::StartDocW_I
Gdi::StartPage_I