Share via


IMSVidVideoRenderer::put_MixerBitmapOpacity 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 put_MixerBitmapOpacity method specifies the opacity of the static bitmap image.

Syntax

HRESULT put_MixerBitmapOpacity(
  [in] int opacity
);

Parameters

[in] opacity

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

Return value

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

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::SetupMixerBitmap

IMSVidVideoRenderer::get_MixerBitmapOpacity

IMSVidVideoRenderer::put_MixerBitmap