Share via


FLASH_REGION_INFO (Windows Embedded CE 6.0)

1/6/2010

This structure describes standard information for a particular flash region. FLASH_REGION_INFO is the output structure for IOCTL_FLASH_PDD_GET_REGION_INFO.

Syntax

typedef struct __FLASH_REGION_INFO {
  ULONG FlashFlags;
  ULONGLONG StartBlock;
  ULONGLONG BlockCount;
  ULONG SectorsPerBlock;
  ULONG DataBytesPerSector;
  ULONG SpareBytesPerSector;
  ULONG PageProgramLimit;
  ULONG BadBlockHundredthPercent
} FLASH_REGION_INFO;

Members

  • FlashFlags
    Indicates the features supported for this flash part.
  • StartBlock
    The starting physical block for the flash hardware region.
  • BlockCount
    The total number of physical blocks in the flash region.
  • SectorsPerBlock
    The number of sectors in a block.
  • DataBytesPerSector
    The number of data bytes in a sector.
  • SpareBytesPerSector
    The number of spare bytes in a sector available for use by the model device driver (MDD).
  • PageProgramLimit
    The number of program operations allowed per page. This value can be 1.
  • BadBlockHundredthPercent
    The percentage of blocks that are expected to go bad during the lifetime of the flash part. This value is expressed as 1/100th of one percent units. For example, if 1% of blocks were expected to go bad during the lifetime of the flash part, this value would be 100.

Requirements

Header FlashCommon.h
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

Flash Driver PDD Structures
Flash Driver MDD Structures