mfsHFindNext

Syntax

s32 mfsHFindNext(MfsFfblk *ffblk)

Arguments

*ffblk   MfsFfblk structure

Return value

Error

Function

Continues file search

Description

This function continues the file search specified by mfsHFindFirst.

The same values that were specified in mfsHFindFirst are specified for ffblk. Information required to continue the search is contained here. If the file is found, the information is entered ffblk and MFS_ERR_NO is returned. If no file is found, MFS_ERR_SEARCHEND is returned.

Main errors

MFS_ERR_NO Normal termination
MFS_ERR_NOTFOUND Drive not found
MFS_ERR_DEVICE Device error
An error occurred in an internally called Leo function. Since a Leo function error is stored in the variable mfsError, check this variable to perform processing.
MFS_ERR_PROTECT Write protected
The volume attribute is write protected, or the medium is volume protected.