IVMRMixerBitmap::GetAlphaBitmapParameters method

The GetAlphaBitmapParameters method retrieves a copy of the current image and related blending parameters.

Syntax


HRESULT GetAlphaBitmapParameters(
  [out] PVMRALPHABITMAP pBmpParms
);

Parameters

pBmpParms [out]

A pointer to a VMRALPHABITMAP structure that receives the bitmap, information about the blending values, and the location to blend it.

Return value

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

Return codeDescription
E_POINTER

pBmpParms is invalid.

VFW_E_WRONG_STATE

The mixer has not been loaded.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
Using the Video Mixing Renderer
Video Mixing Renderer Filter 7
IVMRMixerBitmap Interface
IVMRMixerBitmap::SetAlphaBitmap

 

 

Show: