L_FreeAttachments

#include "l_bitmap.h"

L_LTFIL_API L_INT L_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 L_ReadFileAttachments.

Returns

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

Comments

Applications must call L_FreeAttachments to free memory allocated for the L_FILEATTACHMENTS instance by LEADTOOLS as a result of calling L_ReadFileAttachments.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

Functions

Example

For an example, refer to L_ReadFileAttachments.

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.