2.3.6 FSCTL_DELETE_REPARSE_POINT Reply

This message returns the result of the FSCTL_DELETE_REPARSE_POINT 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_INVALID_PARAMETER

0xC000000D

A nonzero value was passed for the output buffer's length, or the handle is not to a file or directory.

STATUS_ACCESS_DENIED

0xC0000022

The handle was not opened to write file data or file attributes.

STATUS_IO_REPARSE_DATA_INVALID

0xC0000278

The input buffer's length is neither the size of a REPARSE_DATA_BUFFER nor a REPARSE_GUID_DATA_BUFFER; or the reparse data length is nonzero; or the reparse tag is a third party reparse tag, and the length is other than the size of REPARSE_GUID_DATA_BUFFER.

STATUS_IO_REPARSE_TAG_INVALID

0xC0000276

The specified reparse tag with a value of 0 or 1 is reserved for use by the system and cannot be deleted.

STATUS_NOT_A_REPARSE_POINT

0xC0000275

The file or directory does not have a reparse point.

STATUS_IO_REPARSE_TAG_MISMATCH

0xC0000277

The file or directory has a reparse point but not one with the reparse tag that was specified in this call.

STATUS_REPARSE_ATTRIBUTE_CONFLICT

0xC00002B2

The file or directory has a third party tag, and the Reparse GUID provided does not match the one in the reparse point for this file or directory.