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

# fzrt_fzr_string_cnt

Description

Gets the number of strings in resource string list. This will return the number of string in the specified string list in the specified resource file. It will return the number of string in the primary resource file, if the string list exists in the primary resource file. If the string list does not exist in the primary resource file, it returns the number of strings in the string list in the English version of the resource file.

Plugin Prototype

fzrt_error_td fzrt_fzr_string_cnt(

fzrt_fzr_ref_td | fzr_ref,
fzrt_unsigned_int | list_id,
fzrt_unsigned_int * | string_cnt )

Parameters

fzr_ref [Input]

reference to resource file returned by fzrt_fzr_open

list_id [Input]

ID of STR# resource

string_cnt [Result]

pointer to variable to receive number of strings in resource

Returns

FZRT_NOERR if successful, error ID if not found.

Availability

5.0.0.0

See Also

fzrt_fzr_open

Function Set

fz_fzrt_base_fset

Defined in

fzrt_api.h