CopyFileW method

int CopyFileW(
  1. Pointer<Uint16> lpExistingFileName,
  2. Pointer<Uint16> lpNewFileName,
  3. int bFailIfExists
)

Implementation

int CopyFileW(
  ffi.Pointer<ffi.Uint16> lpExistingFileName,
  ffi.Pointer<ffi.Uint16> lpNewFileName,
  int bFailIfExists,
) {
  return (_CopyFileW ??=
      _dylib.lookupFunction<_c_CopyFileW, _dart_CopyFileW>('CopyFileW'))(
    lpExistingFileName,
    lpNewFileName,
    bFailIfExists,
  );
}