Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: desktop apps only
The IFWXGetXByY interface allows a filter to modify the result of remote gethostbyname or gethostbyaddr function calls made by a Forefront TMG Client or Firewall Client computer.
Members
The IFWXGetXByY interface inherits from the IUnknown interface. IFWXGetXByY also has these types of members:
- Methods
Methods
The IFWXGetXByY interface has these methods.
| Method | Description | 
|---|---|
| Deny | Denies the name resolution request. | 
| SetResult | Sets the hostent structure that will be returned. | 
Remarks
The IFWXGetXByY interface is essentially used to override the gethostbyname or gethostbyaddr functions, returning a hostent structure with different contents than would have been returned by the unfiltered calls. The filter has to call this interface from within the IFWXSessionFilter::FirewallEventHandler method.
A typical use of this interface would be to return an IP address other than that requested by the client; that is, to redirect the request.
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 | 
See also
Build date: 7/12/2010