Closing the Movie Player

When you finish using the Movie Player instance, close it using mmpClose. The syntax of this function is as follows:

BOOL mmpClose(idMovie, wOptions)

Pass the movie ID of the Movie Player instance to the idMovie parameter. The wOptions parameter is reserved for future use; set it to NULL.

When called, mmpClose clears the stage window, unloads any file currently loaded, and frees memory allocated during mmpOpen. This function returns TRUE if successful.

Note:

If mmpClose returns FALSE, you can get error information by immediately calling mmpError with a NULL movie ID.