L_GetFormatFileExtension(nFormat, pszExtension, uExtensionCount)


#include "l_bitmap.h"


L_LTFIL_API L_INT L_GetFormatFileExtension(nFormat, pszExtension, uExtensionCount)

L_INT nFormat; file format
L_TCHAR* pszExtension; pointer to variable to be updated
L_UINT uExtensionCount; size in of string characters


Gets the default file extension for the specified format.


Parameter Description
nFormat The file format value. For possible values, see L_FileInfo
pszExtension Pointer to a variable to be updated with the default file extension for the specified format.
uMimeTypeCount Size in characters of the string buffer pointed to by pszExtension.


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


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

Required DLLs and Libraries

File format DLLs
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.


Win32, x64, Linux.

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

LEADTOOLS Raster Imaging C API Help