Share via


IRTCClientPresence::Watchers

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 collection of the watchers available on this client.

If there are no watchers on the client, an empty collection is retrieved.

C and C++ applications should use IRTCClientPresence::EnumerateWatchers.

Syntax

HRESULT get_Watchers(
  IRTCCollection** ppCollection
);

Parameters

  • ppCollection
    [out] Pointer to the IRTCCollection interface on a collection object containing an IRTCWatcher pointer for each watcher on this client.

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

Return Value

This method can return an RTC_E_ constant.

Requirements

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

See Also

Reference

IRTCClientPresence
IRTCCollection
IRTCClientPresence::EnumerateWatchers
IRTCWatcher