GetTimeBaseStartTime
You can determine the start time of a time base by calling theGetTimeBaseStartTimefunction.
pascal TimeValue GetTimeBaseStartTime (TimeBase tb, TimeScale s, TimeRecord *tr);
tb- Specifies the time base for this operation. Your application obtains this time base identifier from the
NewTimeBasefunction (described on page 2-297).s- Specifies the time scale in which to return the start time.
tr- Contains a pointer to a time structure that is to receive the start time. This is an optional parameter. If you do not want the time value represented in a time structure, set this parameter to
nil.DESCRIPTION
TheGetTimeBaseStartTimereturns a time value that contains the start time
from the specified time base in the specified time scale. The function returns this value even if you specify a time structure with thetrparameter.ERROR CODES
NoneSEE ALSO
You can set the start time of a time base by calling theSetTimeBaseStartTimefunction, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help