Share via


IVMRAspectRatioControl9::GetAspectRatioMode

 
Microsoft DirectShow 9.0

IVMRAspectRatioControl9::GetAspectRatioMode

The GetAspectRatioMode method queries whether the VMR preserves the aspect ratio of the source video.

Syntax

  HRESULT GetAspectRatioMode(
  DWORD* lpAspectRatioMode
);

Parameters

lpAspectRatioMode

[out]  Pointer to a variable that receives a member of the VMR_ASPECT_RATIO_MODE enumeration.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument
S_OK Success

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also