Partager via


IMSVidVideoRenderer::put_MixerBitmapOpacity

 
Microsoft DirectShow 9.0

IMSVidVideoRenderer::put_MixerBitmapOpacity

This topic applies to Windows XP or later.

The put_MixerBitmapOpacity method specifies the opacity of the static bitmap image.

Syntax

  HRESULT put_MixerBitmapOpacity(
  
  int
  
  opacity
  
  );

Parameters

  opacity

[in]  Specifies the opacity 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 specified opacity.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also