IRTCClient::get_LocalUserURI
The get_LocalUserURI property gets the SIP URI used in the From: header of the messages sent from this Client. This URI is used only when a profile is not used for the session. For sessions that use a profile, the value is taken directly from the profile.
HRESULT get_LocalUserURI(BSTR*pbstrUserURI);
Parameters
- pbstrUserURI
[out] Pointer to a BSTR containing the user SIP URI. The caller is responsible for freeing this memory with SysFreeString.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_FAIL | No local user URI. |
RTC_E_CLIENT_NOT_INITIALIZED | The client has not been initialized. |
Remarks
The initial default value for the local user URI is the local machine name. This method writes the new default value.
Requirements
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.