Frees storage allocated for a Barcode Data array.
#include "ltwrappr.h"
static L_INT LBarCode::Free(pBarCodeData)
Pointer to the BARCODEDATA structure. This function will free the specified BARCODEDATA structure, which was allocated by the LBarCode::Read function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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.
For complete sample code, refer to the BarCode demo.
For an example, refer to LBarCode::GetFirstDuplicated.