LTwain::SaveErrorCallBack

#include "ltwrappr.h"

virtual L_INT LTwain::SaveErrorCallBack (pCapability, uError)

Called by LTwain::TemplateDlg when an error occurs while saving capability data supported by a particular TWAIN source to a specific template file.

Parameters

pTW_CAPABILITY pCapability

Pointer to the TW_CAPABILITY structure that references the capability data that was being saved to a specific template file when the error occurred. For more information about TW_CAPABILITY, refer to the TWAIN specification.

L_UINT uError

Error code.

Returns

Value Meaning
SUCCESS The function was successful.
SUCCESS_RETRY Retry saving the capability value.
SUCCESS_ABORT Abort the saving procedure.
SUCCESS_DELETE Abort saving procedure and delete the file.

Comments

This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack(TRUE).

The user should not free the pointer to the TW_CAPABILITY structure within this callback.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LTwain::TemplateDlg.

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.