2.4.43 FileIdInformation

This information class is used to query the volume serial number and fileid information for a file.

A FILE_ID_INFORMATION data element, defined as follows, is provided by the server.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

VolumeSerialNumber

...

FileId

...

...

...

VolumeSerialNumber (8 bytes): A 64-bit unsigned integer that contains the serial number of the volume where the file is located.

FileId (16 bytes): The 128-bit file ID, as specified in section 2.1.10, of the file. For file systems that do not support a 128-bit file ID, this field MUST be set to 0, and MUST be ignored.

This operation returns a status code as specified in section 2.2. Upon success, the status code returned by the function that processes this file information class is STATUS_SUCCESS. The most common error codes are listed in the following table.

Error Code

Meaning

STATUS_INFO_LENGTH_MISMATCH

0xC0000004

The specified information record length does not match the length that is required for the specified information class.