RTCE_WATCHER events have an IRTCWatcherEvent interface. This type of event is fired when a request is made to monitor the local user and there is no matching entry in the list of blocked/allowed Watchers.
When the application's implementation of the IRTCEventNotification::Event method indicates an RTC_EVENT of type RTCE_WATCHER, the method's pEvent parameter is an IDispatch pointer for the IRTCWatcherEvent interface.
Note If the number of outstanding IRTCWatcher events becomes too large (as may happen when the client is attacked by another client), they may consume large amounts of memory. The application should therefore take measures to ensure that the number of outstanding events does not become too large.
Methods in Vtable Order
The IRTCWatcherEvent interface inherits the methods of the standard COM interface IUnknown.
In addition, IRTCWatcherEvent defines the following method.
|get_Watcher||Returns the Watcher object.|
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCWatcherEvent is defined as f30d7261-587a-424f-822c-312788f43548.