Windows Media Player SDK banner art
PreviousNext

Player6.GetCurrentEntry

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.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.