CreateHardLinkW method

int CreateHardLinkW(
  1. Pointer<Uint16> lpFileName,
  2. Pointer<Uint16> lpExistingFileName,
  3. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateHardLinkW(
  ffi.Pointer<ffi.Uint16> lpFileName,
  ffi.Pointer<ffi.Uint16> lpExistingFileName,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateHardLinkW ??=
      _dylib.lookupFunction<_c_CreateHardLinkW, _dart_CreateHardLinkW>(
          'CreateHardLinkW'))(
    lpFileName,
    lpExistingFileName,
    lpSecurityAttributes,
  );
}