Partager via


IMixerPinConfig::GetAspectRatioMode

 
Microsoft DirectShow 9.0

IMixerPinConfig::GetAspectRatioMode

The GetAspectRatioMode method retrieves the aspect ratio correction mode for window resizing.

Syntax

  HRESULT GetAspectRatioMode(
  AM_ASPECT_RATIO_MODE *pamAspectRatioMode
);

Parameters

pamAspectRatioMode

[out] Pointer to an AM_ASPECT_RATIO_MODE enumerated type member.

Return Value

Returns an HRESULT value. Possible values include the following:

Value Description
E_NOTIMPL Method called on secondary stream.
E_INVALIDARG Value invalid or NULL.
S_OK Success.

Requirements

Header: Include Mpconfig.h.

Library: Use Strmiids.lib.

See Also