FindFirstFile and FindNextFile

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, all!

We are devleping one app that will use disk access with FindFirstFile and
FindNextFile for it. Can someone expose me how works FindFirstFile and
FindNextFile in disk access? Does the findFirstfile read all files of disk
and put in physical memory , and FindFirstFile read files from memory? Can
someone help us?

Thanks in advance.
 
Paulo Eduardo said:
Can someone expose me how works FindFirstFile and
FindNextFile in disk access?

The functions are used to emumerate the files in a directory whose names
match a specified pattern.
Does the findFirstfile read all files of disk
and put in physical memory , and FindFirstFile read files from memory?

The functions look at a single directory and not at the contents of any
file. The enumeration is one file name at a time; exactly how much of a
directory is in memory at a time is not the kind of thing you need to know
as there is nothing that you can do about it.

Regards,
Will
 
Back
Top