The IInetLogInformation::GetComputerName method obtains the name of the local computer.
virtual LPSTR STDMETHODCALLTYPE GetComputerName(
IN PCHAR pszComputerName,
IN PDWORD pcbSize
);
Logging modules should query for this method if a server instance has set the LogExtFileComputerName flag of the LogExtFileFlags metabase identifier.
LogExtFileComputerName, LogExtFileFlags