ImageAbort callback function (gdiplustypes.h)

ImageAbort is the signature of a callback function that you implement in your application. During the process of creating or retrieving a thumbnail image, or drawing an image, GDI+ calls this function to give you the opportunity to abort the process.

Examples of the callback function in use are the corresponding parameters of the Image::GetThumbnailImage method, and the Graphics::DrawImage method.


ImageAbort Imageabort;

BOOL Imageabort(
  VOID *unnamedParam1



Type: VOID*

The callback data.

Return value

Type: BOOL

Return TRUE to abort; otherwise FALSE.


Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header gdiplustypes.h

See also

Image::GetThumbnailImage method

Graphics::DrawImage method