Partager via


FMD_GetInfoEx (Compact 2013)

3/26/2014

This function provides the layout of the regions in flash memory.

Syntax

BOOL FMD_GetInfoEx(
  PFlashInfoEx pFlashInfo,
  PDWORD pdwNumRegions
);

Parameters

  • pFlashInfo
    [out] A pointer to a structure that contains the size characteristics for the flash memory device.
  • pdwNumRegions
    [in] Number of flash regions.

Return Value

Returns TRUE on success. Returns FALSE on failure.

Remarks

Even for NOR flash memory, the media must be logically divided into sectors. The specific flash media driver (FMD) implementation determines how the sectors are divided.

Requirements

Header

fmd.h

Library

Developer Implemented

See Also

Reference

Flash Media Driver Functions
Flash Media Driver Reference
FlashInfoEx