DnsHostnameToComputerNameA method

int DnsHostnameToComputerNameA(
  1. Pointer<Int8> Hostname,
  2. Pointer<Int8> ComputerName,
  3. Pointer<Uint64> nSize
)

Implementation

int DnsHostnameToComputerNameA(
  ffi.Pointer<ffi.Int8> Hostname,
  ffi.Pointer<ffi.Int8> ComputerName,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_DnsHostnameToComputerNameA ??= _dylib.lookupFunction<
      _c_DnsHostnameToComputerNameA,
      _dart_DnsHostnameToComputerNameA>('DnsHostnameToComputerNameA'))(
    Hostname,
    ComputerName,
    nSize,
  );
}