Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_MixerBitmapPositionRect method retrieves the position of the static bitmap image, relative to the video window.


HRESULT get_MixerBitmapPositionRect(
  IMSVidRect**  pprDest



[out]  Address of a variable that receives an IMSVidRect interface pointer.

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 position rectangle given in pprDest.

The returned IMSVidRect interface has an outstanding reference count. The caller must release the interface.

See Also