Bewerken

Delen via


FltAddOpenReparseEntry function (fltkernel.h)

This routine adds a caller allocated open reparse structure, OPEN_REPARSE_LIST_ENTRY, into a create operation.

Syntax

NTSTATUS FLTAPI FltAddOpenReparseEntry(
  [in] PFLT_FILTER              Filter,
  [in] PFLT_CALLBACK_DATA       Data,
  [in] POPEN_REPARSE_LIST_ENTRY OpenReparseEntry
);

Parameters

[in] Filter

The filter to reference.

[in] Data

The create operation to attach open reparse information to.

[in] OpenReparseEntry

The open reparse information to add, of type OPEN_REPARSE_LIST_ENTRY.

Return value

The following NT status codes are returned.

Return code Description
STATUS_INVALID_PARAMETER_2
Status code if Data is not a create operation. This is an error code.
STATUS_SUCCESS
The operation completed successfully.

Remarks

This routine adds an ECP list and/or ECP as needed. Filter is referenced for the lifetime of the open reparse entry structure, not the ECP itself, which is conceptually independent of any specific filter.

Use FltRemoveOpenReparseEntry to remove the open reparse structure from the create operation.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Header fltkernel.h
IRQL IRQL_requires_max(APC_LEVEL)

See also

FltRemoveOpenReparseEntry