Partager via


HTTP_FILTER_PREPROC_HEADERS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

HttpFilterProc
GetHeader
SetHeader
AddHeader