PM_findNextFile

Function to find the next file matching a search criteria in a directory.

Declaration

ibool PMAPI PM_findNextFile(
void *handle,
PM_findData *findData)

Prototype In

pmapi.h

Parameters

handle | Handle return from PM_findFirstFile
findData | Place to return the found file data

Return Value

True if another file is found, false if not.

Description

This function is used to find the next file matching the same search criteria passed to PM_findFirstFile. You can keep calling PM_findNextFile to find each file that matches until this function returns false, indicating there are no more files that match. When you are done, make sure you call PM_findClose to free the handle returned by the PM_findFirstFile function.

See Also

PM_findFirstFile, PM_findClose

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com