WriteFileEx method

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

Implementation

int WriteFileEx(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Void> lpBuffer,
  int nNumberOfBytesToWrite,
  ffi.Pointer<OVERLAPPED> lpOverlapped,
  ffi.Pointer<ffi.NativeFunction<LPOVERLAPPED_COMPLETION_ROUTINE>>
      lpCompletionRoutine,
) {
  return _WriteFileEx(
    hFile,
    lpBuffer,
    nNumberOfBytesToWrite,
    lpOverlapped,
    lpCompletionRoutine,
  );
}