PutMovieIntoHandle
ThePutMovieIntoHandlefunction creates a new movie resource for you. You can use this handle to store a QuickTime movie in a specialized storage format.
pascal OSErr PutMovieIntoHandle (Movie theMovie, Handle publicMovie);
theMovie- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie,NewMovieFromFile, andNewMovieFromHandle(described on page 2-80, page 2-76, and page 2-78, respectively).publicMovie- Contains the handle that is to receive the new movie resource. The
PutMovieIntoHandlefunction places the new movie resource into this handle. The function resizes the handle if necessary.DESCRIPTION
Note that you cannot use this new movie with other Movie Toolbox functions, except for theNewMovieFromHandlefunction. You can use theNewMovieFromHandlefunction, described on page 2-78, to load a movie from a handle.SPECIAL CONSIDERATIONS
Movies saved usingPutMovieIntoHandlecontain less robust data references than those created using theAddMovieResourceorPutMovieIntoDataForkfunctions (described on page 2-90 and page 2-97, respectively).ERROR CODES
Memory Manager errors
invalidMovie -2010 This movie is corrupted or invalid
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help