IVideoMixer::SetOutputSize
From AVObjects Knowledge Base
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | + | The '''SetOutputSize''' method sets the output frame size. | |
| + | |||
| + | ===Syntax=== | ||
| + | |||
| + | HRESULT SetOutputSize( | ||
| + | [in] DWORD _dwWidth, | ||
| + | [in] DWORD _dwHeight | ||
| + | ); | ||
| + | |||
| + | ===Parameters=== | ||
| + | |||
| + | ''_dwWidth'' | ||
| + | |||
| + | [in] Sets the width of the output frame. | ||
| + | |||
| + | ''_dwHeight'' | ||
| + | |||
| + | [in] Sets the height of the output frame. | ||
| + | |||
| + | ===Return Values=== | ||
| + | |||
| + | {| | ||
| + | |'''Return code''' | ||
| + | |'''Description''' | ||
| + | |- | ||
| + | |S_OK | ||
| + | |Success | ||
| + | |- | ||
| + | |E_OUTOFMEMORY | ||
| + | |Insufficient memory | ||
| + | |- | ||
| + | |E_POINTER | ||
| + | |Null pointer argument | ||
| + | |- | ||
| + | |} | ||
| + | |||
| + | ===Remarks=== | ||
| + | |||
| + | If ''_dwWidth'' and ''_dwHeight'' are zero, default output size will be set. (Default output size is the size of the maximum input frame.) | ||
Revision as of 11:19, 25 July 2007
The SetOutputSize method sets the output frame size.
Contents |
Syntax
HRESULT SetOutputSize( [in] DWORD _dwWidth, [in] DWORD _dwHeight );
Parameters
_dwWidth
[in] Sets the width of the output frame.
_dwHeight
[in] Sets the height of the output frame.
Return Values
| Return code | Description |
| S_OK | Success |
| E_OUTOFMEMORY | Insufficient memory |
| E_POINTER | Null pointer argument |
Remarks
If _dwWidth and _dwHeight are zero, default output size will be set. (Default output size is the size of the maximum input frame.)