## 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.

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