Microsoft DirectX 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 is by design for backward compatibility and cannot be changed.

Requirements

Include D3d9.h, Vmr9.h.

See Also