CBaseReferenceClock::GetTime

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

HRESULT GetTime(
  REFERENCE_TIME *pTime
);

Parameters

  • pTime
    Where the current time is returned.

Return Values

Returns one of the following HRESULT values.

Member Description
E_POINTER NULL pointer argument.
S_FALSE Failure.
S_OK Success.

Remarks

This member function implements the IReferenceClock::GetTime method. It reads the time from the implemented clock and returns the current time.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.