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

# fzrt_file_dlg_filter_new

Description

Creates a new dialog file filter. This will allocate a new dialog file filter for the Get File /Save File dialogs. The dialog file filter will be created with the specified number of entries.

Plugin Prototype

fzrt_error_td fzrt_file_dlg_filter_new(

fzrt_file_dlg_filter_ptr * | dlg_filter,
fzrt_unsigned_int | cnt )

Parameters

dlg_filter [Input, Result]

Pointer to a dialog file filter. This will be allocated and returned by the function

cnt [Input]

The number of entries in the dialog file filter

Range: cnt >= 1

Returns

FZRT_NOERR is successful, error number otherwise

Availability

5.0.0.0

See Also

fzrt_file_dlg_filter_delete, , fzrt_file_get_multiple_files_begin,

Function Set

fz_fzrt_file_fset

Defined in

fzrt_api.h