Partager via


HTTP_FILTER_PREPROC_HEADERS (Windows Embedded CE 6.0)

1/6/2010

This structure contains the notification information for use when the server is about to process the client headers. It is pointed to by the pvNotification parameter in HttpFilterProc when the NotificationType parameter is SF_NOTIFY_PREPROC_HEADERS.

Syntax

typedef struct _HTTP_FILTER_PREPROC_HEADERS{
BOOL (WINAPI* GetHeader)(
  struct _HTTP_FILTER_CONTEXT* pfc,
  LPSTR lpszName,
  LPVOID lpvBuffer,
  LPDWORD lpdwSize
  );
BOOL (WINAPI* SetHeader)(
  struct _HTTP_FILTER_CONTEXT* pfc,
  LPSTR lpszName,
  LPSTR lpszValue
  ); 
BOOL (WINAPI* AddHeader)( 
  struct _HTTP_FILTER_CONTEXT* pfc,
  LPSTR lpszName,
  LPSTR lpszValue
  ); 
  DWORD HttpStatus;
  DWORD dwReserved;
} HTTP_FILTER_PREPROC_HEADERS, *PHTTP_FILTER_PREPROC_HEADERS;

Members

  • GetHeader
    Pointer to the GetHeader function, which retrieves the specified header value. Header names must include the trailing colon (:).
  • SetHeader
    Pointer to the SetHeader function, which changes or deletes the value of a header.
  • AddHeader
    Pointer to the AddHeader function to add a header to the response.
  • HttpStatus
    Current HTTP status code.
  • dwReserved
    Reserved for later use.

Requirements

Header httpfilt.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Web Server Structures
HttpFilterProc
GetHeader
SetHeader
AddHeader