LBarCode::Free

#include "ltwrappr.h"

static L_INT LBarCode::Free(pBarCodeData)

pBARCODEDATA pBarCodeData;

/* pointer to a BARCODEDATA structure */

Frees storage allocated for a Barcode Data array.

Parameter

Description

pBarCodeData

Pointer to the BARCODEDATA structure. This function will free the specified BARCODEDATA structure, which was allocated by the LBarCode::Read function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Call this function to free the memory allocated by LBarCode::Read function.

This function should be called when your program no longer needs a barcode data array.

The LBarCode class calls this function when the destructor is called. This function may also be called to free a specific barcode data item.

Required DLLs and Libraries

LTBAR

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LBarCode::LBarCode, LBarCode::Read, Class Members

Topics:

Programming with LEADTOOLS Barcode

Barcode Function Functions: Freeing BarCodes

Example

For complete sample code, refer to the BarCode demo.

For an example, refer to LBarCode::GetFirstDuplicated().