// wdfworkitem.h
VOID WDF_WORKITEM_CONFIG_INIT(
[out] PWDF_WORKITEM_CONFIG Config,
[in] PFN_WDF_WORKITEM EvtWorkItemFunc
);
View the official Windows Driver Kit DDI reference
No description available.
[Applies to KMDF and UMDF]
The WDF_WORKITEM_CONFIG_INIT function initializes a driver's WDF_WORKITEM_CONFIG structure.
Config
[out]A pointer to the caller-allocated WDF_WORKITEM_CONFIG structure to initialize.
EvtWorkItemFunc
[in]The address of the driver's EvtWorkItem event callback function.
Drivers must call WDF_WORKITEM_CONFIG_INIT before calling WdfWorkItemCreate.
The WDF_WORKITEM_CONFIG_INIT function stores the pointer that the EvtWorkItemFunc parameter specifies and sets the AutomaticSerialization member of the WDF_WORKITEM_CONFIG structure that is pointed to by the Config parameter to TRUE.
For a code example that uses WDF_WORKITEM_CONFIG_INIT, see WdfWorkItemCreate.