Microsoft DirectX 8.1 (C++) |
This topic applies to Windows XP Home Edition and Windows XP Professional only.
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 VMR_ASPECT_RATIO_MODE value that indicates the current aspect ratio mode.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Error Code | Description |
E_POINTER | lpAspectRatioMode is invalid |
See Also