Share via


MEMMAP_DESCRIPTION_TYPE (Windows Embedded CE 6.0)

1/5/2010

This structure defines the type of memory map.

Syntax

typedef struct _MEMMAP_DESCRIPTION_TYPE {
  LPOLESTR szName;
  LINEAR_MEM_MAP_TYPE dwId;
  ADDRESS_TYPE  MaxAddr;
  BYTE bByteWidthBitfield;
} MEMMAP_DESCRIPTION_TYPE;

Members

  • szName
    Zero-terminated string that provides the name of the memory map.
  • dwId
    Identifier for memory map, LINEAR_MEM_MAP_TYPE.

    The following table shows values for this parameter.

    Programming element Value Description

    LMM_VIRT

    0

    Virtual memory

    LMM_PHYS

    1

    Physical memory

    LMM_IO

    2

    Peripheral I/O registers

  • MaxAddr
    Maximum address (starting from 0).
  • bByteWidthBitfield
    Bit-width field size, such as one of the following:

    • Bit 0 set: supports 8-bit access
    • Bit 1 set: support 16-bit access
    • Bit 2 set: 32-bit access
    • And so on

Requirements

Header eXDI2.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IeXDI2 Structures
IeXDI2 Interfaces