LWia::SetPropertiesCallBack

#include "ltwrappr.h"

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

L_INT PropertyID;

/* property defined ID */

L_INT nError;

/* returned error code for property set */

L_UINT uValueType;

/* property value type */

L_VOID * pValue;

/* pointer to the value that was set for this property ID */

Called to let the user know that an error occurred during the properties set operation and lets the user aborts or retry. And it will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack (TRUE).

Parameter

Description

PropertyID

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

nError

The returned error code for certain property set.

uValueType

The value type of the property, for list of valid value types see Microsoft’s documentation of the VARENUM enumeration.

pValue

Void pointer to the value used to set this property.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This feature is available in LEADTOOLS version 16 or higher.

Called to let the user know that an error occurred during the properties set operation and lets the user aborts or retry.

Required DLLs and Libraries

LTWIA

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LWia::SetProperties, LWia::GetProperties, LWia::InitSession, LWia::EndSession, Class Members

Topics:

WIA Functionality: Property Functions

 

WIA Functionality: Callbacks

Example

For an example, refer to <Function name>

Or

An example that uses this function.