FILE_ID_INFO structure

Contains identification information for a file. This structure is returned from the GetFileInformationByHandleEx function when FileIdInfo is passed in the FileInformationClass parameter.

Syntax

typedef struct _FILE_ID_INFO {
  ULONGLONG   VolumeSerialNumber;
  FILE_ID_128 FileId;
} FILE_ID_INFO, *PFILE_ID_INFO;

Members

VolumeSerialNumber

The serial number of the volume that contains a file.

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.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2012 [desktop apps only]
Header winbase.h (include Windows.h)

See Also

FILE_ID_128

FILE_INFO_BY_HANDLE_CLASS

File Management Structures

GetFileInformationByHandleEx