Bewerken

Delen via


WDF_DRIVER_CONFIG_INIT function (wdfdriver.h)

[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(
  [out]          PWDF_DRIVER_CONFIG        Config,
  [in, optional] PFN_WDF_DRIVER_DEVICE_ADD EvtDriverDeviceAdd
);

Parameters

[out] Config

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

[in, optional] 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

Requirement Value
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