The IsLocalAddress method verifies whether the specified IP address is contained in the network element and is an IP address of the local computer.
HRESULT IsLocalAddress( [in] LPSOCKADDR Address, [in] DWORD AddressLength );
Pointer to a sockaddr structure that contains the IP address to be checked.
Length, in bytes, of the structure pointed to by the Address parameter.
This method can return one of the following:
The method succeeded, and the specified IP address is contained in the network element and is an IP address of the local computer.
The method succeeded, but the specified IP address is not contained in the network element or is not an IP address of the local computer.
The address passed to the method is not a valid IP address.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.[an error occurred while processing this directive]