Hardware Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

FltFreeCallbackData routine

The FltFreeCallbackData routine frees a callback data structure allocated by the FltAllocateCallbackData routine.

Syntax


VOID FltFreeCallbackData(
  _In_ PFLT_CALLBACK_DATA CallbackData
);

Parameters

CallbackData [in]

Pointer to the callback data structure to be freed. This FLT_CALLBACK_DATA structure must have been allocated by a previous call to FltAllocateCallbackData. This parameter is required and cannot be NULL.

Return value

None

Remarks

A minifilter driver should use FltFreeCallbackData only on a callback data structure (FLT_CALLBACK_DATA) that it previously allocated with FltAllocateCallbackData and used in a call to FltPerformAsynchronousIo or FltPerformSynchronousIo.

In particular, a minifilter driver should not use this routine for any callback data structures that were not allocated by the minifilter driver itself.

The FltFreeCallbackData routine frees any MDL chain associated with the supplied CallbackData object. A pointer to an MDL chain associated with a FLT_CALLBACK_DATA object will be invalid after a call to FltFreeCallbackData for that object.

Requirements

Target platform

Universal

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= DISPATCH_LEVEL

See also

FLT_CALLBACK_DATA
FltAllocateCallbackData
FltPerformAsynchronousIo
FltPerformSynchronousIo
FltReuseCallbackData

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft