DirectShow Animated Header -- Reference Time Function DirectShow Animated Header -- Reference Time Function* Microsoft DirectShow SDK
*Index  *Topic Contents
*Previous Topic: Property Page Helper Functions
*Next Topic: Stream Integer Functions

Reference Time Function


The Refclock.h header file in the DirectShow base classes provides a reference time conversion function.
Function Description
ConvertToMilliseconds Converts the reference time to milliseconds.


ConvertToMilliseconds

Reference Time Function

Converts the reference time to milliseconds.

LONGLONG WINAPI ConvertToMilliseconds(
  const REFERENCE_TIME& RT
  );

Parameters
RT
Reference time, in 100-nanosecond units.
Return Values

Returns the reference time converted to milliseconds.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page