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 |
---|---|
|
The buffer is valid. |
|
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. |
|
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) |