WDF_CHILD_LIST_CONFIG_INIT function (wdfchildlist.h)

[Applies to KMDF only]

The WDF_CHILD_LIST_CONFIG_INIT function initializes a WDF_CHILD_LIST_CONFIG structure.

Syntax

void WDF_CHILD_LIST_CONFIG_INIT(
  [out] PWDF_CHILD_LIST_CONFIG           Config,
  [in]  ULONG                            IdentificationDescriptionSize,
  [in]  PFN_WDF_CHILD_LIST_CREATE_DEVICE EvtChildListCreateDevice
);

Parameters

[out] Config

A pointer to a driver-allocated WDF_CHILD_LIST_CONFIG structure.

[in] IdentificationDescriptionSize

The size, in bytes, of each child device's identification description.

[in] EvtChildListCreateDevice

The address of a driver-supplied EvtChildListCreateDevice event callback function.

Return value

None

Remarks

The WDF_CHILD_LIST_CONFIG_INIT function zeros the specified WDF_CHILD_LIST_CONFIG structure and sets the structure's Size member. Then it sets the IdentificationDescriptionSize and EvtChildListCreateDevice members to the specified values.

For more information about child lists, see Dynamic Enumeration.

Examples

For a code example that uses WDF_CHILD_LIST_CONFIG_INIT, see WdfChildListCreate.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.0
Header wdfchildlist.h (include Wdf.h)
IRQL Any level

See also

EvtChildListCreateDevice

WDF_CHILD_LIST_CONFIG