GdiplusAbort structure (gdiplustypes.h)
The GdiplusAbort structure provides a mechanism that allows Windows GDI+ to call an application-defined Abort method periodically during time-consuming rendering operations.
See GdiplusAbort::Abort.
Syntax
struct GdiplusAbort {
HRESULT Abort();
};
Members
Abort is an application-defined method that is called periodically by Windows GDI+ during time-consuming rendering operations. See the GdiplusAbort structure.
Remarks
The GdiplusAbort structure has only one method, a virtual method named Abort. The GdiplusAbort structure has no data members.
To create a callback method, follow these steps.
-
Create a structure that descends from GdiplusAbort, and implement the following method.
HRESULT __stdcall Abort(void)
- Create data members to hold any data that will be needed by the Abort method.
- Pass the address of the GdiplusAbort descendant to the Image::SetAbort method.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | gdiplustypes.h (include Gdiplus.h) |