DnsHostnameToComputerName function kernel32

int DnsHostnameToComputerName(
  1. Pointer<Utf16> Hostname,
  2. Pointer<Utf16> ComputerName,
  3. Pointer<Uint32> nSize
)

Converts a DNS-style host name to a NetBIOS-style computer name.

BOOL DnsHostnameToComputerNameW(
  LPCWSTR Hostname,
  LPWSTR  ComputerName,
  LPDWORD nSize
);

Implementation

int DnsHostnameToComputerName(
  Pointer<Utf16> Hostname,
  Pointer<Utf16> ComputerName,
  Pointer<Uint32> nSize,
) => _DnsHostnameToComputerName(Hostname, ComputerName, nSize);