Share via


IRTCWatcher::State

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This method is unsupported in Windows Embedded CE 6.0.

This method sets or gets the state of the watcher.

Syntax

HRESULT put_State(
  RTC_WATCHER_STATE enState
);
HRESULT get_State(
  RTC_WATCHER_STATE* penState
);

Parameters

  • enState, penState
    [in, out] An RTC_WATCHER_STATE enumeration value that specifies the state of the watcher.

Return Value

This method can return an RTC_E_ constant.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCWatcher
RTC_WATCHER_STATE