Share via


Windows Media Player 11 SDK IWMPClosedCaption2 Interface 

Windows Media Player SDK banner art

Previous Next

IWMPClosedCaption2 Interface

The IWMPClosedCaption2 interface provides closed captioning methods that supplement the IWMPClosedCaption interface.

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

Method Description
get_SAMILangCount Retrieves the number of languages supported by the current SAMI file.
get_SAMIStyleCount Retrieves the number of styles supported by the current SAMI file.
getSAMILangID Retrieves the locale identifier (LCID) of a language supported by the current SAMI file.
getSAMILangName Retrieves the name of a language supported by the current SAMI file.
getSAMIStyleName Retrieves the name of a style supported by the current SAMI file.

Retrieve a pointer to an IWMPClosedCaption2 interface by calling the QueryInterface method of the IWMPClosedCaption interface.

See Also

Previous Next