IVMRWindowlessControl9::GetAspectRatioMode method
The GetAspectRatioMode method retrieves the current aspect ratio display mode.
Syntax
HRESULT GetAspectRatioMode(
DWORD *lpAspectRatioMode
);
Parameters
lpAspectRatioMode
Pointer to a DWORD that receives a VMR9AspectRatioMode value that indicates the current aspect ratio mode.
Return value
The method returns an HRESULT. Possible values include those in the following table.
| Return code | Description |
|---|---|
|
The method succeeded. |
|
lpAspectRatioMode is invalid |
Remarks
Include DShow.h and D3d9.h before Vmr9.h.
Requirements
| Minimum supported client | Windows XP with SP2 [desktop apps only] |
| Minimum supported server | Windows Server 2003 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | vmr9.h |
| Library | Strmiids.lib |