Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


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

Return Values

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.

See Also

IRTCWatcher, RTC_WATCHER_STATE, IRTCWatcher::put_State


© 2015 Microsoft