Microsoft DirectX 8.1 (C++)

IMSVidClosedCaptioning::put_Enable

This topic applies to Windows XP Home Edition and Windows XP Professional only.

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.

See Also