Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function is called by a file system driver (FSD) to write sectors to a disk from discontinuous buffers.

Syntax

DWORD FSDMGR_WriteDiskEx( 
  PFSGI 
pfsgi, 
  PFSGR 
pfsgr
);

Parameters

pfsgi

[in] Pointer to an FSD_SCATTER_GATHER_INFOstructure.

pfsgr

[in] Pointer to an FSD_SCATTER_GATHER_RESULTSstructure.

Return Value

ERROR_SUCCESS indicates success. A standard Windows error code indicates failure.

Remarks

The pfbimember of the FSD_SCATTER_GATHER_INFOstructure points to a FSD_BUFFER_INFOstructure or structures that contain the information to be written to the mounted volumes. The cSectorsTransferredmember of the FSD_SCATTER_GATHER_RESULTSstructure contains the number of sectors transferred. If the driver or system does not support scatter or gather, the output is converted automatically to normal I/O.

Requirements

Header fsdmgr.h
Library Fsdmgr.lib
Windows Embedded CE Windows CE 2.10 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also