SF_REQ_DISABLE_NOTIFICATIONS Callback Function

The SF_REQ_DISABLE_NOTIFICATIONS form of the ServerSupportFunction callback function can be used to disable types of event notifications for your Web filter for the remaining lifetime of the current request. If a particular event notification is disabled for your filter, the Forefront TMG Web proxy will not call your filter when the applicable event occurs.

New requests will generate the event notifications for which your filter registered when it was loaded.

Syntax

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

Parameters

pfc

Pointer to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP session. Pass the filter context in this parameter.

sfReq

Specifies the particular support function that is to be executed by the Web filter, in this case, SF_REQ_DISABLE_NOTIFICATIONS.

pData

Unused in this support function.

ul1

Bitmask containing flags that specify the types of event notifications which are to be disabled. The possible flags are listed in the Remarks section.

ul2

Unused in this support function.

Return Value

This callback function returns TRUE if the call is successful; otherwise, it returns FALSE. To obtain extended error information, call GetLastError.

Remarks

This callback function can disable the following event notifications:

This callback function can disable only the general event notifications that are not specific to Forefront TMG. The event notifications that are specific to Forefront TMG can be disabled by the WPXSupportFunction callback function. For more information about the types of event notifications that are sent to Web filters, see Event Notifications.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wpxhttpfilt.h.

DLL

Requires W3Filter.dll.

See Also

ServerSupportFunction


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.