FltAllocateGenericWorkItem - NtDoc

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

PFLT_GENERIC_WORKITEM FLTAPI FltAllocateGenericWorkItem();
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

FltAllocateGenericWorkItem function

Description

FltAllocateGenericWorkItem allocates a generic work item.

Return value

FltAllocateGenericWorkItem returns NULL if there is insufficient memory in nonpaged pool to satisfy the request. Otherwise, it returns a pointer to the allocated work item.

Remarks

FltAllocateGenericWorkItem allocates a generic work item from nonpaged pool.

To insert this work item into a work queue, call FltQueueGenericWorkItem.

To free the work item, a minifilter driver typically calls FltFreeGenericWorkItem from the worker routine that was specified in FltQueueGenericWorkItem.

See also

FltFreeGenericWorkItem

FltQueueGenericWorkItem