IRTCBuddy2::get_PresenceProperty
The get_PresenceProperty method returns the desired presence property for the buddy. This method retrieves the information set in the IRTCClientPresence2::put_PresenceProperty method.
HRESULT get_PresenceProperty(RTC_PRESENCE_PROPERTYenProperty,
BSTR*pbstrProperty);
Parameters
- enProperty
[in] An RTC_PRESENCE_PROPERTY enumeration containing a specific presence property type for this buddy. - pbstrProperty
[out] BSTR containing the presence property for this buddy.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_NOT_EXIST | The presence property does not exist. |
E_INVALIDARG | The RTCSS_MULTIPLE value is not a valid argument for the enProperty parameter. |
E_OUTOFMEMORY | Not enough memory to perform this operation. |
E_POINTER | The pbstrProperty parameter is not a valid pointer. |
Requirements
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCBuddy2 is defined as 102F9588-23E7-40e3-954D-CD7A1D5C0361.
See Also
IRTCBuddy2, RTC_PRESENCE_PROPERTY, Presence, Retrieve Presence Information