Ejemplo n.º 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);
Ejemplo n.º 2
0
 internal static extern bool ReadFileScatter(
     SafeFileHandle hFile,
     FILE_SEGMENT_ELEMENT *aSegmentArray,
     UInt32 nNumberOfBytesToRead,
     IntPtr lpReserved,
     NativeOverlapped *lpOverlapped);
Ejemplo n.º 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);