Author: Patrick MézardPatrick Mézard
Date: Jan 19, 2008 04:35
Hello,
Hardlinks can be successfully created on NTFS mapped drives with CreateHardlink(). But following GetFileInformationByHandle() returns a "nNumberOfLinks" field set to "1" instead of "2". GetFileInformationByHandle() documentation basically states it is unreliable, so no big surprise here. Is there any reliable way to get the link count information for devices supporting hardlinks ?
--
Patrick Mézard
|