IRTCClientPresence::Watcher (Windows CE 5.0)

Send Feedback

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

For the method to succeed, the watcher must be present in the allowed or blocked watcher list.

HRESULT get_Watcher(BSTRbstrPresentityURI,IRTCWatcher** ppWatcher);

Parameters

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

  • ppWatcher
    [out] Pointer to the IRTCWatcher interface.

    This method adds a reference to the Watcher 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 the watcher 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 |IRTCWatcher

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.