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 the notification information for use when the server is about to process the client headers. It is pointed to by the pvNotificationparameter in HttpFilterProcwhen the NotificationTypeparameter 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 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 |