Microsoft Internet Security and Acceleration Server 2004 SDK

ServerSupportFunction

The ServerSupportFunction callback function extends the Web filter functions. Parameters are specific to the extensions. The ServerSupportFunction callback function can be used by Web filters to accomplish a wide variety of tasks.

The ServerSupportFunction callback function is declared as:

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

The parameter sfReq specifies the particular support function that is to be executed by the ISA Server Web filter. The remaining parameters are described in the individual support function sections. See the following list:

SF_REQ_ADD_HEADERS_ON_DENIAL

SF_REQ_DISABLE_NOTIFICATIONS

SF_REQ_NORMALIZE_URL

SF_REQ_SEND_RESPONSE_HEADER

SF_REQ_SET_NEXT_READ_SIZE

Note  

If a parameter is designated as unused for a particular support function, you should set the parameter to NULL or 0, as appropriate.

SF_REQ_GET_CONNID is not supported by ISA Server or by Internet Information Services (IIS) 4.0 or later and will return 0.

SF_REQ_GET_PROPERTY is not supported by ISA Server and will return 0.

SF_REQ_SET_PROXY_INFO is not used in the ISA Server implementation of ISAPI.

SF_REQ_SET_NEXT_READ_SIZE is not relevant to the implementation of ISAPI in ISA Server. It is provided for compatibility with IIS.

For more information about the types of event notifications that are sent to Web filters, see Event Notifications.

See Also

Callback Functions