Share via


FLASH_PARTITION_FLAGS (Compact 2013)

3/26/2014

This enumeration defines flags that describe the properties of a partition.

Syntax

enum FLASH_PARTITION_FLAGS {
  FLASH_PARTITION_FLAG_DIRECT_MAP = 0x00000001,
  FLASH_PARTITION_FLAG_READ_ONLY  = 0x00000002,
  FLASH_PARTITION_FLAG_RESERVED   = 0x00000004,
};

Elements

  • FLASH_PARTITION_FLAG_DIRECT_MAP
    Indicates that the partition should be accessed with a direct logical to physical mapping. The partition will not be wear-leveled and operations are not transaction safe.
  • FLASH_PARTITION_FLAG_READ_ONLY
    Indicates that the partition will be treated as read-only and will only be written when in update mode.
  • FLASH_PARTITION_FLAG_RESERVED
    Indicates that the partition is reserved, which also means that the partition is not wear-leveled.

Requirements

Header

FlashMdd.h

See Also

Reference

Flash Driver MDD Enumerations