WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT function

[Applies to KMDF only]

The WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT function initializes a WDF_CHILD_ADDRESS_DESCRIPTION_HEADER structure.

Syntax


VOID WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT(
  _Out_  PWDF_CHILD_ADDRESS_DESCRIPTION_HEADER Header,
  _In_   ULONG AddressDescriptionSize
);

Parameters

Header [out]

A pointer to a driver-allocated WDF_CHILD_ADDRESS_DESCRIPTION_HEADER structure.

AddressDescriptionSize [in]

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

Return value

None

Remarks

The WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT function zeros the specified WDF_CHILD_ADDRESS_DESCRIPTION_HEADER structure and sets the structure's AddressDescriptionSize member to the specified value.

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

Examples

For a code example that uses WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT, see WdfChildListRetrieveAddressDescription.

Requirements

Minimum KMDF version

1.0

Header

Wdfchildlist.h (include Wdf.h)

IRQL

Any level

See also

WDF_CHILD_ADDRESS_DESCRIPTION_HEADER

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft