Share via


IRTCClient::LocalUserName (Windows CE 5.0)

Send Feedback

This method sets or gets the displayable name used in the From: header of messages sent from the client. By default, the logon user is assumed.

HRESULT put_LocalUserName(BSTRbstrUserName);HRESULT get_LocalUserName(BSTR* pbstrUserName);

Parameters

  • bstrUserName, pbstrUserName
    [in, out] Local user name.

    On output, this parameter is a pointer to a BSTR that is filled with the local user name, 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

This method can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Description
E_FAIL No local user name.

Requirements

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

See Also

IRTCClient | IRTCClient::LocalUserURI | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.