LWia::SetPropertiesCallBack

#include "ltwrappr.h"

virtual L_INT LWia::SetPropertiesCallBack(PropertyID, nError, uValueType, pValue)

Provides error notification and allows the operation to be aborted or retried.

Parameters

L_INT PropertyID

The ID of the property that was set using the value specified in the pValue parameter.

L_INT nError

The returned error code for property being set.

L_UINT uValueType

The value type of the property. For a list of valid value types, see Microsoft's documentation of the VARENUM enumeration.

L_VOID * pValue

Void pointer to the value used to set this property.

Returns

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

Comments

This feature is available in LEADTOOLS version 16 or higher.

Provides error notification and allows the operation to be aborted or retried.

Note: Be sure to enable callbacks by calling LBase::EnableCallBack (TRUE) before calling [LWia:SetPropertiesCallBack.

Required DLLs and Libraries

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

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