#include "ltwrappr.h"
virtual L_INT LTwain::SaveCapCallBack (pCapability)
Called by LTwain::TemplateDlg for each capability supported by a particular TWAIN source, before saving it to a specific template file.
Pointer to the TW_CAPABILITY structure that references the capability data to save to the specified template file. For more information about TW_CAPABILITY, refer to the TWAIN specification.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
SUCCESS_ABORT | The callback wants to abort the saving procedure. |
SUCCESS_DELETE | Abort saving procedure and delete the file. |
< 1 | An error occurred. Refer to Return Codes. |
This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack(TRUE).
The user can only modify the capability data before saving it to the specified template file.
The user should not free the pointer to the TW_CAPABILITY structure within this callback.
Required DLLs and Libraries