Share via


CSystemClock Class (Compact 2013)

3/26/2014

CBaseReferenceClock Class

     IPersist

          CSystemClock Class

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

DirectShow Classes