Microsoft DirectX 8.1 (C++) |
The GetAspectRatioMode method retrieves the aspect ratio correction mode for window resizing.
Syntax
HRESULT GetAspectRatioMode(
AM_ASPECT_RATIO_MODE *pamAspectRatioMode
);
Parameters
pamAspectRatioMode
[out] Pointer to an AM_ASPECT_RATIO_MODE enumerated type member.
Return Value
Returns an HRESULT value. Possible values include the following:
Value | Description |
E_NOTIMPL | Method called on secondary stream. |
E_INVALIDARG | Value invalid or NULL. |
S_OK | Success. |
See Also