LTwain::BitmapCallBack

#include "ltwrappr.h"

virtual L_INT LTwain::BitmapCallBack (pBitmap)

Handles each image provided by the calling function LTwain::Acquire.

Parameters

pBITMAPHANDLE pBitmap

Pointer to the bitmap handle that references the bitmap acquired from the TWAIN source. It is the same bitmap handle that you specify when calling the LTwain::Acquire function.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack(TRUE). You must handle the image during this callback.

To prevent memory leaks, the user should free the bitmap within the callback function.

The LTwain::GetExtendedImageInfo function can only be called within [LTwain:BitmapCallBack.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LTwain::Acquire.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.