// wdfresource.h
ULONG WdfIoResourceListGetCount(
[in] WDFIORESLIST ResourceList
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF only]
The WdfIoResourceListGetCount method returns the number of resource descriptors that are contained in a resource requirements list's logical configuration.
ResourceList [in]A handle to a framework resource-range-list object that represents a logical configuration of hardware resources for a device.
WdfIoResourceListGetCount returns the number of resource descriptors that are contained in the logical configuration that ResourceList specifies.
A system bug check occurs if the driver supplies an invalid object handle.
For more information about resource requirements lists and logical configurations, see Hardware Resources for Framework-Based Drivers.
For a code example that uses WdfIoResourceListGetCount, see WdfIoResourceRequirementsListGetIoResList.
WdfIoResourceRequirementsListGetIoResList