Home > Language Reference > Classes > VFSVolume

FindNextFile Method

Continues listing the files started with FindFirstFile.

Syntax

Public Function FindNextFile(ByRef sFile As String, ByRef eAttributes As HbFileAttribute) As Boolean

ParameterDescription
sFileName of file found.
eAttributesAttributes of file found.

Remarks

The FindNextFile continues listing all the files and directories initiated by the FindFirstFile function. Like most functionality of this object, calling this method without having previously initialized a valid volume reference in the Reference property will cause a runtime error.

If at least one file exists, the sFile and eAtttributes parameters, passed ByRef, are respectively given the name and attributes of the first file found and the FindNextFile function returns the function True. If no file exists in the specified directory, the function returns False.

Refer to the description of the FindFirstFile function for an example of how to use this function.

See also Expansion cards and the VFSDemo sample.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0Requires an expansion slot.