Download EaseFilter Filter Driver SDK Setup File Download EaseFilter Filter Driver SDK Zip File
FltDeleteContext marks a specified context for deletion.
VOID FLTAPI FltDeleteContext( PFLT_CONTEXT Context );
A pointer to the context to delete. This parameter is required and cannot be NULL.
Because contexts are reference-counted, it is not usually necessary for a minifilter driver to call a routine, such as FltDeleteContext, to explicitly delete a context.
FltDeleteContext marks a context for deletion. The context is usually freed as soon as the current reference on it is released, unless there is an outstanding reference on it (for example, because the context is still being used by another thread).
You should consider the following items when you use FltDeleteContext:
|Context Type||Delete-Context Routine|
FltDeleteFileContext (Windows Vista and later only.)
FltCloseSectionForDataScan (Windows 8 and later only.)
FltDeleteTransactionContext (Windows Vista and later only.)
To allocate a new context, call FltAllocateContext.
To increment the reference count on a context, call FltReferenceContext.
To decrement the reference count on a context, call FltReleaseContext.
A section context, FLT_SECTION_CONTEXT type, must not be deleted using FltDeleteContext. Instead, use FltReleaseContext to deallocate a section context.
|Header||fltkernel.h (include Fltkernel.h)|