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.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXSession


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.