Windows Media Player 11 SDK IWMPClosedCaption Interface 

Windows Media Player SDK banner art

Previous Next

IWMPClosedCaption Interface

The IWMPClosedCaption interface provides a way to include captions with a digital media file. The captioning text is in a Synchronized Accessible Media Interchange (SAMI) file.

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

Method Description
get_captioningId Retrieves the name of the frame or control displaying the captioning.
get_SAMIFileName Retrieves the name of the file containing the information needed for closed captioning.
get_SAMILang Retrieves the language displayed for closed captioning.
get_SAMIStyle Retrieves the closed captioning style.
put_captioningId Specifies the name of the frame or control displaying the captioning.
put_SAMIFileName Specifies the name of the file containing the information needed for closed captioning.
put_SAMILang Specifies the language displayed for closed captioning.
put_SAMIStyle Specifies the closed captioning style.

Retrieve a pointer to an IWMPClosedCaption interface with the following method.

Interface Method
IWMPCore get_closedCaption.

See Also

Previous Next