WdfIoResourceListGetCount - NtDoc

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

ULONG WdfIoResourceListGetCount(
  [in] WDFIORESLIST ResourceList
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdfresource-wdfioresourcelistgetcount)

WdfIoResourceListGetCount function

Description

[Applies to KMDF only]

The WdfIoResourceListGetCount method returns the number of resource descriptors that are contained in a resource requirements list's logical configuration.

Parameters

ResourceList [in]

A handle to a framework resource-range-list object that represents a logical configuration of hardware resources for a device.

Return value

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.

Remarks

For more information about resource requirements lists and logical configurations, see Hardware Resources for Framework-Based Drivers.

Examples

For a code example that uses WdfIoResourceListGetCount, see WdfIoResourceRequirementsListGetIoResList.

See also

WdfIoResourceRequirementsListGetIoResList