Share via


SetCurrentEntry (Windows CE 5.0)

Send Feedback

This method selects a clip for playback by the Windows Media Player control.

Compatibility: Windows Media Player

MediaPlayer.SetCurrentEntry( lWhichEntry)

Parameters

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

Return Values

None.

Remarks

If the value for lWhichEntry is 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 ENTRY element 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 EntryCount property will result in an error.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.