EVT_WDF_WORKITEM - NtDoc

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

EVT_WDF_WORKITEM EvtWdfWorkitem;

VOID EvtWdfWorkitem(
  [in] WDFWORKITEM WorkItem
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdfworkitem-evt_wdf_workitem)

EVT_WDF_WORKITEM callback function

Description

[Applies to KMDF and UMDF]

A driver's EvtWorkItem event callback function performs the work that is associated with a specified work item.

Parameters

WorkItem [in]

A handle to a framework work-item object.

Remarks

Typically, a driver's EvtWorkItem callback function performs tasks that are specified by information that the driver stored in the context memory of a work-item object.

To register an EvtWorkItem callback function, the driver calls WdfWorkItemCreate.

After the EvtWorkItem callback function has performed the specified tasks, it must call WdfObjectDelete, unless the driver reuses work items.

For more information about work items, see Using Framework Work Items.

The EvtWorkItem callback function runs at IRQL = PASSIVE_LEVEL in the context of a system worker thread.

See also

WdfObjectDelete

WdfWorkItemCreate

WdfWorkItemEnqueue