L_NITFDestroy

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFDestroy(phNitf)

Destroys the NITF file handle, and releases all resources associated with it.

Parameters

pHNITF phNitf

Pointer to a handle to an existing NITF file, created by calling the L_NITFCreate function.

Returns

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

Comments

A NITF file is created by calling the L_NITFCreate function.

For each call to L_NITFCreate there must be a call to L_NITFDestroy.

This function should be the called after calling any other L_NITFXXX function. It will clean up and free memory allocated to the NITF file handle.

Required DLLs and Libraries

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