Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The put_OfferWatcherMode property determines how the application handles subscription requests from new Watchers that are not in the list of allowed or blocked Watchers. This method sets the mode that is retrieved by IRTCClientPresence::get_OfferWatcherMode.
HRESULT put_OfferWatcherMode(RTC_OFFER_WATCHER_MODEenMode);
Parameters
- enMode
[in] An RTC_OFFER_WATCHER_MODE enumeration that specifies the behavior when a new Watcher subscribes.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_CLIENT_NOT_INITIALIZED | The client is not initialized. |
Remarks
If the RTCOWM_AUTOMATICALLY_ADD_WATCHER mode is used, Watchers will be automatically added to the Watcher list without prior approval from the user or notification to the user.
Requirements
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_IRTCClientPresence is defined as 11c3cbcc-0744-42d1-968a-51aa1bb274c6.
See Also
IRTCClientPresence, RTC_OFFER_WATCHER_MODE, IRTCClientPresence::get_OfferWatcherMode