Share via


Player6.Cancel (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 cancels the asynchronous Open method before a clip is completely opened.

Syntax

MediaPlayer.Cancel()

Return Value

This method does not return a value.

Remarks

This method does not close a connection to a computer running Microsoft NetShow Theater Server. To close a NetShow Theater Server connection, set the FileName property to an empty string.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.