BackupWrite method

int BackupWrite(
  1. Pointer<Void> hFile,
  2. Pointer<Uint8> lpBuffer,
  3. int nNumberOfBytesToWrite,
  4. Pointer<Uint64> lpNumberOfBytesWritten,
  5. int bAbort,
  6. int bProcessSecurity,
  7. Pointer<Pointer<Void>> lpContext,
)

Implementation

int BackupWrite(
  ffi.Pointer<ffi.Void> hFile,
  ffi.Pointer<ffi.Uint8> lpBuffer,
  int nNumberOfBytesToWrite,
  ffi.Pointer<ffi.Uint64> lpNumberOfBytesWritten,
  int bAbort,
  int bProcessSecurity,
  ffi.Pointer<ffi.Pointer<ffi.Void>> lpContext,
) {
  return (_BackupWrite ??= _dylib
      .lookupFunction<_c_BackupWrite, _dart_BackupWrite>('BackupWrite'))(
    hFile,
    lpBuffer,
    nNumberOfBytesToWrite,
    lpNumberOfBytesWritten,
    bAbort,
    bProcessSecurity,
    lpContext,
  );
}