#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).
The count of the enumerated WIA device formats.
The transfer mode for the received enumerated format.
Pointer to a GUID structure containing the received enumerated format.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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