PFILE_ID_INFORMATION Struct Reference

Contains identification information for a file. More...

#include <fileinfo.h>

Data Fields

ULONGLONG VolumeSerialNumber
 
FILE_ID_128 FileId
 

Detailed Description

Contains identification information for a file.

This structure is returned from the GetFileInformationByHandleEx function when FileIdInfo is passed in the FileInformationClass parameter.

The struct is requested during IRP_MJ_QUERY_INFORMATION with query FileIdInformation

Field Documentation

FILE_ID_128 PFILE_ID_INFORMATION::FileId

The 128-bit file identifier for the file. The file identifier and the volume serial number uniquely identify a file on a single computer. To determine whether two open handles represent the same file, combine the identifier and the volume serial number for each file and compare them.

ULONGLONG PFILE_ID_INFORMATION::VolumeSerialNumber

The serial number of the volume that contains a file.


The documentation for this struct was generated from the following file: