LJp2FileFormat::FreeBoxes

#include "ltwrappr.h"

L_INT LJp2FileFormat::FreeBoxes(eBox, pBox, uNumOfBoxes)

Frees boxes that have been allocated by LJp2FileFormat::XXX functions such as: LJp2FileFormat::GetBoxes and LJp2FileFormat::ReadBox.

Parameters

eJP2BOXTYPE eBox

The type of the boxes to be freed.

L_VOID * pBox

Pointer to an array of boxes to be freed.

L_UINT uNumOfBoxes

Number of boxes. This field specifies the size of pBox.

Returns

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

Comments

LJp2FileFormat::FreeBoxes frees boxes that have been allocated by any LJp2FileFormat::XXX function such as LJp2FileFormat::GetBoxes and LJp2FileFormat::ReadBox.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LJp2FileFormat::ReadBox.

Help Version 21.0.2021.4.8
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help