L_GetFormatFileExtension

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetFormatFileExtension(nFormat, pszExtension, uExtensionCount)

Gets the default file extension for the specified format.

Parameters

L_INT nFormat

The file format value. For possible values, refer to L_FileInfo.

L_TCHAR * pszExtension

Pointer to a variable to be updated with the default file extension for the specified format.

L_UINT uExtensionCount

Size in characters of the string buffer pointed to by pszExtension.

Returns

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

Comments

The buffer for the string should be large enough to hold the string that will be copied.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

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

LEADTOOLS Raster Imaging C API Help