WdfChildListEndIteration - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdfchildlist.h

VOID WdfChildListEndIteration(
  [in] WDFCHILDLIST             ChildList,
  [in] PWDF_CHILD_LIST_ITERATOR Iterator
);

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfchildlist-wdfchildlistenditeration)

WdfChildListEndIteration function

Description

[Applies to KMDF only]

The WdfChildListEndIteration method processes modifications to a specified child list.

Parameters

ChildList [in]

The same handle to a framework child-list object that the driver previously specified to WdfChildListBeginIteration.

Iterator [in]

A pointer to the same caller-allocated WDF_CHILD_LIST_ITERATOR structure that the driver previously supplied to WdfChildListEndIteration.

Remarks

A bug check occurs if the driver supplies an invalid object handle.

If the driver has made multiple calls to WdfChildListBeginIteration or WdfChildListBeginScan, the framework does not process modifications to the child list until the driver has made a corresponding number of calls to WdfChildListEndIteration and WdfChildListEndScan.

For more information about child lists, see Dynamic Enumeration.

Examples

For a code example that uses WdfChildListEndIteration, see WdfChildListRetrieveNextDevice.

See also

WDF_CHILD_LIST_ITERATOR

WdfChildListBeginIteration

WdfChildListBeginScan

WdfChildListEndScan