Player6.Pause (deprecated)

Windows Media Player SDK banner art

This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.

This method suspends playback at the current position in the clip.

Syntax

MediaPlayer.Pause()

Return Value

This method does not return a value.

Remarks

This method performs the same action as clicking the pause button on the control bar.

If the value of the SendPlayStateChangeEvents property is true and the file is playing, calling this method causes a PlayStateChange event to occur.

When a file is paused, the client control does not give up any system resources, such as the audio device.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.

See Also