public static extern int WriteFileGather([NativeTypeName("HANDLE")] IntPtr hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT []")] FILE_SEGMENT_ELEMENT *aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToWrite, [NativeTypeName("LPDWORD")] uint *lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED *lpOverlapped);
internal static extern bool ReadFileScatter( SafeFileHandle hFile, FILE_SEGMENT_ELEMENT *aSegmentArray, UInt32 nNumberOfBytesToRead, IntPtr lpReserved, NativeOverlapped *lpOverlapped);
public static extern BOOL ReadFileScatter(HANDLE hFile, [NativeTypeName("FILE_SEGMENT_ELEMENT []")] FILE_SEGMENT_ELEMENT *aSegmentArray, [NativeTypeName("DWORD")] uint nNumberOfBytesToRead, [NativeTypeName("LPDWORD")] uint *lpReserved, [NativeTypeName("LPOVERLAPPED")] OVERLAPPED *lpOverlapped);