Called for each WIA device found connected to the user's machine. Be sure to first enable the callback functions by calling LBase::EnableCallBack(TRUE).
#include "ltwrappr.h"
virtual L_INT LWia::EnumDevicesCallBack(pDeviceID)
Pointer to a structure containing information about each device found on the user machine.
Value | Meaning |
---|---|
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. |
This feature is available in LEADTOOLS version 16 or higher.
Called for each WIA device found connected to the user's machine. Provides information about the found WIA device like Device ID, Device Name, and Device Description.
For an example, refer to LWia::EnumDevices.