FltSetCallbackDataDirty function

A minifilter driver's preoperation or postoperation callback routine calls FltSetCallbackDataDirty to indicate that it has modified the contents of the callback data structure.

Syntax

VOID FLTAPI FltSetCallbackDataDirty(
  PFLT_CALLBACK_DATA Data
);

Parameters

Data

A pointer to a callback data (FLT_CALLBACK_DATA) structure.

Return Value

None

Remarks

A minifilter driver's preoperation (PFLT_PRE_OPERATION_CALLBACK) or postoperation (PFLT_POST_OPERATION_CALLBACK) callback routine can modify the contents of the callback data (FLT_CALLBACK_DATA) structure for the operation. If it does, it must then call FltSetCallbackDataDirty unless it has changed the contents of the callback data structure's IoStatus field.

FltSetCallbackDataDirty sets the FLTFL_CALLBACK_DATA_DIRTY flag in a callback data structure.

To test a callback data structure's FLTFL_CALLBACK_DATA_DIRTY flag, call FltIsCallbackDataDirty.

To clear a callback data structure's FLTFL_CALLBACK_DATA_DIRTY flag, call FltClearCallbackDataDirty.

Requirements

   
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library Fltmgr.lib
DLL Fltmgr.sys
IRQL Any

See Also

FLT_CALLBACK_DATA

FltClearCallbackDataDirty

FltIsCallbackDataDirty

FltReissueSynchronousIo

PFLT_POST_OPERATION_CALLBACK

PFLT_PRE_OPERATION_CALLBACK