Share via


IMSVidVideoRenderer::get_MixerBitmapOpacity

 
Microsoft DirectShow 9.0

IMSVidVideoRenderer::get_MixerBitmapOpacity

This topic applies to Windows XP or later.

The get_MixerBitmapOpacity method retrieves the opacity of the static bitmap image.

Syntax

  HRESULT get_MixerBitmapOpacity(
  
  int*
  
  Opacity
  
  );

Parameters

  pOpacity

[out]  Pointer to a variable that receives the opacity, expressed as an integer from 0 (transparent) to 100 (opaque).

Return Values

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

Remarks

If the static bitmap image is set, the VMR alpha-blends the bitmap onto the video image, using the opacity given in pOpacity.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also