Compartilhar via


IMSVidClosedCaptioning::put_Enable

 
Microsoft DirectShow 9.0

IMSVidClosedCaptioning::put_Enable

This topic applies to Windows XP or later.

The put_Enable method enables or disables closed captioning.

Syntax

  HRESULT put_Enable(
  
  VARIANT_BOOL
  
  On
  
  );

Parameters

  On

[in]  Specifies whether to enable or disable the closed captioning feature. Use one of the following values.

Value Description
VARIANT_TRUE Enable closed captioning.
VARIANT_FALSE Disable closed captioning.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also