GetCurrentEntry

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

Compatibility: Windows Media Player

lRetVal = MediaPlayer.GetCurrentEntry( )

Return Values

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

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Methods | Compatibility Modes | GetMediaParameter | GetMediaParameterName | SetCurrentEntry | EntryCount

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.