GetCurrentEntry (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the current clip being played by the Windows Media Player control.

Compatibility: Windows Media Player

Syntax

lRetVal = MediaPlayer.GetCurrentEntry( )

Return Value

Long value specifying the index number of the current ENTRY element being played, based on its order in the specified Advanced Stream Redirector (ASX) file.

If the Windows Media Player is not currently playing a file, this function will return the value zero.

Remarks

The first ENTRY element in an ASX file has an index number of 1.

This method retrieves the index number of the current entry.

To select an entry, call the SetCurrentEntry method.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Methods
GetMediaParameter
GetMediaParameterName
SetCurrentEntry
EntryCount

Concepts

Compatibility Modes