WriteFileGather function kernel32
int
WriteFileGather(
- int hFile,
- Pointer<
FILE_SEGMENT_ELEMENT> aSegmentArray, - int nNumberOfBytesToWrite,
- Pointer<
Uint32> lpReserved, - Pointer<
OVERLAPPED> lpOverlapped,
Retrieves data from an array of buffers and writes the data to a file. The function starts writing data to the file at a position that is specified by an OVERLAPPED structure. The WriteFileGather function operates asynchronously.
BOOL WriteFileGather(
[in] HANDLE hFile,
[in] FILE_SEGMENT_ELEMENT [] aSegmentArray,
[in] DWORD nNumberOfBytesToWrite,
LPDWORD lpReserved,
[in, out] LPOVERLAPPED lpOverlapped
);
Implementation
int WriteFileGather(
int hFile,
Pointer<FILE_SEGMENT_ELEMENT> aSegmentArray,
int nNumberOfBytesToWrite,
Pointer<Uint32> lpReserved,
Pointer<OVERLAPPED> lpOverlapped) =>
_WriteFileGather(
hFile, aSegmentArray, nNumberOfBytesToWrite, lpReserved, lpOverlapped);