Writefilegather

[DllImport("Kernel32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool WriteFileGather(IntPtr hFile,
   FILE_SEGMENT_ELEMENT[] aSegmentArray,
   uint nNumberOfBytesToWrite,
   IntPtr lpReserved,
   ref OVERLAPPED lpOverlapped
);

Microsoft documentation: Link

Last updated