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

fzrt_file_folder_count_files

Description

Counts the number of files in a folder. This will return the number of files in the specified folder. The count does not include sub-folders.

Plugin Prototype

fzrt_error_td fzrt_file_folder_count_files(

fzrt_floc_ptr

floc,

fzrt_int *

nfiles )

Parameters

floc [Input]

folder locator

nfiles [Result]

contains the number of files in the folder

Returns

FZRT_NOERR on success, Otherwise, an error ID.

Availability

5.0.0.0

See Also

fzrt_file_find_file_init

Function Set

fz_fzrt_file_fset


Defined in

fzrt_api.h