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.

Help Version 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS WIA C++ Class Library Help