Share via


IMSVidVideoRenderer::SetupMixerBitmap method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

The SetupMixerBitmap method configures the Video Mixing Renderer (VMR) to display an alpha-blended bitmap on top of the video.

Syntax

HRESULT SetupMixerBitmap(
  [in] IPictureDisp *MixerPictureDisp,
  [in] long         Opacity,
  [in] IMSVidRect   *rDest
);

Parameters

[in] MixerPictureDisp

Pointer to an IPictureDisp interface that specifies the bitmap.

[in] Opacity

Specifies the opacity of the bitmap, as an integer from 0 (transparent) to 100 (opaque).

[in] rDest

Pointer to an IMSVidRect interface that specifies the position of the bitmap, relative to the video window.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidVideoRenderer Interface

IMSVidVideoRenderer::put_MixerBitmap

IMSVidVideoRenderer::put_MixerBitmapOpacity

IMSVidVideoRenderer::put_MixerBitmapPositionRect