SubtractTime
TheSubtractTimefunction subtracts one time from another. You must specify the times in time structures.
pascal void SubtractTime (TimeRecord *dst, const TimeRecord *src);
dst- Contains a pointer to a time structure. This time structure contains one of the operands for the subtraction. The
SubtractTimefunction returns the result of the subtraction into this time structure.src- Contains a pointer to a time structure. The Movie Toolbox subtracts this value from the time or duration specified by the
dstparameter.DESCRIPTION
If these times are relative to different time scales or time bases, theSubtractTimefunction converts the times as appropriate to yield reasonable results. However, the time bases for both time values must rely on the same time source.The result value is formatted based on the operands as follows:
dstsrcResult Time value Duration Duration Duration Duration Duration Time value Time value Duration ERROR CODES
None
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help