Microsoft DirectX 9.0


This topic applies to Windows XP only.

The get_MaxVidRect method retrieves the maximum ideal size of the video rectangle.


HRESULT get_MaxVidRect(
  IMSVidRect**  ppVidRect



[out]  Address of a variable that receives an IMSVidRect interface pointer.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.


The maximum ideal image size is the maximum video size that can be displayed without significantly degrading performance or image quality.

The returned IMSVidRect interface has an outstanding reference count. The caller must release the interface.

See Also