Share via


IRTCClientPresence::Watcher (Windows Embedded CE 6.0)

1/6/2010

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