Partager via


2.3.26 FSCTL_GET_OBJECT_ID Reply

This message returns the results of an FSCTL_GET_OBJECT_ID request in a FILE_OBJECTID_BUFFER (section 2.1.3).

If the file system of the volume containing the specified file or directory does not support the use of object IDs, the request will not succeed. The error code returned in this situation is specified in section 2.2.

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

 Error code

 Meaning

STATUS_INVALID_PARAMETER

0xC000000D

The output buffer length is less than the size of a FILE_OBJECTID_BUFFER or the handle is not to a file or directory.

STATUS_OBJECTID_NOT_FOUND

0xC00002F0

The file or directory has no object ID.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

The file system does not support the use of object IDs.