FMD_WriteSector (Windows CE 5.0)
This function writes the requested sector data and metadata to the flash media.
BOOL FMD_WriteSector( SECTOR_ADDR startSectorAddr, LPBYTE pSectorBuff, PSectorInfo pSectorInfoBuff, DWORD dwNumSectors );
- [in] The starting physical sector address to write to.
- [in] Pointer to the buffer that contains the sector data to write. Set to NULL if no data is to be written.
- [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.
- [in] Number of sectors to write.
Returns TRUE on success. Returns FALSE on failure.
OS Versions: Windows CE .NET 4.2 and later.
Link Library: Developer implemented.
Send Feedback on this topic to the authors