This topic has not yet been rated Rate this topic

FlashRegion

Other versions of this page are also available for the following:
Windows Mobile Not SupportedWindows Embedded CE Supported
8/28/2008

This structure describes an individual flash region. An array of these structures make up the flash region table located in the flash layout sector.


typedef struct _FlashRegion {
  REGION_TYPE regionType;
  DWORD dwStartPhysBlock;
  DWORD dwNumPhysBlocks;
  DWORD dwNumLogicalBlocks;
  DWORD dwSectorsPerBlock;
  DWORD dwBytesPerBlock;
  DWORD dwCompactBlocks;
} FlashRegion, *PFlashRegion;
regionType

Type of region, which must be one of the following: XIP, READONLY_FILESYS, or FILESYS.

dwStartPhysBlock

Starting physical block of the region. Set to zero (0) if not used.

dwNumPhysBlocks

Number of physical blocks in the region. Set to zero (0) if not used.

dwNumLogicalBlocks

Number of logical blocks in the region. Set to zero (0) if not used. Set to -1 to indicate that the region extends to the end of flash memory.

dwSectorsPerBlock

Number of sectors in a flash block.

dwBytesPerBlock

Number of bytes in a flash block.

dwCompactBlocks

Number of blocks reserved for compaction by the FAL.

Either the dwStartPhysBlock and dwNumPhysBlocks members or the dwNumLogicalBlocks member must be specified.

Headerfls.h
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ