Microsoft Windows CE 3.0  

SetCurrentEntry

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.

Selects a clip for playback by the Microsoft Windows Media Player control.

Compatibility:Windows Media Player

MediaPlayer.SetCurrentEntry(
lWhichEntry
)

Parameters

lWhichEntry
Long value specifying the index number of the ENTRY element that defines the media file to play back.

Return Values

No return value.

Remarks

If the value for lWhichEntryis valid for the specified Advanced Stream Redirector (ASX) file, the Media Player will begin playing the clip immediately. If the value is invalid, the Windows Media Player will perform no action.

The first ENTRYelement in an ASX file has an index number of 1. Setting the current entry value to zero or to a number greater than the value of the EntryCountproperty will result in an error.

See Also

GetCurrentEntry, GetMediaParameter, GetMediaParameterName, EntryCount