IRTCBuddy2::PresenceProperty (Windows CE 5.0)

Send Feedback

This method gets the desired presence property for the buddy. It retrieves the information set in the IRTCClientPresence2::PresenceProperty method.

HRESULT get_PresenceProperty(  RTC_PRESENCE_PROPERTYenProperty,BSTR*pbstrProperty);

Parameters

  • enProperty
    [in] An RTC_PRESENCE_PROPERTY enumeration value specifying the presence property type for this buddy.
  • pbstrProperty
    [out] Pointer to a BSTR that will be filled with the presence property for the buddy, 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 additional possible return values.

Value Meaning
E_INVALIDARG The RTCSS_MULTIPLE value is not a valid argument for the enProperty parameter.
E_OUTOFMEMORY Insufficient memory to perform this operation.
E_POINTER The pbstrProperty parameter is not a valid pointer.

Requirements

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

See Also

IRTCBuddy2 | IRTCClientPresence2::PresenceProperty | RTC_PRESENCE_PROPERTY | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.