IFWXSession::AttachFilter method

Applies to: desktop apps only

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 [in]
    CLSID of the filter to load.

Return value

This method can return one of these values.

  • S_OK
    The method succeeded.

  • REGDB_E_CLASSNOTREG
    The GUID does not represent a valid filter.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

DLL

Wspsrv.exe

See also

IFWXSession

 

 

Build date: 7/12/2010