다음을 통해 공유


IRTCClientPresence::Buddy (Windows CE 5.0)

Send Feedback

This method gets a buddy whose presentity Universal Resource Identifier (URI) matches the supplied URI.

For this method to succeed, the buddy must be present in the buddy list.

HRESULT get_Buddy(BSTRbstrPresentityURI,IRTCBuddy** ppBuddy);

Parameters

  • bstrPresentityURI
    [in] The presentity URI of the buddy, with or without the sip: namespace prefix.

  • ppBuddy
    [out] Pointer to the IRTCBuddy interface.

    This method adds a reference to the Buddy object, which the caller is responsible for releasing.

Return Values

This method can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Meaning
E_FAIL Method failed. This can mean that the buddy was not found.

Requirements

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

See Also

IRTCClientPresence | IRTCBuddy | IRTCClientPresence::Buddies | IRTCClientPresence::EnumerateBuddies | IRTCClientPresence::AddBuddy | IRTCClientPresence::RemoveBuddy

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.