Partager via


IRTCWatcher2 (Windows Embedded CE 6.0)

1/6/2010

Note

This interface is unsupported in Windows Embedded CE 6.0.

This interface adds methods and properties for determining watcher access privileges. The IRTCWatcher2 interface extends the IRTCWatcher interface.

Methods

The following tables show the methods for this interface in vtable order. This is the order in which the compiler calls the methods. This interface inherits the methods for the IUnknown and IRTCWatcher interfaces.

The following table shows the IRTCWatcher method.

Method Description

IRTCWatcher::State

Sets or gets the state of the watcher.

The following table shows the IRTCWatcher2 methods.

Method Description

IRTCWatcher2::Profile

Gets the profile currently used by the watcher.

IRTCWatcher2::Scope

Gets the scope of the access control entry (ACE) associated with the watcher.

Obtaining a Pointer

The IRTCClientPresence2::AddWatcherEx method creates the watcher. This object can be queried with IUnknown::QueryInterface to determine if the IRTCWatcher2 interface is present under an RTC 1.2 implementation.

Requirements

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

See Also

Reference

RTC Client API Interfaces