TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
long FileFindFirst ( string  file_filter,
out string  returned_filename,
int  common_flag = 0 
)

Starts the search of files or subdirectories in a directory in accordance with the specified filter

Parameters
file_filterSearch filter (wildcards allowed)
returned_filenameThe returned parameter, where, in case of success, the name of the first found file or subdirectory is placed.
Only the file name is returned (including the extension), the directories and subdirectories are not included no matter
common_flagReserved
Returns
Returns handle of the object searched, which should be used for further sorting of files and subdirectories by the FileFindNext() function,
or INVALID_HANDLE when there is no file and subdirectory corresponding to the filter (in the particular case - when the directory is empty).
After searching, the handle must be closed using the FileFindClose() function.