Microsoft DirectX 9.0


This topic applies to Windows XP only.

The put_UsingOverlay method specifies whether the Video Mixing Renderer will use the hardware overlay.


HRESULT put_UsingOverlay(
  VARIANT_BOOL  UseOverlayVal



[in]  Flag that specifies whether to use the hardware overlay. Use one of the following values.

Value Description
VARIANT_TRUE Use the hardware overlay.
VARIANT_FALSE Do not use the hardware overlay.

Return Values

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

See Also