Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Windows Media Player 11 SDK ENDMARKER Element 

Windows Media Player SDK banner art


The ENDMARKER element specifies a marker at which Windows Media Player will stop rendering the stream.


   NUMBER = "marker number" |
   NAME = "marker name"



The number of a numeric marker in the index. The default value is the end of the content.


The name of a named marker in the index. The default value is the end of the content.

Parent/Child Elements

Hierarchy Elements
Parent elements ENTRY, REF
Child elements None


This element specifies the marker where Windows Media Player is to stop rendering the stream defined in the parent ENTRY or REF element.

Note   Use the ENDMARKER element with either the NUMBER or NAME attribute, but not both.

In preview mode, reaching an end marker stops the preview, even if the time specified by the PREVIEWDURATION element has not elapsed. The ENDMARKER element also takes precedence over the DURATION element.

An ENDMARKER element defined within a REF element takes precedence over an ENDMARKER defined within the REF element's parent ENTRY element.

If the marker specified by an ENDMARKER element occurs earlier in the stream than the marker defined by a STARTMARKER element, no content plays, but no error is generated.

Example Code

<ENDMARKER NAME="Marker_StopHere" />


Windows Media Player version 7.0 or later.

See Also

© 2015 Microsoft