Share via


HTTP_FILTER_SEND_RESPONSE (Windows Embedded CE 6.0)

1/6/2010

This structure contains information that facilitates communication with an ISAPI filter. The filter receives a notification immediately prior to sending any headers to the client. The filter can inspect, modify, or add headers the client will receive as part of the response to the client's original request. The structure contains the same members as the HTTP_FILTER_PREPROC_HEADERS structure. When a filter has registered for the SF_NOTIFY_SEND_RESPONSE event, the pvNotification parameter of HttpFilterProc will point to this structure.

Syntax

typedef struct HTTP_FILTER_SEND_RESPONSE{
  BOOL (WINAPI* GetHeader); 
  BOOL (WINAPI* SetHeader); 
  BOOL (WINAPI* AddHeader); 
  DWORD HttpStatus;
  DWORD dwReserved; 
} HTTP_FILTER_SEND_RESPONSE, *PHTTP_FILTER_SEND_RESPONSE;

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

Concepts

ISAPI Filters and HTTP Headers