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 |
|
|---|---|
|
Library |
|
|
IRQL | <= DISPATCH_LEVEL |
See also
Send comments about this topic to Microsoft
Build date: 11/21/2012
