// ntifs.h
NTSTATUS FsRtlValidateReparsePointBuffer(
[in] ULONG BufferLength,
[in] PREPARSE_DATA_BUFFER ReparseBuffer
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlValidateReparsePointBuffer routine verifies that the specified reparse point buffer is valid.
BufferLength [in]The length of the reparse point buffer.
ReparseBuffer [in]The reparse point buffer to be validated.
The FsRtlValidateReparsePointBuffer returns one of the following NTSTATUS values:
| Return code | Description |
|---|---|
| STATUS_SUCCESS | The buffer is valid. |
| STATUS_IO_REPARSE_DATA_INVALID | The buffer is not valid, such as if the buffer is too long or the length of the buffer and the data length in its header are not consistent. |
| STATUS_IO_REPARSE_TAG_INVALID | The buffer has an invalid reparse tag. |
For more information about reparse points, see Reparse Points in a File System Filter Driver.
Reparse tags contain several bits that cannot be set except by system components. For more information, see Reparse Point Tags.