L_GetExtensionMimeType

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetExtensionMimeType(pszExtension, pszMimeType, uMimeTypeCount)

Gets the MIME type for the specified file format extension.

Parameters

const L_TCHAR * pszExtension

A string that represents the file format extension.

L_TCHAR * pszMimeType

Pointer to a variable to be updated with the associated MIME type.

L_UINT uMimeTypeCount

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

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.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help