GetMinIdealImageSize

IVideoWindow::GetMinIdealImageSize method

The GetMinIdealImageSize method retrieves the minimum ideal size for the video image.

Syntax


HRESULT GetMinIdealImageSize(
  [out] long *pWidth,
  [out] long *pHeight
);

Parameters

pWidth [out]

Receives the minimum ideal width, in pixels.

pHeight [out]

Receives the minimum ideal height, in pixels.

Return value

Possible return values include the following:

Return codeDescription
E_POINTER

NULL pointer.

S_FALSE

Could not retrieve a minimum image size.

S_OK

Success.

VFW_E_WRONG_STATE

Filter is stopped.

 

Remarks

The maximum ideal size may differ from the native video size, because the video hardware might have specific stretching requirements.

This method returns S_FALSE under various circumstances:

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Control.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IVideoWindow Interface
IVideoWindow::GetMaxIdealImageSize

 

 

Show:
© 2016 Microsoft