Share via


Player6.GetCurrentEntry (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 retrieves the current clip being played by the Windows Media Player control.

Syntax

MediaPlayer.GetCurrentEntry()

Return Value

Long value indicating the index number of the current ENTRY element being played, based on its order in the specified Windows Media metafile. If Windows Media Player is not currently playing a file, this function will return zero.

Remarks

The first ENTRY element in a Windows Media metafile has an index number of 1. This method retrieves the index number of the current entry. To select an entry, call the SetCurrentEntry method.

Note   This scripting method is only available for Windows Media Player version 6.01 and later. The standard installation of Microsoft Internet Explorer 5 includes a compatible version of Windows Media Player.

Requirements

Version: Windows Media Player version 6.4.

Library: Use msdxm.ocx.

Platform: Windows 98 Second Edition or higher.

See Also