FsRtlValidateReparsePointBuffer function

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

Syntax

NTKERNELAPI NTSTATUS FsRtlValidateReparsePointBuffer(
  ULONG                BufferLength,
  PREPARSE_DATA_BUFFER ReparseBuffer
);

Parameters

BufferLength

The length of the reparse point buffer.

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

   
Windows version Available in Windows Vista and later versions of the Windows operating system.
Target Platform Universal
Header ntifs.h (include FltKernel.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL PASSIVE_LEVEL

See Also

REPARSE_DATA_BUFFER

REPARSE_GUID_DATA_BUFFER