Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.66 KB

nc-wdfworkitem-evt_wdf_workitem.md

File metadata and controls

82 lines (58 loc) · 2.66 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:wdfworkitem.EVT_WDF_WORKITEM
EVT_WDF_WORKITEM (wdfworkitem.h)
A driver's EvtWorkItem event callback function performs the work that is associated with a specified work item.
wdf\evtworkitem.htm
wdf
02/26/2018
EVT_WDF_WORKITEM callback function
DFWorkItemObjectRef_e799d95c-bbde-402a-8ba6-6e03256772ff.xml, EVT_WDF_WORKITEM, EVT_WDF_WORKITEM callback, EvtWorkItem, EvtWorkItem callback function, kmdf.evtworkitem, wdf.evtworkitem, wdfworkitem/EvtWorkItem
wdfworkitem.h
Wdf.h
Universal
1.0
2.0
PASSIVE_LEVEL (see Remarks section)
Windows
EVT_WDF_WORKITEM
wdfworkitem/EVT_WDF_WORKITEM
APIRef
kbSyntax
UserDefined
Wdfworkitem.h
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

-param 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