WDF_DRIVER_CONFIG_INIT function

[Applies to KMDF and UMDF]

The WDF_DRIVER_CONFIG_INIT function initializes a driver's WDF_DRIVER_CONFIG structure.

Syntax

void WDF_DRIVER_CONFIG_INIT(
  PWDF_DRIVER_CONFIG        Config,
  PFN_WDF_DRIVER_DEVICE_ADD EvtDriverDeviceAdd
);

Parameters

Config

A pointer to the WDF_DRIVER_CONFIG structure that the function will initialize.

EvtDriverDeviceAdd

A pointer to the driver's EvtDriverDeviceAdd callback function.

Return Value

None

Remarks

The WDF_DRIVER_CONFIG_INIT function is available in version 1.0 and later versions of KMDF.

Examples

For a code example that uses WDF_DRIVER_CONFIG_INIT, see WdfDriverCreate.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header wdfdriver.h (include Wdf.h)

See Also

EvtDriverDeviceAdd

WDF_DRIVER_CONFIG

WdfDriverCreate