mmpClose

Syntax

BOOL mmpClose(idMovie, wOptions)

This function shuts down an instance of the Movie Player.

Parameters

MMPID idMovie

Identifies the movie ID of the Movie Player instance.

WORD wOptions

Not used.

Return Value

Returns TRUE if successful, otherwise returns FALSE.

Comments

This function stops the animation, clears the playback window, unloads the movie file, frees memory associated with the Movie Player instance, and closes the Movie Player instance.

A return value of FALSE indicates a Movie Player error; the movie ID is no longer valid. To get an error value, immediately call mmpError with a NULL movie ID.

See Also

mmpOpen, mmpError