Partager via


CSystemClock Class

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Aa929477.d16bda45-ccf9-4896-aaa4-a93ff3035dbb(en-us,MSDN.10).gif

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

CSystemClock implements the IPersist interface. For more implementation information, see OLE Programmers Reference (Vol. 1): Structured Storage Overview.

Member Functions

Member function Description

CreateInstance

Creates an instance of a system clock.

CSystemClock

Constructs a CSystemClock object.

Implemented IPersist Methods

Method Description

GetClassID

Returns the class identifier for this clock (CLSID_SystemClock).

Implemented INonDelegatingUnknown Methods

Method Description

NonDelegatingQueryInterface

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

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment