Called for each property set using LTwain::SetProperties.
#include "ltwrappr.h"
virtual L_INT LTwain::SetPropertyCallBack (uCap, nStatus, pValue)
The capability being set. For more information on capability values, refer to the TWAIN specification.
This variable holds the value of the error that occurred while the property was being set.
Pointer to the original value. The user can cast this depending on the type of the property, and modify it.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
TWAIN_SUCCESS_RETRY | Retry with the new value in the *pValue parameter. |
TWAIN_SUCCESS_ABORT | Abort the negotiation. |
This callback function will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack(TRUE).
The user should not free the pValue parameter within this callback.
For an example, refer to LTwain::GetProperties.