IRTCWatcher::put_State

The put_State property sets the state of the Watcher. This method sets the state returned in IRTCWatcher::get_State.

HRESULT put_State(RTC_WATCHER_STATEenState);

Parameters

  • enState
    [in] An RTC_WATCHER_STATE enumeration containing the state of the registration.

Return Values

RTC methods may return an RTC_E_ constant.

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_IRTCWatcher is defined as c7cedad8-346b-4d1b-ac02-a2088df9be4f.

See Also

IRTCWatcher, RTC_WATCHER_STATE, IRTCWatcher::get_State