1

The fsutil queryfilenamebyid displays a random link name for a specified file ID on an NTFS volume. I would like to do this programmatically using some winapi function(s) but I've failed to find any winapi equivalent via google searches.

Does anyone know if such a winapi function exists?

conectionist
  • 2,694
  • 6
  • 28
  • 50

1 Answers1

2

Look at OpenFileById() and GetFileInformationByHandleEx().

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770