WDF_CHILD_LIST_CONFIG_INIT function (wdfchildlist.h)
[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
[out] Config
A pointer to a driver-allocated WDF_CHILD_LIST_CONFIG structure.
[in] IdentificationDescriptionSize
The size, in bytes, of each child device's identification description.
[in] EvtChildListCreateDevice
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
Requirement | Value |
---|---|
Target Platform | Universal |
Minimum KMDF version | 1.0 |
Header | wdfchildlist.h (include Wdf.h) |
IRQL | Any level |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for