IWMPClosedCaption2 interface (wmp.h)

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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

Inheritance

The IWMPClosedCaption2 interface inherits from IWMPClosedCaption. IWMPClosedCaption2 also has these types of members:

Methods

The IWMPClosedCaption2 interface has these methods.

 
IWMPClosedCaption2::get_SAMILangCount

The get_SAMILangCount method retrieves the number of languages supported by the current SAMI file.
IWMPClosedCaption2::get_SAMIStyleCount

The get_SAMIStyleCount method retrieves the number of styles supported by the current SAMI file.
IWMPClosedCaption2::getSAMILangID

The getSAMILangID method retrieves the locale identifier (LCID) of a language supported by the current SAMI file.
IWMPClosedCaption2::getSAMILangName

The getSAMILangName method retrieves the name of a language supported by the current SAMI file.
IWMPClosedCaption2::getSAMIStyleName

The getSAMIStyleName method retrieves the name of a style supported by the current SAMI file.

Requirements

   
Target Platform Windows
Header wmp.h

See also

Adding Closed Captions to Digital Media

IWMPClosedCaption Interface

Interfaces