Share via


IMSVidVideoRenderer::get_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 get_MixerBitmapOpacity method retrieves the opacity of the static bitmap image.

Syntax

HRESULT get_MixerBitmapOpacity(
  [out] int *opacity
);

Parameters

[out] opacity

Receives the opacity, expressed 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 opacity given in pOpacity.

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

IMSVidVideoRenderer::put_MixerBitmapOpacity