L_NITFDestroy

Summary

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

Syntax

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFDestroy(phNitf)

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

See Also

Functions

Topics

Example

For an example, refer to L_NITFCreate.

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

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.