Expand Minimize

FltAllocateGenericWorkItem function

FltAllocateGenericWorkItem allocates a generic work item.

Syntax


PFLT_GENERIC_WORKITEM FltAllocateGenericWorkItem(void);

Parameters

This function has no parameters.

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.

Requirements

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= DISPATCH_LEVEL

See also

FltFreeGenericWorkItem
FltQueueGenericWorkItem

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.