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.
BOOL WINAPI * ServerSupportFunction( __in struct _HTTP_FILTER_CONTEXT* pfc, __in enum SF_REQ_TYPE sfReq, PVOID pData, __in DWORD ul1, DWORD ul2 );
Pointer to the HTTP_FILTER_CONTEXT data structure that is associated with the current, active HTTP session. Pass the filter context in this parameter.
Specifies the particular support function that is to be executed by the Web filter, in this case, SF_REQ_DISABLE_NOTIFICATIONS.
Unused in this support function.
Bitmask containing flags that specify the types of event notifications which are to be disabled. The possible flags are listed in the Remarks section.
Unused in this support function.
This callback function returns TRUE if the call is successful; otherwise, it returns FALSE. To obtain extended error information, call GetLastError.
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.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wpxhttpfilt.h. |
DLL |
Requires W3Filter.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.