IMsgrSession::LocalAddress property
[LocalAddress is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Sets or retrieves the Internet Protocol (IP) address of the session.
This property is read/write.
Syntax
HRESULT put_LocalAddress(
[in] BSTR bstrLocalAddress
);
HRESULT get_LocalAddress(
[out, retval] BSTR *pbstrLocalAddress
);
Property value
BSTR that specifies the local IP address of the session. This address can be no longer than 30 characters.
Remarks
Setting this property does not change the physical IP address of the computer. Instead, it modifies a data member within the MsgrSession object.
The following table lists the error codes returned by this property.
Error Code | Meaning |
---|---|
E_INVALIDARG | The parameter passed to the property was not valid. |
E_OUTOFMEMORY | The local address is too long. |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
End of client support |
Windows XP |
End of server support |
Windows Server 2003 |
Product |
Messenger 4.0 |
Header |
|
IDL |
|
DLL |
|