IRTCWatcherEvent2:IRTCWatcherEvent (Windows CE 5.0)

Send Feedback

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
Watcher Gets the Watcher object.

The following table shows the IRTCWatcherEvent2 methods.

Method Description
EventType Gets the event type.
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

OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

RTC Client API Interfaces | IDispatch | IRTCWatcherEvent | IRTCClient::EventFilter | IRTCEventNotification::Event | RTC_EVENT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.