Share via


IRTCClientPresence::Watcher

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This method is unsupported in Windows Embedded CE 6.0.

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.

Syntax

HRESULT get_Watcher(
  BSTR bstrPresentityURI,
  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 Value

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

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCClientPresence
IRTCWatcher