Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The GetMinIdealVideoSize method retrieves the minimum video size that the VMR can display without incurring significant performance or image quality degradation.
Syntax
HRESULT GetMinIdealVideoSize(
LONG* lpWidth,
LONG* lpHeight
);
Parameters
lpWidth
[out] Pointer to a LONG value that receives the minimum ideal width.
lpHeight
[out] Pointer to a LONG value that receives the minimum 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