Partager via


ASX (Windows Embedded CE 6.0)

1/6/2010

This element defines a file as an Advanced Stream Redirector (ASX) file.

Syntax

<ASX
    VERSION="number"
    PREVIEWMODE= "YES" | "NO"
    BANNERBAR= "AUTO" | "FIXED"
>
</ASX>

Parameters

  • VERSION(required)
    Decimal representing the version number of the syntax for the ASX file.
  • PREVIEWMODE
    As preview mode is not supported in Windows Embedded CE, this attribute is set to NO and any attempts to change it are ignored.
  • BANNERBAR
    As banners are not supported in Windows Embedded CE, this attribute is set to AUTO and any attempts to change it are ignored.

    Even if content includes a banner, no space is reserved for it.

Parent/Child Information

Hierarchy Allowed element

Parent elements

None. The ASX element must be the first element in any ASX file.

Child elements

ABSTRACT, AUTHOR, BASE, COPYRIGHT, DURATION, ENTRY, ENTRYREF, MOREINFO, PARAM, REPEAT, TITLE

Remarks

This element defines a file as an ASX file. The first four characters of an ASX file must be <ASX. Other elements defined within the scope of the ASX element, such as TITLE and AUTHOR, are associated with the show information displayed by the WMP control.

For the WMP control, the ASX version number is 3.0. Acceptable values for the VERSION attribute include both 3.0 and 3 (with or without the decimal point).

Example

<ASX VERSION="3.0" PREVIEWMODE="NO" >
   <ENTRY HREF="http://example.microsoft.com/sample1.asx" />
</ASX>

See Also

Reference

ASX Elements Reference