FILE_ID_INFO structure (winbase.h)

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

Requirement Value
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