Bewerken

Delen via


FltAllocateDeferredIoWorkItem function (fltkernel.h)

FltAllocateDeferredIoWorkItem allocates a deferred-I/O work item.

Syntax

PFLT_DEFERRED_IO_WORKITEM FLTAPI FltAllocateDeferredIoWorkItem();

Return value

FltAllocateDeferredIoWorkItem 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

FltAllocateDeferredIoWorkItem allocates a deferred I/O work item from nonpaged pool.

To insert this work item into a deferred I/O work queue, call FltQueueDeferredIoWorkItem.

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

Requirements

Requirement Value
Target Platform Universal
Header fltkernel.h (include Fltkernel.h)
Library FltMgr.lib
IRQL <= DISPATCH_LEVEL

See also

FltFreeDeferredIoWorkItem

FltQueueDeferredIoWorkItem