FsRtlValidateReparsePointBuffer function (ntifs.h)

The FsRtlValidateReparsePointBuffer routine verifies that the specified reparse point buffer is valid.

Syntax

NTSTATUS FsRtlValidateReparsePointBuffer(
  [in] ULONG                BufferLength,
  [in] PREPARSE_DATA_BUFFER ReparseBuffer
);

Parameters

[in] BufferLength

The length of the reparse point buffer.

[in] ReparseBuffer

The reparse point buffer to be validated.

Return value

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.

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Universal
Header ntifs.h (include FltKernel.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL
DDI compliance rules HwStorPortProhibitedDDIs(storport), PowerIrpDDis(wdm)

See also

REPARSE_DATA_BUFFER

REPARSE_GUID_DATA_BUFFER