Partager via


IVMRWindowlessControl9::GetAspectRatioMode

 
Microsoft DirectShow 9.0

IVMRWindowlessControl9::GetAspectRatioMode

The GetAspectRatioMode method retrieves the current aspect ratio display mode.

Syntax

  HRESULT GetAspectRatioMode(
  DWORD*  lpAspectRatioMode
);

Parameters

lpAspectRatioMode

[out]  Pointer to a DWORD that receives a VMR9AspectRatioMode value that indicates the current aspect ratio mode.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.
E_POINTER lpAspectRatioMode is invalid

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.

See Also