Author loewis
Recipients brian.curtin, eli.bendersky, loewis, tim.golden
Date 2011-03-17.14:44:05
SpamBayes Score 0.00345669
Marked as misclassified No
Message-id <1300373046.75.0.0668612307742.issue11583@psf.upfronthosting.co.za>
In-reply-to
Content
Ok. It's probably not the most optimal thing we can do. It opens the directory with CreateFileW (specifying OPEN_EXISTING and BACKUP_SEMANTICS), then GetFileInformationByHandle. If we only want to find out whether the file is a directory, we could just to FindFirstFile, which wouldn't need to go to the MFT record.

I would be surprised if this makes a difference in practice, though.
History
Date User Action Args
2011-03-17 14:44:06loewissetrecipients: + loewis, tim.golden, eli.bendersky, brian.curtin
2011-03-17 14:44:06loewissetmessageid: <1300373046.75.0.0668612307742.issue11583@psf.upfronthosting.co.za>
2011-03-17 14:44:05loewislinkissue11583 messages
2011-03-17 14:44:05loewiscreate