Export (0) Print
Expand All
Expand Minimize

FsRtlValidateReparsePointBuffer routine

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

Syntax


NTSTATUS FsRtlValidateReparsePointBuffer(
  _In_  ULONG BufferLength,
  _In_  PREPARSE_DATA_BUFFER ReparseBuffer
);

Parameters

BufferLength [in]

The length of the reparse point buffer.

ReparseBuffer [in]

The reparse point buffer to be validated.

Return value

The FsRtlValidateReparsePointBuffer returns one of the following NTSTATUS values:

Return codeDescription
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

Version

Available in Windows Vista and later versions of the Windows operating system.

Header

Ntifs.h (include FltKernel.h or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

PASSIVE_LEVEL

See also

REPARSE_DATA_BUFFER
REPARSE_GUID_DATA_BUFFER

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft