Compartilhar via


CBaseReferenceClock::GetPrivateTime (Compact 2013)

3/26/2014

Retrieves the current reference time.

Syntax

virtual REFERENCE_TIME GetPrivateTime( );

Return Value

Returns the current reference time, in 100-nanosecond units.

Remarks

GetPrivateTime represents the actual clock.

GetTime is the externally used member function.

Derived classes will probably override this method, but not GetTime itself.

The important point about GetPrivateTime is that it is allowed to go backward.

This class's GetTime member function keeps returning the last time returned by GetTime until GetPrivateTime catches up.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseReferenceClock Class