LWia::EnumDevicesCallBack

#include "ltwrappr.h"

virtual L_INT LWia::EnumDevicesCallBack(pDeviceID)

pLWIADEVICEID pDeviceID;

/* pointer to a structure that contains information about found device */

Called for each WIA device found connected to the user machine. And it will be enabled only if you enabled the callback functions by calling LBase::EnableCallBack (TRUE).

Parameter

Description

pDeviceID

Pointer to a structure that contains information about each device found on the user machine.

Returns

SUCCESS

The function was successful.

ERROR_USER_ABORT

The callback wants to abort the device enumeration process.

< 1

An error occurred. Refer to Return Codes.

Comments

This feature is available in LEADTOOLS version 16 or higher.

Called for each WIA device found connected to the user machine. Provides information about the found WIA device like Device ID, Device Name and Device Description.

Required DLLs and Libraries

LTWIA

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LWia::EnumDevices, LWia::InitSession, LWia::EndSession, Class Members

Topics:

Managing WIA Sources

 

WIA Functionality: Property Functions

 

WIA Functionality: Callbacks

Example

For an example, refer to <Function name>

Or

An example that uses this function.