IFWXNetworkAddress::GetAddress method
Applies to: desktop apps only
The GetAddress method retrieves the IP address.
Syntax
HRESULT GetAddress(
[out] LPSOCKADDR Address,
[in, out] DWORD *AddressLength
);
Parameters
Address [out]
Pointer to a sockaddr structure that on return receives the IP address.AddressLength [in, out]
Pointer to a variable that specifies the length, in bytes, of the structure pointed to by the Address parameter. On return, AddressLength receives the actual size, in bytes, of the address returned in the Address parameter.
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