LWia::EnumFormatsCallBack

#include "ltwrappr.h"

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

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

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

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

Call [LWia:EnumFormatsCallBack 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

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

LEADTOOLS WIA C++ Class Library Help