FltReferenceContext function (fltkernel.h)
FltReferenceContext increments the reference count on a context structure.
Syntax
VOID FLTAPI FltReferenceContext(
[in] PFLT_CONTEXT Context
);
Parameters
[in] Context
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | fltkernel.h (include Fltkernel.h) |
Library | FltMgr.lib |
DLL | Fltmgr.sys |
IRQL | <= DISPATCH_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for