IVMRMixerBitmap::UpdateAlphaBitmapParameters

 
Microsoft DirectShow 9.0

IVMRMixerBitmap::UpdateAlphaBitmapParameters

The UpdateAlphaBitmapParameters method changes the bitmap location, size and blending value.

Syntax

  HRESULT UpdateAlphaBitmapParameters(
  PVMRALPHABITMAP  pBmpParms
);

Parameters

pBmpParms

[in]  A PVMRALPHABITMAP, which is defined as a pointer to a VMRALPHABITMAP structure.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

The filter graph must be running for the changes to take effect. This method does not change the bitmap image. If you specify a VMRALPHABITMAP structure with no destination or color key set, the bitmap disappears. This behavior is by design for backward compatibility and cannot be changed.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also