共用方式為


IVMRMixerBitmap9::UpdateAlphaBitmapParameters

 
Microsoft DirectShow 9.0

IVMRMixerBitmap9::UpdateAlphaBitmapParameters

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

Syntax

  HRESULT UpdateAlphaBitmapParameters(
  const VMR9AlphaBitmap*  pBmpParms
);

Parameters

pBmpParms

[in]  Pointer to a VMR9AlphaBitmap structure.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

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 VMR9AlphaBitmap structure with no destination or color key set, the bitmap disappears. This behavior was implemented for backward compatibility.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also