IRTCWatcherEvent2

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This interface is unsupported in Windows Embedded CE 6.0.

This interface adds methods and properties that concern an event of type RTCE_WATCHER. It extends the IRTCWatcherEvent 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 IRTCWatcherEvent interfaces.

The following table shows the IRTCWatcherEvent method.

Method Description

IRTCWatcherEvent::Watcher

Gets the Watcher object.

The following table shows the IRTCWatcherEvent2 methods.

Method Description

IRTCWatcherEvent2::EventType

Gets the event type.

IRTCWatcherEvent2::StatusCode

Gets the result code of the completed operation.

Obtaining a Pointer

When the application's implementation of the IRTCEventNotification::Event method indicates an RTC_EVENT enumeration value of RTCE_WATCHER, the method's pEvent parameter is an IDispatch pointer for the IRTCWatcherEvent2 interface.

Remarks

To enable reception of RTC 1.2 watcher events, the application must call the IRTCClient::EventFilter method and set an event filter mask that includes the RTCE_WATCHER event. If the application does not call IRTCClient::EventFilter, it will not receive any events.

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