MEM_RANGE structure (cfgmgr32.h)

The MEM_RANGE structure specifies a resource requirements list that describes memory usage for a device instance. For more information about resource requirements lists, see Hardware Resources.

Syntax

typedef struct Mem_Range_s {
  DWORDLONG MR_Align;
  ULONG     MR_nBytes;
  DWORDLONG MR_Min;
  DWORDLONG MR_Max;
  DWORD     MR_Flags;
  DWORD     MR_Reserved;
} MEM_RANGE, *PMEM_RANGE;

Members

MR_Align

Mask used to specify the memory address boundary on which the first allocated memory address must be aligned.

MR_nBytes

The number of bytes of memory required by the device.

MR_Min

The lowest-numbered of a range of contiguous memory addresses that can be allocated to the device.

MR_Max

The highest-numbered of a range of contiguous memory addresses that can be allocated to the device.

MR_Flags

One bit flag from MEM_DES structure.

MR_Reserved

For internal use only.

Requirements

Requirement Value
Header cfgmgr32.h (include Cfgmgr32.h)

See also

MEM_DES