IFWXNetworkAdapter::GetRouteTable method
Applies to: desktop apps only
The GetRouteTable method gets the routing table information for the network adapter. Having this information allows the network configuration detection (NCD) mechanism to know the addresses that can be routed for the network adapter, and to send a notification if the routing status changes (an event of type fwx_ncd_ChangeAdapterRoute).
An address that can be routed is one that allows a particular packet to be transmitted, based on the address definition in the routing table. For more information about routing tables, see Routing Tables. Note that Forefront TMG will remove addresses from the network adapter's routing table if they are not contained in the network connected to the adapter.
Syntax
HRESULT GetRouteTable(
[out] IFWXIpFilter **ppIpRange
);
Parameters
- ppIpRange [out]
Address of a variable that receives a pointer to the IFWXIpFilter interface that represents the ranges of IP addresses for which a connection or socket is allowed to function.
Return value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
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
Build date: 7/12/2010