Expand Minimize

FLT_IS_SYSTEM_BUFFER macro

The FLT_IS_SYSTEM_BUFFER macro tests the system buffer flag in a callback data structure.

Syntax


BOOLEAN FLT_IS_SYSTEM_BUFFER(
  [in]  PFLT_CALLBACK_DATA Data
);

Parameters

Data [in]

Pointer to a callback data (FLT_CALLBACK_DATA) structure.

Return value

FLT_IS_SYSTEM_BUFFER returns TRUE if the system buffer flag is set in the callback data structure; FALSE otherwise.

Remarks

The FLT_IS_SYSTEM_BUFFER macro checks whether the system buffer flag (FLTFL_CALLBACK_DATA_SYSTEM_BUFFER) is set in a callback data (FLT_CALLBACK_DATA) structure.

The system buffer flag is set in the callback data structure for an I/O operation if the buffer for the operation is allocated from nonpaged pool. If this flag is set, minifilter drivers can assume that the buffer is already locked down and can be accessed safely.

Note that minifilter drivers must never set the system buffer flag.

Requirements

Header

Fltkernel.h (include Fltkernel.h)

See also

FLT_CALLBACK_DATA
FLT_IS_FASTIO_OPERATION
FLT_IS_FS_FILTER_OPERATION
FLT_IS_IRP_OPERATION
FLT_IS_REISSUED_IO

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft