LTwain::SetPropertyCallBack

Summary

Called for each property set using LTwain::SetProperties.

Syntax

#include "ltwrappr.h"

virtual L_INT LTwain::SetPropertyCallBack (uCap, nStatus, pValue)

Parameters

L_UINT uCap

The capability being set. For more information on capability values, refer to the TWAIN specification.

L_INT nStatus

This variable holds the value of the error that occurred while the property was being set.

L_VOID * pValue

Pointer to the original value. The user can cast this depending on the type of the property, and modify it.

Returns

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.

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 pValue parameter within this callback.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LTwain::GetProperties.

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

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