GetFilter Method of the IFWXFilterAdmin Interface

The GetFilter method retrieves the specified IFPCApplicationFilter interface. The IFPCApplicationFilter interface provides information about the corresponding application filter.

Syntax

HRESULT GetFilter(
  [in]   REFCLSID guidFilter,
  [out]  IFPCApplicationFilter** ppFilter
);

Parameters

guidFilter

Class identifier (CLSID) of the COM class that implements the IFWXFilter interface corresponding to the IFPCApplicationFilter interface to retrieve.

ppFilter

Address of an interface pointer that on return points to the IFPCApplicationFilter interface requested.

Return Value

S_OK

The method succeeded.

E_OUTOFMEMORY

Not enough memory or resources could be allocated to complete the operation.

HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)

A filter with the specified GUID does not exist.

Requirements

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

Declared in Wspfwext.idl.

DLL

Requires Wspadmin.dll.

See Also

IFWXFilterAdmin


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.