Share via


CreateIpFilter Method of the IFWXFirewall Interface

The CreateIpFilter method creates an IP filter object that implements the IFWXIpFilter interface.

Syntax

HRESULT CreateIpFilter(
  [out]  IFWXIpFilter** ppIpFilter
);

Parameters

  • ppIpFilter
    Address of a variable that receives a pointer to the IFWXIpFilter interface.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Requirements

Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXFirewall

Send comments about this topic to Microsoft

Build date: 6/30/2010