IFWXNetworkSocket::GetIpFilter method

Applies to: desktop apps only

The GetIpFilter method gets a copy of the IP filter object for the socket. Returns NULL if the connection is not limited to a range of IP addresses.

Syntax

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

Parameters

  • ppIpFilter [out]
    Address of an interface pointer that on return points to a copy of the IFWXIpFilter interface requested.

Return value

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

Remarks

Because the returned object is a copy, modifying the copy will not affect the socket object.

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

Wspsrv.exe

See also

IFWXNetworkSocket

IFWXIpFilter

 

 

Build date: 7/12/2010