#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).
Enumerated items count.
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).
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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