HasMovieChanged
TheHasMovieChangedfunction allows your application to determine whether a movie has changed and needs to be saved.
pascal Boolean HasMovieChanged (Movie theMovie);
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).DESCRIPTION
TheHasMovieChangedfunction returns a Boolean value that reflects the contents of the movie changed flag. The function sets the returned value totrueif the movie has been changed in such a way that it should be saved. Otherwise, the returned value is set tofalse.Your application can clear the movie changed flag, indicating that the movie has not changed, by calling the
ClearMovieChangedfunction, which is described in the next section.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid SEE ALSO
Both theAddMovieResourcefunction (described on page 2-90) and theUpdateMovieResourcefunction (described on page 2-91) update the movie file and clear the movie changed flag, indicating that the movie has not been changed.