AttachFilter Method of the IFWXSession Interface
The AttachFilter method causes a filter to be loaded for this session, even if the initial event for this filter has not yet happened. If the filter has already attached a session filter for this session, nothing happens. Otherwise, the filter's IFWXFilter::AttachToSession method is called.
Syntax
HRESULT AttachFilter(
[in] REFCLSID guidFilter
);
Parameters
- guidFilter
CLSID of the filter to load.
Return Value
S_OK
The method succeeded.REGDB_E_CLASSNOTREG
The GUID does not represent a valid filter.
Requirements
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
Header | Declared in Wspfwext.idl. |
DLL | Requires Wspsrv.exe. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010