WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT function (wdfchildlist.h)

[Applies to KMDF only]

The WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT function initializes a WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER structure.

Syntax

void WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT(
  [out] PWDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER Header,
  [in]  ULONG                                        IdentificationDescriptionSize
);

Parameters

[out] Header

A pointer to a driver-allocated WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER structure.

[in] IdentificationDescriptionSize

The size, in bytes, of a driver-defined structure that contains device identification information. For more information about specifying the size value, see WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER.

Return value

None

Remarks

The WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT function zeros the specified WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER structure and sets the structure's IdentificationDescriptionSize member to the specified value.

For more information about child identification descriptions, see Dynamic Enumeration.

Examples

For a code example that uses WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT, see WdfChildListAddOrUpdateChildDescriptionAsPresent.

Requirements

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

See also

WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER