Hi,
For a directory the standard call sequence is:
OpenDirectory
FindFiles (or FindFilesWithPattern if that's what you are using)
Cleanup
CloseFile (You can get by without this, it's all to do with how
Windows filesystem cache works, it's a topic in itself.)
OpenDirectory doesn't need to modify the DokanFileInfo. It has two
purposes really, is that path a valid folder, and open it if you file
system needs it opened for any operations. In my filesystems, I only
resolve the path in OpenDirectory and CreateFile, where I stick a
pointer in the DokanFileInfo userdata and use that until it's closed.
I would say the minimal callbacks to implement for a working
filesystem are OpenDirectory, CreateFile, FindFiles,
GetFileInformation and ReadFile. But you will probably need some file
closure, so you will probably also want Cleanup.
Did you go through the Dokan example? It is worth doing and it won't take long.
Hope this helps some. :-)
Joe