WDF_DPC_CONFIG_INIT
Collapse the table of content
Expand the table of content

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(
  _Out_ PWDF_DPC_CONFIG Config,
  _In_  PFN_WDF_DPC     EvtDpcFunc
);

Parameters

Config [out]

A pointer to a driver-allocated WDF_DPC_CONFIG structure.

EvtDpcFunc [in]

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

WDF_DPC_CONFIG
EvtDpcFunc

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft