Share via


Gdi::SetAbortProc_I (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.