GetTrackMedia
TheGetTrackMediafunction allows you to determine the media that contains a track's sample data.
pascal Media GetTrackMedia (Track theTrack);
theTrack- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrackandGetMovieTrack(described on page 2-136 and page 2-188, respectively).DESCRIPTION
TheGetTrackMediafunction returns the media identifier that corresponds to the media that specifies the track's sample data. If the function could not locate the media, it sets this returned value tonil.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help