FltReferenceContext - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

VOID FLTAPI FltReferenceContext(
  [in] PFLT_CONTEXT Context
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltreferencecontext)

FltReferenceContext function

Description

FltReferenceContext increments the reference count on a context structure.

Parameters

Context [in]

Pointer to the context. This parameter is required and cannot be NULL.

Return value

None

Remarks

For more information about contexts, see About minifilter contexts.

A minifilter driver calls the FltReferenceContext routine to increment the reference count on a context structure.

After a successful call to FltReferenceContext, the caller is responsible for decrementing the reference count on the context structure by calling FltReleaseContext.

For more information about context reference counting, see Referencing Contexts.

To allocate a new context, call FltAllocateContext.

See also

FLT_CONTEXT_REGISTRATION

FltAllocateContext

FltReleaseContext