IVMRAspectRatioControl9::SetAspectRatioMode method

The SetAspectRatioMode method specifies whether the VMR preserves the aspect ratio of the source video.

Syntax


HRESULT SetAspectRatioMode(
  [in] DWORD AspectRatioMode
);

Parameters

AspectRatioMode [in]

Specifies a member of the VMR_ASPECT_RATIO_MODE enumeration type.

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
E_INVALIDARG

Invalid argument

S_OK

Success

 

Requirements

Minimum supported client

Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 R2 [desktop apps only]

Header

Vmr9.h

Library

Strmiids.lib

See also

Error and Success Codes
Using the Video Mixing Renderer
IVMRAspectRatioControl9 Interface

 

 

Show: