Share via


IRTCPresenceContact::PresentityURI

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets or gets the presentity URI of the presence contact.

Syntax

HRESULT put_PresentityURI( 
  BSTR bstrPresentityURI 
);
HRESULT get_PresentityURI( 
  BSTR* pbstrPresentityURI 
);

Parameters

  • bstrPresentityURI, pbstrPresentityURI
    [in, out] The presentity URI. On output, this parameter is a pointer to a BSTR that will be filled with the presentity 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 Value

This method can return an RTC_E_ constant. The following table shows an additional possible return value.

Value Description

E_FAIL

There is no presentity URI for this contact.

Requirements

Header rtccore.h, rtccore.idl
Library rtcdll.dll
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCPresenceContact

Other Resources

SysFreeString