2.3.3 GetComputerName


Name

GetComputerName

Declaration

#define GetComputerName GetComputerNameA

Remark

GetComputerNameA is synonym for GetComputerName

Examples

EX1

void GetComputerName_ex1()
{
	char		name[128];
	DWORD		dwSize = 127;
	GetComputerName(name, &dwSize);
	out_str(name);
}

Header to Include

origin.h

Reference