Share via


FMD_ReadSector

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function reads the requested sector data and metadata from the flash media.

Syntax

BOOL FMD_ReadSector(
  SECTOR_ADDR startSectorAddr,
  LPBYTE pSectorBuff,
  PSectorInfo pSectorInfoBuff,
  DWORD dwNumSectors
);

Parameters

  • startSectorAddr
    [in] The starting physical sector address to read from.
  • pSectorBuff
    [out] Pointer to the buffer that contains the sector data read from flash memory. Set to NULL if this data is not needed.
  • pSectorInfoBuff
    [out] Buffer for an array of sector information structures. There is one sector information entry for every sector that is to be read. Set to NULL if this data is not needed.
  • dwNumSectors
    [in] Number of sectors to read.

Return Value

Returns TRUE on success. Returns FALSE on failure.

Requirements

Header fmd.h
Library Developer Implemented
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Other Resources

Flash Drivers
Flash Media Driver Reference