Export (0) Print
Expand All

IVMRAspectRatioControl9::GetAspectRatioMode method

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

Syntax


HRESULT GetAspectRatioMode(
  [out]  DWORD *lpAspectRatioMode
);

Parameters

lpAspectRatioMode [out]

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

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
E_POINTER

NULL pointer 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft