CreateHardLinkA method

int CreateHardLinkA(
  1. Pointer<Int8> lpFileName,
  2. Pointer<Int8> lpExistingFileName,
  3. Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes
)

Implementation

int CreateHardLinkA(
  ffi.Pointer<ffi.Int8> lpFileName,
  ffi.Pointer<ffi.Int8> lpExistingFileName,
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpSecurityAttributes,
) {
  return (_CreateHardLinkA ??=
      _dylib.lookupFunction<_c_CreateHardLinkA, _dart_CreateHardLinkA>(
          'CreateHardLinkA'))(
    lpFileName,
    lpExistingFileName,
    lpSecurityAttributes,
  );
}