GetComputerName function kernel32

int GetComputerName(
  1. Pointer<Utf16> lpBuffer,
  2. Pointer<Uint32> nSize
)

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);