LWia::EnumCapabilitiesCallBack

#include "ltwrappr.h"

virtual L_INT LWia::EnumCapabilitiesCallBack(nCapsCount, pCapability)

The [LWia:EnumCapabilitiesCallBack is called for each enumerated capability of the WIA device. It can also be used to abort the enumeration process. Be sure to first enable the callback functions by calling LBase::EnableCallBack(TRUE).

Parameters

L_INT nCapsCount

The count of the enumerated WIA device capabilities.

pLWIACAPABILITY pCapability

Pointer to a structure of type LWIACAPABILITY containing information about each enumerated capability of the selected WIA device.

Returns

Value Meaning
SUCCESS The function was successful.
ERROR_USER_ABORT The callback wants to abort the properties set process.
< 1 An error occurred. Refer to Return Codes.

Comments

LWia:EnumCapabilitiesCallBack is available in LEADTOOLS [version 16 or higher.

Call [LWia:EnumCapabilitiesCallBack to provide information about the capabilities of the selected WIA device. [LWia:EnumCapabilitiesCallBack also allows the enumeration process to be aborted.

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.