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

fzrt_fzr_get_rsrc_ind_ID

Description

Gets the resource ID of the specified type in the resource file. This will return the ID the resource as specified by the index. Index order is the order the resource is located in the file from the top of the text file. It is recommended that resources be accessed by ID rather than by index.

Plugin Prototype

fzrt_error_td fzrt_fzr_get_rsrc_ind_ID(

const fzrt_fzr_ref_td

fzr_ref,

fzrt_unsigned_int

type,

fzrt_unsigned_int

index,

fzrt_unsigned_int *

ID )

Parameters

fzr_ref [Input]

reference to the resource file

type [Input]

type of resource to count ( FZRT_FZR_STRING_ID or FZRT_FZR_MENU_ID)

index [Input]

index of resource

Range: index >= 1

ID [Result]

ID of resource

Returns

FZRT_NOERR if successful, error ID otherwise.

Availability

5.0.0.0

See Also

fzrt_fzr_open

Function Set

fz_fzrt_base_fset


Defined in

fzrt_api.h