formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Basic

# fzrt_fzr_get_info

Description

Get information about a resource file. This will get information about a resource file and the data in the resource file. All output parameters are optional. Pass NULL if the information is not needed. The version of the resource format will always be 40. The fver is the resource author's version string. If it is not included in the file, the null string is passed back.

Plugin Prototype

fzrt_error_td fzrt_fzr_get_info(

const fzrt_fzr_ref_td | fzr_ref,
short * | version,
fzrt_lang_td * | lang,
fzrt_charset_td * | char_set,
char * | fver,
fzrt_floc_ptr | floc )

Parameters

fzr_ref [Input]

reference to the resource file

version [Result, Optional]

file format version of fzrf. This will always be 40

lang [Result, Optional]

language of the resource file, as determined by filename extension

char_set [Result, Optional]

character set used in resource file. Determined by language and CHAR= value in FZRF block

fver [Result, Optional]

version of the resource file as indicated by FVER= string in FZRF block

floc [Result, Optional]

pointer to file locator. Must be initialized before call

Returns

FZRT_NOERR if successful, error ID otherwise.

Availability

5.0.0.0

Function Set

fz_fzrt_base_fset

Defined in

fzrt_api.h