IReferenceClock Interface

Windows Mobile 6.5
A version of this page is also available for

This interface represents a system reference clock to be implemented by a filter in the filter graph and used by other filters.

Implement this interface if you are writing a filter that generates a system reference clock. Typically, this applies to audio renderer filters because audio sound boards usually contain a reference clock. Use the CBaseReferenceClock class to implement this interface.

Use this interface on any filter to obtain reference clock notifications for a duration of elapsed time (both singular and repetitive), or to retrieve the current time.

The following table shows the methods that appear in the Vtable beneath the standard COM methods inherited from IUnknown.

Method Description


Gets the current time.


Requests an asynchronous notification that a duration has elapsed.


Creates a periodic advise request.


Cancels a request for notification.

Windows Embedded CEWindows CE 2.12 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
NoteMicrosoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

Community Additions