ReplaceFileA method

int ReplaceFileA(
  1. Pointer<Int8> lpReplacedFileName,
  2. Pointer<Int8> lpReplacementFileName,
  3. Pointer<Int8> lpBackupFileName,
  4. int dwReplaceFlags,
  5. Pointer<Void> lpExclude,
  6. Pointer<Void> lpReserved,
)

Implementation

int ReplaceFileA(
  ffi.Pointer<ffi.Int8> lpReplacedFileName,
  ffi.Pointer<ffi.Int8> lpReplacementFileName,
  ffi.Pointer<ffi.Int8> lpBackupFileName,
  int dwReplaceFlags,
  ffi.Pointer<ffi.Void> lpExclude,
  ffi.Pointer<ffi.Void> lpReserved,
) {
  return (_ReplaceFileA ??= _dylib
      .lookupFunction<_c_ReplaceFileA, _dart_ReplaceFileA>('ReplaceFileA'))(
    lpReplacedFileName,
    lpReplacementFileName,
    lpBackupFileName,
    dwReplaceFlags,
    lpExclude,
    lpReserved,
  );
}