Partager via


HTTP_FILTER_LOG

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains information about to be written by the server to its log file. The structure is pointed to by the pvNotification parameter in the HttpFilterProc function when the NotificationType parameter is SF_NOTIFY_LOG.

Syntax

typedef struct _HTTP_FILTER_LOG{
  const CHAR* pszClientHostName;
  const CHAR* pszClientUserName;
  const CHAR* pszServerName;
  const CHAR* pszOperation;
  const CHAR* pszTarget;
  const CHAR* pszParameters;
  DWORD dwHttpStatus;
  DWORD dwWin32Status;
  DWORD dwBytesSent;
  DWORD dwBytesRecvd;
  DWORD msTimeForProcessing;
} HTTP_FILTER_LOG, *PHTTP_FILTER_LOG;

Members

  • pszClientHostName
    Client's host name.
  • pszClientUserName
    Client's user name.
  • pszServerName
    Name of the server to which the client connected.
  • pszOperation
    HTTP command.
  • pszTarget
    Target of the HTTP command.
  • pszParameters
    Parameters passed to the HTTP command.
  • dwHttpStatus
    HTTP return status.
  • dwWin32Status
    Win32 error code.
  • dwBytesSent
    Number of bytes sent.
  • dwBytesRecvd
    Number of bytes received.
  • msTimeForProcessing
    Time, in milliseconds, used for processing.

Remarks

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.

Requirements

Header httpfilt.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

HttpFilterProc