Microsoft Internet Security and Acceleration Server 2000

IFWXFilterAdmin::GetFilter Method

Gets the IFPCApplicationFilter interface, which provides access to information about the application filter configuration.

HRESULT GetFilter(
  REFCLSID guidFilter,
  FwxScope Scope,
  IFPCApplicationFilter **ppFilter
);

Parameters

guidFilter
[in] Class identifier (CLSID) of an FPCApplicationFilter object.
Scope
[in] The scope of the filter object, either array or enterprise, as a value from the FwxScope enumerated type. The value fwx_DefaultScope can be used by get operations to retrieve the object scope that is appropriate for the current configuration. This parameter cannot be set to fwx_EnterpriseScope for a stand-alone server or for ISA Server Standard Edition.
ppFilter
[out] Address of a variable that receives the interface pointer to the FPCApplicationFilter object.

Return Values

S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory or resources; method failed.
HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
A filter with that GUID does not exist.