예제 #1
0
 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);
예제 #2
0
 internal static extern bool ReadFileScatter(
     SafeFileHandle hFile,
     FILE_SEGMENT_ELEMENT *aSegmentArray,
     UInt32 nNumberOfBytesToRead,
     IntPtr lpReserved,
     NativeOverlapped *lpOverlapped);
예제 #3
0
 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);