IRTCWatcher::get_State

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

HRESULT get_State(RTC_WATCHER_STATE*penState);

Parameters

  • penState
    [out] Pointer to an RTC_WATCHER_STATE enumeration containing the new 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::put_State