IInetLogInformation::GetComputerName

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          
);
 

Parameters

pszComputerName
[in] Name of the computer whose activity the logging module is capturing.
pcbsize
[in] Size of the pszComputerName parameter.

Remarks

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.

See Also

LogExtFileComputerName, MD_LOGEXT_FIELD_MASK