Share via


IInetLogInformation::GetComputerName

The IInetLogInformation::GetComputerName method obtains the name of the local computer.

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 LogExtFileComputerName flag of the LogExtFileFlags metabase identifier.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Header: Declared in ilogobj.hxx.

See Also