IInetLogInformation::GetClientHostName

The IInetLogInformation::GetClientHostName method obtains the IP address of the client.

virtual LPSTR STDMETHODCALLTYPE GetClientHostName(
  IN PCHAR pszClientHostName,  
  IN PDWORD pcbSize            
);
 
Parameters
pszClientHostName
[in] Name of the computer that sent the request which triggered the logged event.
pcbsize
[in] Size of the pszClientHostName parameter.
Remarks

Logging modules should query for this method if a server instance has set the MD_EXTLOG_CLIENT_IP flag of the MD_LOGEXT_FIELD_MASK metabase identifier.

See Also

LogExtFileClientIp, MD_LOGEXT_FIELD_MASK


© 1997 by Microsoft Corporation. All rights reserved.