Share via


IRTCBuddy::get_Name

The get_Name property gets the displayable name of the presence contact. This method retrieves the information set in the IRTCBuddy::put_Name method.

HRESULT get_Name(BSTR*pbstrName);

Parameters

  • pbstrName
    [out] Pointer to a BSTR that contains the name. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_FAIL There is no name for this contact.

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_IRTCBuddy is defined as fcb136c8-7b90-4e0c-befe-56edf0ba6f1c.

See Also

IRTCBuddy, IRTCBuddy::put_Name