// wdfdpc.h
VOID WDF_DPC_CONFIG_INIT(
[out] PWDF_DPC_CONFIG Config,
[in] PFN_WDF_DPC EvtDpcFunc
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WDF_DPC_CONFIG_INIT function initializes a driver's WDF_DPC_CONFIG structure.
Config [out]A pointer to a driver-allocated WDF_DPC_CONFIG structure.
EvtDpcFunc [in]A pointer to a driver-supplied EvtDpcFunc callback function.
The WDF_DPC_CONFIG_INIT function stores the specified EvtDpcFunc pointer and sets the AutomaticSerialization member of the WDF_DPC_CONFIG structure to TRUE.
For a code example that uses the WDF_DPC_CONFIG_INIT function, see WdfDpcCreate.