WDF_CHILD_ADDRESS_DESCRIPTION_HEADER_INIT function (wdfchildlist.h)
[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
[out] Header
A pointer to a driver-allocated WDF_CHILD_ADDRESS_DESCRIPTION_HEADER structure.
[in] AddressDescriptionSize
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
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Header | wdfchildlist.h (include Wdf.h) |
IRQL | Any level |