DnsHostnameToComputerNameW method

int DnsHostnameToComputerNameW(
  1. Pointer<Uint16> Hostname,
  2. Pointer<Uint16> ComputerName,
  3. Pointer<Uint64> nSize
)

Implementation

int DnsHostnameToComputerNameW(
  ffi.Pointer<ffi.Uint16> Hostname,
  ffi.Pointer<ffi.Uint16> ComputerName,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_DnsHostnameToComputerNameW ??= _dylib.lookupFunction<
      _c_DnsHostnameToComputerNameW,
      _dart_DnsHostnameToComputerNameW>('DnsHostnameToComputerNameW'))(
    Hostname,
    ComputerName,
    nSize,
  );
}