This function writes sectors to a disk from discontiguous buffers.
At a Glance
Header file: | Fsdmgr.h |
Windows CE versions: | 2.10 and later |
Syntax
DWORD FSDMGR_WriteDiskEx ( 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 to be written to 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, FSDMGR_ReadDiskEx, FSD_SCATTER_GATHER_INFO, FSD_SCATTER_GATHER_RESULTS