Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Retrieves the current clip being played by the Microsoft Windows Media Player control.
Compatibility:Windows Media Player
lRetVal = MediaPlayer.GetCurrentEntry( )
Return Values
Longvalue specifying the index number of the current ENTRYelement 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
ENTRYelement 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
SetCurrentEntrymethod.
See Also
SetCurrentEntry, GetMediaParameter, GetMediaParameterName, EntryCount