Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_UsingOverlay method queries whether the Video Mixing Renderer (VMR) is using the hardware overlay.


HRESULT get_UsingOverlay(
  VARIANT_BOOL*  pUseOverlayVal



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

Value Description
VARIANT_TRUE The VMR is using the hardware overlay.
VARIANT_FALSE The VMR is not using the hardware overlay.

Return Values

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

See Also