Share via


IRTCClientPresence::OfferWatcherMode

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 sets or gets the way the RTC Client API handles subscription requests by new watchers that are not in the list of allowed or blocked watchers.

Syntax

HRESULT put_OfferWatcherMode(
  RTC_OFFER_WATCHER_MODE enMode
);
HRESULT get_OfferWatcherMode(
  RTC_OFFER_WATCHER_MODE* penMode
);

Parameters

Return Value

This method can return an RTC_E_ constant.

Remarks

If the RTC_OFFER_WATCHER_MODE enumeration value RTCOWM_AUTOMATICALLY_ADD_WATCHER is used, watchers are added to the watcher list without prior approval from the user and without notification to the user.

Requirements

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

See Also

Reference

IRTCClientPresence
RTC_OFFER_WATCHER_MODE