Share via


RTC_WATCHER_STATE

The RTC_WATCHER_STATE enumeration describes the state of the Watcher. The IRTCWatcher::get_State and IRTCWatcher::put_State methods use a value of this enumeration.

typedef enum RTC_WATCHER_STATE
{
  RTCWS_UNKNOWN, 
  RTCWS_OFFERING, 
  RTCWS_ALLOWED, 
  RTCWS_BLOCKED, 
  RTWS_DENIED, 
  RTWS_PROMPT
} RTC_WATCHER_STATE;

Constants

  • RTCWS_UNKNOWN
    This state should not happen.

  • RTCWS_OFFERING
    The notification of the new Watcher has not completed. The Watcher is in the OFFERING state.

  • RTCWS_ALLOWED
    The Watcher is in the list of allowed Watchers.

  • RTCWS_BLOCKED
    The Watcher is in the list of blocked Watchers.

  • RTWS_DENIED
    The watcher has been denied access to the presence information for this user.

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

  • RTWS_PROMPT
    The user should be prompted to deny or allow permission for the watcher to view the presence information of the user.

    **RTC 1.0 and 1.01:  **This enumeration value is not supported.

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.

See Also

IRTCWatcher::get_State, IRTCWatcher::put_State