IRTCClient::LocalUserURI (Windows CE 5.0)

Send Feedback

This method sets or gets the SIP Universal Resource Identifier (URI) used in the From: header of messages sent from the client.

HRESULT put_LocalUserURI(BSTRbstrUserURI);HRESULT get_LocalUserURI(BSTR* pbstrUserURI);

Parameters

  • bstrUserURI, pbstrUserURI
    [in, out] The user SIP URI.

    On output, this parameter is a pointer to a BSTR that is filled with the user SIP URI, or an empty string if there is no entry.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

Return Values

The get property can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Description
E_FAIL No local user URI.

Remarks

The initial default value for the local user URI is the local machine name.

This method writes the new default value.

Use this URI only when a profile is not used for the session. For sessions that use a profile, the value is taken directly from the profile.

The default value is the machine name.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClient | IRTCClient::LocalUserName | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.