Microsoft DirectX 9.0 |
The GetMaxIdealVideoSize method retrieves the maximum video size that the VMR can display without incurring significant performance or image quality degradation.
Syntax
HRESULT GetMaxIdealVideoSize(
LONG* lpWidth,
LONG* lpHeight
);
Parameters
lpWidth
[out] Pointer that receives the maximum ideal width.
lpHeight
[out] Pointer that receives the maximum ideal height.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Error Code | Description |
VFW_E_WRONG_STATE | The VMR is not in windowless mode. |
.
See Also