The IInetLogInformation::GetComputerName method obtains the name of the local machine to which the logging module is being applied.
virtual LPSTR STDMETHODCALLTYPE GetComputerName(
IN PCHAR pszComputerName,
IN PDWORD pcbSize
);
Logging modules should query for this method if a server instance has set the MD_EXTLOG_COMPUTER_NAME flag of the MD_LOGEXT_FIELD_MASK metabase identifier.
LogExtFileComputerName, MD_LOGEXT_FIELD_MASK