L_GetMimeTypeExtension (original) (raw)
Summary
Gets the default file extension for the specified mime type.
Syntax
#include "l_bitmap.h"
L_LTFIL_API L_INT L_GetMimeTypeExtension(pszMimeType, pszExtension, uExtensionCount)
Parameters
const L_TCHAR * pszMimeType
A string that represents the mime type.
L_TCHAR * pszExtension
Pointer to a variable to be updated with the default file extension for the specified mime type.
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
- LTFIL
- For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
Platforms
Win32, x64, Linux.
See Also
Functions
Topics
- Raster Image Functions: Loading Files
- Raster Image Functions: Redirecting Input and Output
- Loading and Saving Images
LEADTOOLS Raster Imaging C API Help