4/13/2023 0 Comments Ntfs free mac![]() ![]() Ref m_findDirData, WinAPI.FINDEX_SEARCH_OPS.FindExSearchLimitToDirectories, Here's an example of the code I'm using: m_searchDirHandle = , ![]() The only thing I can see is passing IntPtr.Zero to lpSearchFilter may not be the same as passing NULL (as mentioned in the quote). Of course there is still the chance I may be doing something incorrectly in my code. It also defeats the purpose of using FindFirstFileEx in the first place. ![]() I know I can check file attributes to determine if a file is a directory, however this means checking the every file/directory. My development system is Windows XP SP3, NTFS. So, what file systems actually support this flag? It would have been sensible to actually list these supported file systems on the same page, but I can't find it. The MSDN documentation for the FindExSearchLimitToDirectories flag used by FindFirstFileEx says: However when I call this function with the required flag, I still receive both files and directories. I am using the Windows API function FindFirstFileEx because it provides the capability to return just the sub-directories of a given directory (ignoring files). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |