Freigeben über


IMSVidClosedCaptioning interface (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The IMSVidClosedCaptioning interface enables or disables closed captions. The MSVidClosedCaptioning feature exposes this interface.

To obtain this interface, enumerate the collection of available features on the Video Control. To use closed captioning, activate the closed captioning feature before you build the graph. Once the feature is active, you can enable or disable the closed captioning display by calling the IMSVidClosedCaptioning::put_Enable method.

Inheritance

The IMSVidClosedCaptioning interface inherits from IMSVidFeature. IMSVidClosedCaptioning also has these types of members:

Methods

The IMSVidClosedCaptioning interface has these methods.

 
IMSVidClosedCaptioning::get_Enable

The get_Enable method queries whether closed captioning is enabled.
IMSVidClosedCaptioning::put_Enable

The put_Enable method enables or disables closed captioning.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IMSVidClosedCaptioning).

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

Displaying Closed Captioning in C++

IMSVidFeature

Video Control Interfaces