L_NITFDestroy
#include "ltntf.h"
L_LTNTF_API L_INT L_NITFDestroy(phNitf)
pHNITF phNitf; |
/* pointer to handle to an existing NITF file */ |
Destroys the NITF file handle, and releases all resources associated with it. This function is available in the Document Toolkit.
Parameter |
Description |
phNitf |
Pointer to a handle to an existing NITF file, created by calling the L_NITFCreate function. |
Returns
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
LTNTF 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: |
|
Topics: |
|
|
Example
For an example, refer to L_NITFCreate.