GetComputerName function kernel32
Retrieves the NetBIOS name of the local computer. This name is established at system startup, when the system reads it from the registry.
BOOL GetComputerNameW(
LPWSTR lpBuffer,
LPDWORD nSize
);
Implementation
int GetComputerName(Pointer<Utf16> lpBuffer, Pointer<Uint32> nSize) =>
_GetComputerName(lpBuffer, nSize);