2.3.4 FSCTL_DELETE_OBJECT_ID Reply

This message returns the results of the FSCTL_DELETE_OBJECT_ID request.

The only data item this message returns is 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_ACCESS_DENIED

0xC0000022

The handle was not opened with write access or write attributes access.

STATUS_OBJECT_NAME_NOT_FOUND

0xC0000034

The file or directory has no object ID. This status is not returned on a healthy volume but can be returned if the volume is corrupt.

STATUS_MEDIA_WRITE_PROTECTED

0xC00000A2

The volume is write-protected and changes to it cannot be made.

STATUS_INVALID_DEVICE_REQUEST

0xC0000010

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