|
|
|
|
PM_findFirstFile
Function to find the first file matching a search criteria in a directory.
Declaration
void * PMAPI PM_findFirstFile(
const char *filename,
PM_findData *findData)
Prototype In
pmapi.h
Parameters
filename |
Filename mask to see the search with |
findData |
Place to return the found file data |
Return Value
Pointer to the find handle created, PM_FILE_INVALID if no more files.
Description
This function is used to find the first file matching a search criteria in a directory. Once you have found the first file, you can then call PM_findNextFile to find the next file matching the same search criteria. When you are done, make sure you call PM_findClose to free the handle returned by this function.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com