LWia::EnumItemsCallBack

#include "ltwrappr.h"

virtual L_INT LWia::EnumItemsCallBack(nItemsCount, pItem)

Called for each found child item for the parent item specified in the LWia::EnumChildItems function. Be sure to first enable the callback functions by calling LBase::EnableCallBack(TRUE).

Parameters

L_INT nItemsCount

Enumerated items count.

L_VOID * pItem

Void pointer to the IWiaItem or IWiaItem2 interface (the IWiaItem object if using WIA Version 1.0; the IWiaItem2 object if using WIA Version 2.0).

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This feature is available in LEADTOOLS version 16 or higher.

Called for each child item found for the root item specified through the LWia::EnumChildItems function. The main purpose of this callback is to find the item for which you are getting or setting the properties.

It is the user's responsibility to free the received item by calling LWia::FreeItem.

Required DLLs and Libraries

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

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