#ifndef _NTIOAPI_H
typedef struct _FILE_INTERNAL_INFORMATION
{
union
{
ULARGE_INTEGER IndexNumber;
struct
{
ULONGLONG MftRecordIndex : 48; // rev
ULONGLONG 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.