The InstallFilter method registers the filter with Forefront TMG.
HRESULT InstallFilter( [in] REFCLSID guidFilter, [in] LPCSTR Name, [in] LPCSTR Description, [in] LPCSTR Vendor, [in] LPCSTR VersionString, [in] LPCSTR Reserved, [in] GUID AssociatedProtocols, [in] UINT ProtocolsNumber );
Class identifier (CLSID) of the COM class that implements the IFWXFilter interface, representing the filter to install.
Pointer to the display name of the filter.
Pointer to the description of the filter.
Pointer to the name of the company that wrote the filter.
Pointer to a string that specifies the version of the filter.
Reserved for future use. The Reserved parameter must be a null pointer.
The GUIDs of the protocols associated with the filter. The size of this variable is determined by the ProtocolsNumber parameter.
The number of protocols associated with the filter.
The filter was installed successfully.
The filter is already installed.
The Microsoft Firewall service uses the CLSID of the filter when loading it. The name, description, vendor, and version string are used for displaying information about the filter in Forefront TMG Management, and are not parsed or interpreted by the service.
This method is supported only for backward compatibility. For information about how to register an application filter, see Filter Setup.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspadmin.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.