ReplaceFileFromAppW method

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

Implementation

int ReplaceFileFromAppW(
  ffi.Pointer<ffi.Uint16> lpReplacedFileName,
  ffi.Pointer<ffi.Uint16> lpReplacementFileName,
  ffi.Pointer<ffi.Uint16> lpBackupFileName,
  int dwReplaceFlags,
  ffi.Pointer<ffi.Void> lpExclude,
  ffi.Pointer<ffi.Void> lpReserved,
) {
  return (_ReplaceFileFromAppW ??= _dylib.lookupFunction<
      _c_ReplaceFileFromAppW,
      _dart_ReplaceFileFromAppW>('ReplaceFileFromAppW'))(
    lpReplacedFileName,
    lpReplacementFileName,
    lpBackupFileName,
    dwReplaceFlags,
    lpExclude,
    lpReserved,
  );
}