GetComputerName
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
Retrieves the fully qualified name of the computer.Parameters
- buffer: Space for the returned name.
- bufferSize: Length of the buffer.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
long GetComputerName(char buffer[], dword bufferSize);
char buffer[50];
GetComputerName(buffer, elcount(buffer));
write("Computer name: %s", buffer);