FILE_INTERNAL_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#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;

#endif

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.

IndexNumber

File identifier, unique for file's device.

Documented by

See also