WDF_DPC_CONFIG_INIT function

[Applies to KMDF only]

The WDF_DPC_CONFIG_INIT function initializes a driver's WDF_DPC_CONFIG structure.

Syntax

void WDF_DPC_CONFIG_INIT(
  PWDF_DPC_CONFIG Config,
  PFN_WDF_DPC     EvtDpcFunc
);

Parameters

Config

A pointer to a driver-allocated WDF_DPC_CONFIG structure.

EvtDpcFunc

A pointer to a driver-supplied EvtDpcFunc callback function.

Return Value

None

Remarks

The WDF_DPC_CONFIG_INIT function stores the specified EvtDpcFunc pointer and sets the AutomaticSerialization member of the WDF_DPC_CONFIG structure to TRUE.

Examples

For a code example that uses the WDF_DPC_CONFIG_INIT function, see WdfDpcCreate.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.0
Header wdfdpc.h (include Wdf.h)
IRQL Any level

See Also

EvtDpcFunc

WDF_DPC_CONFIG