CopyFile2 method

int CopyFile2(
  1. Pointer<Uint16> pwszExistingFileName,
  2. Pointer<Uint16> pwszNewFileName,
  3. Pointer<COPYFILE2_EXTENDED_PARAMETERS> pExtendedParameters
)

Implementation

int CopyFile2(
  ffi.Pointer<ffi.Uint16> pwszExistingFileName,
  ffi.Pointer<ffi.Uint16> pwszNewFileName,
  ffi.Pointer<COPYFILE2_EXTENDED_PARAMETERS> pExtendedParameters,
) {
  return (_CopyFile2 ??=
      _dylib.lookupFunction<_c_CopyFile2, _dart_CopyFile2>('CopyFile2'))(
    pwszExistingFileName,
    pwszNewFileName,
    pExtendedParameters,
  );
}