Share via


Windows Media Player 11 SDK IWMPClosedCaption2 Interface (VB and C#) 

Windows Media Player SDK banner art

Previous Next

IWMPClosedCaption2 Interface (VB and C#)

Provides properties and methods for closed captioning that supplement the IWMPClosedCaption interface.

In addition to the properties inherited from IWMPClosedCaption, the IWMPClosedCaption2 interface exposes the following properties.

Property Description
SAMILangCount Gets or sets the number of languages supported by the current SAMI file.
SAMIStyleCount Gets or sets the number of styles supported by the current SAMI file.

The IWMPClosedCaption2 interface exposes the following methods.

Method Description
getSAMILangID Returns the locale identifier (LCID) of a language supported by the current SAMI file.
getSAMILangName Returns the name of a language supported by the current SAMI file.
getSAMIStyleName Returns the name of a style supported by the current SAMI file.

Get an IWMPClosedCaption2 interface by casting the value returned by the AxWindowsMediaPlayer.closedCaption property.

See Also

Previous Next