formZ SDK | 5.0 API Reference | Project | File Formats

fz_file_get_extension

Description

Gets the file extension associated with a file format reference id.

Plugin Prototype

fzrt_error_td fz_file_get_extension(

fz_ffmt_ref_td

ffmt_id,

char *

extstr,

fzrt_int

max_len )

Parameters

ffmt_id [Input]

The file format reference id.

extstr [Result]

A string to fill. Must be allocated by the caller.

max_len [Input]

The maximum number of bytes to place into extstr.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_fset


Defined in

fz_ffmt_api.h