WDF_WORKITEM_CONFIG_INIT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfworkitem-wdf_workitem_config_init)

WDF_WORKITEM_CONFIG_INIT function

Description

[Applies to KMDF and UMDF]

The WDF_WORKITEM_CONFIG_INIT function initializes a driver's WDF_WORKITEM_CONFIG structure.

Parameters

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.

Remarks

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.

Examples

For a code example that uses WDF_WORKITEM_CONFIG_INIT, see WdfWorkItemCreate.

See also

EvtWorkItem

WDF_WORKITEM_CONFIG

WdfWorkItemCreate