Microsoft Internet Security and Acceleration Server 2000

IFWXFilterAdmin::UnregisterProtocolForFilter Method

Unregisters a protocol controlled by a given filter.

HRESULT UnregisterProtocolForFilter(
  REFCLSID guidFilter,
  REFGUID guidProtocol,
  FwxScope Scope
);

Parameters

guidFilter
[in] CLSID of an IFWXFilter object. Each registered protocol is associated with an IFWXFilter object and is valid only when that filter is installed.
guidProtocol
[in] GUID of the protocol to be removed.
Scope
[in] The scope of the filter object, either array or enterprise, as a value from the FwxScope enumerated type. This parameter cannot be set to fwx_EnterpriseScope for a stand-alone server or for ISA Server Standard Edition.

Return Values

S_OK
The protocol was removed successfully.
Error code
The protocol was not removed.

Remarks

Use this method in an uninstall procedure.