WDF_DRIVER_CONFIG_INIT

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(
  _Out_    PWDF_DRIVER_CONFIG        Config,
  _In_opt_ PFN_WDF_DRIVER_DEVICE_ADD EvtDriverDeviceAdd
);

Parameters

Config [out]

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

EvtDriverDeviceAdd [in, optional]

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

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft