WDF_IO_TYPE_CONFIG_INIT function (wdfdevice.h)

[Applies to KMDF and UMDF]

The WDF_IO_TYPE_CONFIG_INIT function initializes a driver's WDF_IO_TYPE_CONFIG structure.

Syntax

void WDF_IO_TYPE_CONFIG_INIT(
  [out] PWDF_IO_TYPE_CONFIG IoTypeConfig
);

Parameters

[out] IoTypeConfig

A pointer to a driver-allocated WDF_IO_TYPE_CONFIG structure.

Return value

None

Remarks

The WDF_IO_TYPE_CONFIG_INIT function zeros the specified WDF_IO_TYPE_CONFIG structure and sets the structure's Size member. It then sets the ReadWriteIoType member to WdfDeviceIoBuffered, and the DeviceControlIoType member to WdfDeviceIoBuffered.

Examples

For a code example that uses WDF_IO_TYPE_CONFIG_INIT, see WdfDeviceInitSetIoTypeEx.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.13
Minimum UMDF version 2.0
Header wdfdevice.h (include Wdf.h)

See also

WDF_IO_TYPE_CONFIG

WdfDeviceInitSetIoTypeEx