Export (0) Print
Expand All
IRP
MDL
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

CM_PARTIAL_RESOURCE_LIST structure

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.

Syntax


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;

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).

Requirements

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

See also

CM_FULL_RESOURCE_DESCRIPTOR
CM_PARTIAL_RESOURCE_DESCRIPTOR

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.