Microsoft DirectX 9.0

IMSVidVideoRenderer::get_MaxVidRect

This topic applies to Windows XP only.

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

Syntax

HRESULT get_MaxVidRect(
  IMSVidRect**  ppVidRect
);

Parameters

  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.

Remarks

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