LFile::FreeAttachments

#include "ltwrappr.h"

L_INT LFile::FreeAttachments(pAttachments)

Frees the memory allocated by LEADTOOLS inside an L_FILEATTACHMENTS instance.

Parameters

L_FILEATTACHMENTS *pAttachments

Pointer to the L_FILEATTACHMENTS structure allocated by LFile::ReadFileAttachments.

Returns

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

Comments

Applications must call LFile::FreeAttachments to free memory allocated for the L_FILEATTACHMENTS instance by LEADTOOLS as a result of calling LFile::ReadFileAttachments.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to LFile::_ReadFileAttachments.

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

LEADTOOLS Raster Imaging C++ Class Library Help