DnsHostnameToComputerNameExW method

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

Implementation

int DnsHostnameToComputerNameExW(
  ffi.Pointer<ffi.Uint16> Hostname,
  ffi.Pointer<ffi.Uint16> ComputerName,
  ffi.Pointer<ffi.Uint64> nSize,
) {
  return (_DnsHostnameToComputerNameExW ??= _dylib.lookupFunction<
      _c_DnsHostnameToComputerNameExW,
      _dart_DnsHostnameToComputerNameExW>('DnsHostnameToComputerNameExW'))(
    Hostname,
    ComputerName,
    nSize,
  );
}