#ifndef _NTIOAPI_H
//#endif
typedef struct _FILE_INTERNAL_INFORMATION
{
union
{
LARGE_INTEGER IndexNumber;
struct
{
LONGLONG MftRecordIndex : 48; // rev
LONGLONG SequenceNumber : 16; // rev
};
};
} FILE_INTERNAL_INFORMATION, *PFILE_INTERNAL_INFORMATION;
View code on GitHub
This structure is documented in Windows Driver Kit.
FILE_INTERNAL_INFORMATION
structure is a result of call NtQueryInformationFile
with FileInternalInformation
information class. It's not possible to set file unique identifier.
File identifier, unique for file's device.