| Previous | Next |
| ERROR_REMOTE_STORAGE_MEDIA_ERROR | ERROR_REPARSE_ATTRIBUTE_CONFLICT |
ERROR_NOT_A_REPARSE_POINT
The object is not currently a reparse point
FSCTL_GET_REPARSE_POINT and FSCTL_DELETE_REPARSE_POINT require a file or directory whose attributes include FILE_ATTRIBUTE_REPARSE_POINT. This error means the opened object does not have such data at the time of the request. It differs from an unknown tag: there is no reparse point to inspect or remove.
Check that the handle refers to the intended directory entry and was opened with FILE_FLAG_OPEN_REPARSE_POINT when following the target would otherwise replace it. A race can also remove or replace the reparse point between attribute inspection and the FSCTL call. Requery the attributes through the same handle where possible, and do not assume that every symbolic-looking path is implemented by a reparse point on the final component.
What to inspect
- Verify FILE_ATTRIBUTE_REPARSE_POINT on the opened object.
- Use FILE_FLAG_OPEN_REPARSE_POINT to avoid following the target.
- Handle removal or replacement races as a normal state change.
References
- Microsoft: reparse points
- Microsoft: reparse point operations
- Microsoft: reparse point tags
- Microsoft: REPARSE_DATA_BUFFER
Looking for a different code? Search another status or error code.