Salamoun
unread,Jan 31, 2011, 12:34:55 PM1/31/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dokan
Hello,
I am playing with dokan and mirror example.
I am wondering how DokanFileInfo->IsDirectory is working.
DokanFileInfo->IsDirectory almost always returns 0, even if this is a
folder.
When I enable logging and try to delete folder with name "FOLDER" a
get this:
CreateFIle DokanFileInfo Context: 3756664, fileName: \FOLDER,
filePath: C:\test\FOLDER, isDirectory: 0
Cleanup: \FOLDER, isDirectory: 0
Cleanup: \FOLDER, isDirectory: 1
Cleanup: \FOLDER, isDirectory: 1
For the first call isDirectory is false and than it's true.
How I can detect if it is file or directory?
Thanks for help.