IRTCBuddy::get_PresentityURI

The get_PresentityURI property gets the presentity URI of the presence contact. This method retrieves the information set in the IRTCBuddy::put_PresentityURI method.

HRESULT get_PresentityURI(BSTR*pbstrPresentityURI);

Parameters

  • pbstrPresentityURI
    [out] Pointer to a BSTR containing the presentity 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 There is no presentity URI 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_PresentityURI