WDF_CHILD_LIST_CONFIG_INIT function

[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

Config [out]

A pointer to a driver-allocated WDF_CHILD_LIST_CONFIG structure.

IdentificationDescriptionSize [in]

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

EvtChildListCreateDevice [in]

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

Minimum KMDF version

1.0

Header

Wdfchildlist.h (include Wdf.h)

IRQL

Any level

See also

EvtChildListCreateDevice
WDF_CHILD_LIST_CONFIG

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft