Share via


IFWXFilterAdmin::GetFilter method

Applies to: desktop apps only

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 [in]
    Class identifier (CLSID) of the COM class that implements the IFWXFilter interface corresponding to the IFPCApplicationFilter interface to retrieve.

  • ppFilter [out]
    Address of an interface pointer that on return points to the IFPCApplicationFilter interface requested.

Return value

This method can return one of these values.

  • 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

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

Wspadmin.dll

See also

IFWXFilterAdmin

 

 

Build date: 7/12/2010