ReadFileEx method

int ReadFileEx(
  1. Pointer<Void> hFile,
  2. Pointer<Void> lpBuffer,
  3. int nNumberOfBytesToRead,
  4. Pointer<OVERLAPPED> lpOverlapped,
  5. Pointer<NativeFunction<LPOVERLAPPED_COMPLETION_ROUTINE>> lpCompletionRoutine,
)

Implementation

int ReadFileEx(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Void> lpBuffer,
  int nNumberOfBytesToRead,
  ffi.Pointer<OVERLAPPED> lpOverlapped,
  ffi.Pointer<ffi.NativeFunction<LPOVERLAPPED_COMPLETION_ROUTINE>>
      lpCompletionRoutine,
) {
  return _ReadFileEx(
    hFile,
    lpBuffer,
    nNumberOfBytesToRead,
    lpOverlapped,
    lpCompletionRoutine,
  );
}