The GetAddress method retrieves the IP address.
HRESULT GetAddress( [out] LPSOCKADDR Address, [in, out] DWORD* AddressLength );
Pointer to a sockaddr structure that on return receives the IP address.
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.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Server | Requires Windows Server 2008. |
---|---|
Version | Requires Forefront Threat Management Gateway (TMG). |
Header |
Declared in Wspfwext.idl. |
DLL |
Requires Wspsrv.exe. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.