This topic has not yet been rated - Rate this topic

HTTP_FILTER_LOG Structure 

This structure is pointed to by the pvNotification in the CHttpFilter::HttpFilterProc when NotificationType is SF_NOTIFY_LOG, which indicates that the server is about to log information to the server log file.


typedef struct _HTTP_FILTER_LOG
{
   const CHAR * pszClientHostName;             //IN/OUT
   const CHAR * pszClientUserName;             //IN/OUT
   const CHAR * pszServerName;                 //IN/OUT
   const CHAR * pszOperation;                  //IN/OUT
   const CHAR * pszTarget;                     //IN/OUT
   const CHAR * pszParameters;                 //IN/OUT
   DWORD dwHttpStatus;                         //IN/OUT
   DWORD dwWin32Status;                        //IN/OUT
} HTTP_FILTER_LOG, *PHTTP_FILTER_LOG;

Parameters

pszClientHostName

Client's host name.

pszClientUserName

Client's user name.

pszServerName

Name of the server the client connected to.

pszOperation

HTTP command.

pszTarget

Target of the HTTP command.

pszParameters

Parameters passed to the HTTP command.

dwHttpStatus

HTTP return status.

dwWin32Status

Win32 error code.

The strings cannot be changed but pointers can be replaced. If the string pointers are changed, the memory they point to must remain valid until the next notification.

The references to IN/OUT above indicate that the member applies to messages to (IN) and from (OUT) the filter.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.