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