Comment 4 for bug 556853

Revision history for this message
Big Muscle (bigmuscle) wrote :

Ah sorry, my bad. I didn't copy whole text and the last sentence was the most important:

- To get the attributes of a root directory, use the GetFileAttributes function.

And using this function looks to me much more logical than using FindFirstFile for it.
Also, if DirData structure has been nulled in FileFindIter constructor, it wouldn't return random content.