Share via


IRTCClientPresence2::WatcherEx (Windows CE 5.0)

Send Feedback

This method gets a watcher attached to the RTC client object, based on a supplied SIP URI.

HRESULT get_WatcherEx( RTC_WATCHER_MATCH_MODEenMode,BSTRbstrPresentityURI,IRTCWatcher2**ppWatcher );

Parameters

  • enMode
    [in] RTC_WATCHER_MATCH_MODE enumeration value describing the URI match level to use when searching for the watcher.

  • bstrPresentityURI
    [in] The SIP URI. The prefix sip: is not necessary for matching.

  • ppWatcher
    [out] Pointer to an IRTCWatcher2 interface.

    This parameter can be NULL, indicating that a matching watcher could not be found.

    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_POINTER The ppWatcher 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

IRTCClientPresence2 | IRTCWatcher2 | IRTCClientPresence2::AddWatcherEx | RTC_WATCHER_MATCH_MODE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.