Share via


IMSVidVideoRenderer::SetupMixerBitmap

 
Microsoft DirectShow 9.0

IMSVidVideoRenderer::SetupMixerBitmap

This topic applies to Windows XP or later.

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

Syntax

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

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.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also