Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
The SetAspectRatioMode method sets the current aspect ratio display mode.
Syntax
HRESULT SetAspectRatioMode(
DWORD AspectRatioMode
);
Parameters
AspectRatioMode
[in] A VMR_ASPECT_RATIO_MODE value that specifies the aspect ratio mode.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Error Code | Description |
VFW_E_WRONG_STATE | The VMR is not in windowless mode. |
See Also