MEM_RESOURCE structure (cfgmgr32.h)

The MEM_RESOURCE structure is used for specifying either a resource list or a resource requirements list that describes memory usage for a device instance. For more information about resource lists and resource requirements lists, see Hardware Resources.

Syntax

typedef struct Mem_Resource_s {
  MEM_DES   MEM_Header;
  MEM_RANGE MEM_Data[ANYSIZE_ARRAY];
} MEM_RESOURCE, *PMEM_RESOURCE;

Members

MEM_Header

A MEM_DES structure.

MEM_Data[ANYSIZE_ARRAY]

For a resource list:

Zero.

For a resource requirements list:

A MEM_RANGE array.

Requirements

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

See also

MEM_DES

MEM_RANGE