IPictureMixer2::GetOutputRect

From MediaLooks Knowledge Base
Jump to: navigation, search

The GetOutputRect method of the IPictureMixer2 interface is used to get the rectangular area and the back color outside it, both previously specified with the SetOutputRect method.

Contents

Syntax

HRESULT GetOutputRect(
            [out] RECT* _pRect,
            [out] int* _pnBackColor
);

Parameters

NameDescription
_pRect[in] Pointer to the parameters of the rectangular area the input video is set to be scaled to.
_pnBackColor[in] Pointer to the color which is currently 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 makes sence only if extra buffering is on.

Personal tools