Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/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_HEADERSstructure. When a filter has registered for the SF_NOTIFY_SEND_RESPONSE event, the pvNotificationparameter of HttpFilterProcwill 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 GetHeaderfunction, which retrieves the specified header value. Header names must include the trailing colon (:).

SetHeader

Pointer to the SetHeaderfunction, which changes or deletes the value of a header.

AddHeader

Pointer to the AddHeaderfunction 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