Share via


ServerSupportFunction (ISAPI Filters)

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 ServerSupportFunction name 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_CONTEXT structure 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_TYPE enumeration.
  • pData
    Pointer to data associated with the value set in sfReq.
  • ul1
    DWORD value associated with the value set in sfReq.
  • ul2
    DWORD value 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

Reference

HTTP_FILTER_CONTEXT
SF_REQ_TYPE