mmpSetMute

Syntax

BOOL mmpSetMute(idMovie, bMuteOn)

This function disables or enables any sound playback produced by the Movie Player instance. This setting is associated with the Movie Player instance, not with the movie; loading a new movie into the Movie Player instance does not change the mute setting.

Parameters

MMPID idMovie

Identifies the movie ID of the Movie Player instance.

WORD bMuteOn

Identifies whether to mute the sound. Set this to TRUE to turn off sound playback, or set it to FALSE to resume sound playback.

Return Value

Returns TRUE if successful, otherwise returns FALSE.

Comments

The mute setting affects the playback of sound cast members. The mute setting does not affect mci or mciWait script-channel commands, including those used to play streamed audio resources.

See Also

mmpGetMute