Microsoft Windows CE 3.0  

CSystemClock Class

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The CSystemClockclass implements a system clock that provides time information and timing signals to an application. It uses the CBaseReferenceClockbase class to provide most of that functionality, adding persistence.

CSystemClockimplements the IPersistinterface. For more implementation information, see "OLE Programmers Reference (Vol. 1): Structured Storage Overview."

Member Functions

CreateInstance Creates an instance of a system clock.
CSystemClock Constructs a CSystemClockobject.

Implemented IPersist Methods

GetClassID Returns the class identifier for this clock (CLSID_SystemClock).

Implemented INonDelegatingUnknown Methods

NonDelegatingQueryInterface Passes out pointers to IID_IPersist, and calls the base clock for other interface queries.