GetComputerNameEx function Null safety kernel32

int GetComputerNameEx(
  1. int NameType,
  2. Pointer<Utf16> lpBuffer,
  3. Pointer<Uint32> nSize

Retrieves a NetBIOS or DNS name associated with the local computer. The names are established at system startup, when the system reads them from the registry.

BOOL GetComputerNameExW(
  LPWSTR               lpBuffer,
  LPDWORD              nSize


int GetComputerNameEx(
        int NameType, Pointer<Utf16> lpBuffer, Pointer<Uint32> nSize) =>
    _GetComputerNameEx(NameType, lpBuffer, nSize);