Hardware Dev Center

WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER_INIT function

[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

Header [out]

A pointer to a driver-allocated WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER structure.

IdentificationDescriptionSize [in]

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

Target platform

Universal

Minimum KMDF version

1.0

Header

Wdfchildlist.h (include Wdf.h)

IRQL

Any level

See also

WDF_CHILD_IDENTIFICATION_DESCRIPTION_HEADER

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft