home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 6 File
/
06-File.zip
/
ramfs102.zip
/
src
/
findnext.c
< prev
next >
Wrap
C/C++ Source or Header
|
2002-09-28
|
594b
|
32 lines
#include "includes.h"
APIRET EXPENTRY FS_FINDNEXT (
struct fsfsi *pfsfsi, /* not used */
struct fsfsd *pfsfsd,
PCHAR pData,
USHORT cbData,
PUSHORT pcMatch,
USHORT level,
USHORT flags )
{
DIRENTRY Entry;
int rc;
UtilEnterRamfs();
DEBUG_PRINTF2 ("FS_FINDNEXT level=%d, flags=%d", level, flags);
rc = ERROR_NO_MORE_FILES;
if (pfsfsd->pSearch != 0)
{
rc = FindEntries (pfsfsd->pSearch, &Entry, pData, cbData, pcMatch, level, flags);
}
DEBUG_PRINTF1 (" => %d\r\n", rc);
UtilExitRamfs();
return rc;
}