This function reads sectors from a disk into discontiguous buffers.
At a Glance
Header file: | Fsdmgr.h |
Windows CE versions: | 2.10 and later |
Syntax
DWORD FSDMGR_ReadDiskEx ( PFSGI pfsgi, PFSGR pfsgr);
Parameters
pfsgi
[in] Pointer to an FSD_SCATTER_GATHER_INFO structure.
pfsgr
[in] Pointer to an FSD_SCATTER_GATHER_RESULTS structure.
Return Values
ERROR_SUCCESS indicates success. A standard WinAPI error code indicates failure.
Remarks
The pfbi member of the FSD_SCATTER_GATHER_INFO structure points to the FSD_BUFFER_INFO structure or structures, which contain the information read from the mounted volumes. The cSectorsTransferred member of the FSD_SCATTER_GATHER_RESULTS structure contains the total number of sectors transferred. If the driver or system does not support scatter/gather, the output is converted automatically to normal I/O.
See Also
FSD_BUFFER_INFO, FSD_SCATTER_GATHER_INFO, FSD_SCATTER_GATHER_RESULTS, FSDMGR_WriteDiskEx