virtual L_INT LWia::FreeItem(pItem)
Frees the items enumerated by the LWia::EnumChildItems function.
Pointer to a type IWiaItem or IWiaItem2 object(IWiaItem if using WIA Version 1.0, IWiaItem2 if using WIA Version 2.0), that was retrieved through the LWia::EnumItemsCallBack when the device's child items were enumerated.
|SUCCESS||The function was successful.|
|<||An error occurred. Refer to Return Codes.|
This feature is available in LEADTOOLS version 16 or higher.
It is the user's responsibility to free the items enumerated by the LWia::EnumChildItems function through the LWia::EnumItemsCallBack function. To do so, call the LWia::FreeItem function for each item enumerated through the callback mentioned above.
Note: This function is called internally by LWia::AcquireSimple.
Required DLLs and Libraries