Share via


FMD_WriteSector (Windows CE 5.0)

Send Feedback

This function writes the requested sector data and metadata to the flash media.

BOOL FMD_WriteSector(SECTOR_ADDRstartSectorAddr,LPBYTEpSectorBuff,PSectorInfo pSectorInfoBuff,DWORD dwNumSectors);

Parameters

  • startSectorAddr
    [in] The starting physical sector address to write to.
  • pSectorBuff
    [in] Pointer to the buffer that contains the sector data to write. Set to NULL if no data is to be written.
  • pSectorInfoBuff
    [in] Buffer for an array of sector information structures. There must be one sector information entry for each sector that is to be written. Set to NULL if this data is not written.
  • dwNumSectors
    [in] Number of sectors to write.

Return Values

Returns TRUE on success. Returns FALSE on failure.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Fmd.h.
Link Library: Developer implemented.

See Also

Flash Media Drivers | Flash Media Driver Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.