ConvertTimeScale
You can convert a time from one time scale into a time that is relative to another time base by calling theConvertTimeScalefunction. You must specify the time to be converted in a time structure.
pascal void ConvertTimeScale (TimeRecord *inout, TimeScale newScale);
inout- Contains a pointer to a time structure that contains the time value to be converted. The
ConvertTimeScalefunction replaces the contents of this time structure with the time value relative to the specified time scale.newScale- Specifies the time scale for this operation.
DESCRIPTION
TheConvertTimeScalefunction does not include the rate associated with the time value in the conversion; therefore, you should use this function when you want to convert time durations, but not when converting time values. Use theConvertTimefunction (described in the previous section) to convert time values.ERROR CODES
None