FltPropagateIrpExtension function (fltkernel.h)

The FltPropagateIrpExtension routine copies the IRP extension from one minifilter's callback data to another's callback data.

Syntax

NTSTATUS FLTAPI FltPropagateIrpExtension(
  [in]     PFLT_CALLBACK_DATA SourceData,
  [in/out] PFLT_CALLBACK_DATA TargetData,
  [in]     ULONG              Flags
);

Parameters

[in] SourceData

Pointer to the callback data context from which to copy the extension data.

[in/out] TargetData

Pointer to the callback data context in which to copy the extension data.

[in] Flags

Reserved; must be set to 0.

Return value

FltPropagateIrpExtension returns STATUS_SUCCESS upon successful completion; otherwise, it returns one of the following NTSTATUS error values.

Return code Description
STATUS_INVALID_PARAMETER SourceData or TargetData are not an IRP operation.
STATUS_INSUFFICIENT_RESOURCES Could not allocate an extension in the target callback data.

Remarks

FltPropagateIrpExtension copies only those portions of the IRP extension data that are present.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 10 version 1607.
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
DLL Fltmgr.sys
IRQL <= DISPATCH_LEVEL

See also

FltFlushBuffers2