IMFVideoDisplayControl::GetIdealVideoSize method

Gets the range of sizes that the enhanced video renderer (EVR) can display without significantly degrading performance or image quality.

Syntax


HRESULT GetIdealVideoSize(
  [in, out] SIZE *pszMin,
  [in, out] SIZE *pszMax
);

Parameters

pszMin [in, out]

Receives the minimum ideal size. This parameter can be NULL.

pszMax [in, out]

Receives the maximum ideal size. This parameter can be NULL.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

E_POINTER

At least one parameter must be non-NULL.

MF_E_SHUTDOWN

The video renderer has been shut down.

 

Remarks

You can set pszMin or pszMax to NULL, but not both.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Evr.h

Library

Strmiids.lib

See also

IMFVideoDisplayControl
Enhanced Video Renderer
Using the Video Display Controls

 

 

Show: