Microsoft DirectX 9.0

IMSVidClosedCaptioning::put_Enable

This topic applies to Windows XP 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