Share via


Windows Media Player 11 SDK Using Custom Parameters and Commands 

Windows Media Player SDK banner art

Previous Next

Using Custom Parameters and Commands

You can create custom parameters to pass additional metadata in a metafile playlist by using the PARAM element. Use the NAME attribute of the PARAM element to define the custom parameter name. Use the VALUE attribute to define the value for the named custom parameter.

Retrieve PARAM metadata by using the getItemInfo methods of the Media and Playlist objects. For an example using these methods to retrieve metadata, see the attributeCount method of the Playlist object.

The following example metafile playlist shows the use of the PARAM element to define custom parameters.

  

See Also

Previous Next