FMD_ReadSector (Windows CE 5.0)
This function reads the requested sector data and metadata from the flash media.
BOOL FMD_ReadSector(SECTOR_ADDRstartSectorAddr,LPBYTEpSectorBuff,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 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