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

# fzrt_file_get_one_file

Description

Gets the file locator of a file from multiple select get file dialog.

Plugin Prototype

fzrt_error_td fzrt_file_get_one_file(

fzrt_stdffile_ptr | filetab,
fzrt_int | knt,
fzrt_int | indx,
fzrt_floc_ptr | folder )

Parameters

filetab [Input]

pointer to table of file locators returned by fzrt_file_get_multiple_files_begin

knt [Input]

The count of files returned by fzrt_file_get_multiple_files_begin

indx [Input]

The 0 based index of the requested file locator in the buffer

Range: 0 <= indx < knt

folder [Result]

the selected file folder if FZRT_STD_OK returned. The file locator must be initialized by the caller.

Returns

FZRT_NOERR is successful, error number otherwise

Availability

5.0.0.0

See Also

fzrt_file_get_multiple_files_begin

Function Set

fz_fzrt_file_fset

Defined in

fzrt_api.h