C
int FindNext( SearchRec * rec );
Description
The FindNext function performs the same function as the FindFirst funciton, except it does not copy any search parameters into the SearchRec structure (only info about found files) and it begins searching at the last directory entry offset at which a file was found, rather than at the beginning of the current working directory.
Preconditions
None
Parameters
Parameters |
Description |
rec |
The structure to store the file information in |
Return Values
Return Values |
Description |
0 |
File was found |
-1 |
No additional files matching the specified criteria were found |
Side Effects
The FSerrno variable will be changed.
Remarks
Call FindFirst or FindFirstpgm before calling this function