LWia::EnumFormatsCallBack

Summary

Called for each enumerated capability of the WIA device, and also allows the enumeration process to be aborted. Be sure to enable the callback functions beforehand by calling LBase::EnableCallBack (TRUE).

Syntax

#include "ltwrappr.h"

virtual L_INT LWia::EnumFormatsCallBack(nFormatsCount, nTransferMode, pFormat)

Parameters

L_INT nFormatsCount

The count of the enumerated WIA device formats.

L_INT nTransferMode

The transfer mode for the received enumerated format.

GUID * pFormat

Pointer to a GUID structure containing the received enumerated format.

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.

Call this function to provide the user with information about the available transfer formats of the selected WIA device. It can also be called to abort the enumeration process.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LWia::EnumFormats.

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.