LWia::EnumCapabilitiesCallBack

Summary

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).

Syntax

#include "ltwrappr.h"

virtual L_INT LWia::EnumCapabilitiesCallBack(nCapsCount, pCapability)

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

This feature 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

See Also

Functions

Topics

Example

For an example, refer to LWia::EnumCapabilities.

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

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