FILE_ID_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

/**
 * The FILE_ID_INFORMATION structure is used to query file identification information.
 * \sa https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/ns-ntifs-file_id_information
 */
typedef struct _FILE_ID_INFORMATION
{
    ULONGLONG VolumeSerialNumber;
    union
    {
        FILE_ID_128 FileId;
        struct
        {
            union
            {
                FILE_INTERNAL_INFORMATION FileInternal; // rev
                LONGLONG FileIdLowPart; // rev
            };
            LONGLONG FileIdHighPart; // rev
        };
    };
} FILE_ID_INFORMATION, *PFILE_ID_INFORMATION;

#endif

View code on GitHub

This structure is documented in Windows Driver Kit.