Du läser för närvarande dokumentationen för:
ECSD_ReadSector
The ECSD_ReadSector function reads a sector (block) from the connected SD card.
ECSD_ErrorCode ECSD_ReadSector(
   struct ECF_BlockDriver *pBlockDriver,
   DWORD sector,
   BYTE *data,
   BYTE flags
);
Parameters
pBlockDriver
A pointer to an ECF_BlockDriver struct for EcFAT compatibility. If you are not using EcFAT you can safely pass NULL.
sector
The sector to read.
data
A pointer to a buffer that can hold a block of the sector size. Call ECSD_GetVolumeInformation to obtain the sector size.
flags
Flags that ECF will pass when reading sectors. It is safe to pass 0.
Return value
Returns one of the ECSD error codes (ECSD_STATUS_OK on success).
See also