Microsoft DirectX 8.1 (C++)

IMSVidClosedCaptioning::get_Enable

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

The get_Enable method queries whether closed captioning is enabled.

Syntax

HRESULT get_Enable(
  VARIANT_BOOL* pOn
);

Parameters

  pOn

[out]  Pointer to a variable that receives one of the following values.

Value Description
VARIANT_TRUE Closed captioning is enabled.
VARIANT_FALSE Closed captioning is disabled.

Return Values

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

See Also