IPictureMixer2::SetOutputRect

From MediaLooks Knowledge Base
Jump to: navigation, search

The SetOutputRect method of the IPictureMixer2 interface is used for scaling the input video to the rectangular area specified as the first parameter. The rest of the screen area is filled with the color specified as the second parameter.

Contents

Syntax

HRESULT SetOutputRect(
            [in] RECT* _pRect,
            [in] int _nBackColor
);

Parameters

NameDescription
_pRect[in] Pointer to parameters of the rectangle to scale the input video to.
_nBackColor[in] The color used to fill the area outside the given rectangle.


Return Values

Return code Description
S_OK Success.
E_OUTOFMEMORY Insufficient memory.
E_POINTER Null pointer argument.


Remarks

This method works only if extra buffering is on.

Personal tools