次の方法で共有


HTTP_FILTER_LOG (Compact 2013)

3/26/2014

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

See Also

Reference

Web Server Structures
HttpFilterProc