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 );
- [out] Pointer to an RTC_WATCHER_STATE enumeration containing the new state of the registration
RTC methods may return an RTC_E_ constant.
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.