LWia::FreeItem

#include "ltwrappr.h"

virtual L_INT LWia::FreeItem(pItem)

Frees the items enumerated by the LWia::EnumChildItems function.

Parameters

L_VOID * pItem

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.

Returns

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

Comments

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

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.