LWia::EnumDevicesCallBack

Summary

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

Syntax

#include "ltwrappr.h"

virtual L_INT LWia::EnumDevicesCallBack(pDeviceID)

Parameters

pLWIADEVICEID pDeviceID

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

Returns

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.

Comments

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.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LWia::EnumDevices.

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

LEADTOOLS WIA C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.