WdfChildListEndIteration 方法

The WdfChildListEndIteration method processes modifications to a specified child list.

语法

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

参数

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.

返回值

None.

A system 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.

示例

For a code example that uses WdfChildListEndIteration, see WdfChildListRetrieveNextDevice.

要求

版本

Available in version 1.0 and later versions of KMDF.

标头

Wdfchildlist.h (包括Wdf.h)

Wdf<MajorVersionNumber>000.sys (see Framework Library Versions.)

IRQL

<= DISPATCH_LEVEL

另请参见

WDF_CHILD_LIST_ITERATOR
WdfChildListBeginIteration
WdfChildListBeginScan
WdfChildListEndScan

 

 

社区附加资源

添加
显示:
© 2015 Microsoft