Microsoft DirectX 9.0


This topic applies to Windows XP only.

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


HRESULT get_MixerBitmapOpacity(
  int*  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.


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

See Also