The MS docs state that the FileIdInfo enum for GetFileInformationByHandleEx is only available in Windows 8 and above.
Is there an alternative function that returns the same FileIndexHigh/FileIndexLow info for a particular file for Windows 7?
CodePudding user response:
GetFileInformationByHandle
(the non-Ex older function) exists on all versions of NT and provides the file id.
Note: You should try the Ex version first if it is there because ReFS uses 128-bit file ids!