Microsoft DirectX 9.0

IMSVidVideoRenderer::SetupMixerBitmap

This topic applies to Windows XP only.

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

Syntax

HRESULT SetupMixerBitmap(
  IPictureDisp*  pMixerPictureDisp,
  long  Opacity,
  IMSVidRect*  prDest
);

Parameters

  pMixerPictureDisp

[in]  Pointer to an IPictureDisp interface that specifies the bitmap.

  Opacity

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

  prDest

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

Return Values

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

See Also