CM_PARTIAL_RESOURCE_LIST - NtDoc

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

typedef struct _CM_PARTIAL_RESOURCE_LIST {
  USHORT                         Version;
  USHORT                         Revision;
  ULONG                          Count;
  CM_PARTIAL_RESOURCE_DESCRIPTOR PartialDescriptors[1];
} CM_PARTIAL_RESOURCE_LIST, *PCM_PARTIAL_RESOURCE_LIST;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-wdm-_cm_partial_resource_list)

Description

The CM_PARTIAL_RESOURCE_LIST structure specifies a set of system hardware resources, of various types, assigned to a device. This structure is contained within a CM_FULL_RESOURCE_DESCRIPTOR structure.

Members

Version

The version number of this structure. This value should be 1.

Revision

The revision of this structure. This value should be 1.

Count

The number of elements contained in the PartialDescriptors array.

PartialDescriptors

The first element in an array of one or more CM_PARTIAL_RESOURCE_DESCRIPTOR structures.

Remarks

This structure is the header for an array of CM_PARTIAL_RESOURCE_DESCRIPTOR structures. The PartialDescriptors member contains the first element in this array, and the Count member specifies the total number of array elements. If the array contains more than one element, the remaining elements in the array immediately follow the CM_PARTIAL_RESOURCE_LIST structure in memory. The total number of bytes occupied by the CM_PARTIAL_RESOURCE_LIST structure and any array elements that follow this structure is sizeof(CM_PARTIAL_RESOURCE_LIST) + (Count - 1) * sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR).

If the last CM_PARTIAL_RESOURCE_DESCRIPTOR in the CM_PARTIAL_RESOURCE_LIST has a Type of CmResourceTypeDeviceSpecific, then you need to add the size of the device specific data block to the total above.

See also

CM_FULL_RESOURCE_DESCRIPTOR

CM_PARTIAL_RESOURCE_DESCRIPTOR