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 callback function is provided by the Web Server. ISAPI filters call this function to accomplish a wide variety of tasks. The ServerSupportFunctionname for this function is a placeholder for the function name defined by the header.

Syntax

BOOL (WINAPI* ServerSupportFunction)(
  PHTTP_FILTER_CONTEXT 
pfc,
  enum SF_REQ_TYPE 
sfReq,
  PVOID
 pData,
  DWORD 
ul1,
  DWORD 
ul2
);

Parameters

pfc

[in] Pointer to an HTTP_FILTER_CONTEXTstructure that is associated with the current, active HTTP transaction.

sfReq

[in] The particular request that is to be executed by the Web Server. Possible values are defined for the SF_REQ_TYPEenumeration.

pData

Pointer to data associated with the value set in sfReq.

ul1

DWORDvalue associated with the value set in sfReq.

ul2

DWORDvalue associated with the value set in sfReq.

Note:
If a parameter is designated as unused for a particular request type, your filter should set the parameter to NULL or 0, as appropriate.

Return Value

Returns TRUE if the function succeeds, and FALSE otherwise. To determine the cause of a failure, the filter should call GetLastError.

Requirements

Header httpfilt.h
Library Developer Implemented
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also