DirectShow DirectShow 레퍼런스 인터페이스 IVMRWindowlessControl9 GetAspectRatioMode [목차열람] [주소복사] [슬롯비우기] |
Microsoft DirectX 9.0 |
GetAspectRatioMode 메서드는, 현재의 어스펙트비(가로세로 비율)의 디스플레이 모드를 얻어온다.
구문
HRESULT GetAspectRatioMode(
DWORD* lpAspectRatioMode
);
파라미터
lpAspectRatioMode
[out] 현재의 어스펙트비(가로세로 비율) 모드를 나타내는 VMR9AspectRatioMode 값을 받는 DWORD 형의 값의 포인터.
반환값
메서드는,HRESULT 를 돌려준다. 가능한 값은 다음의 일람대로이다.
값 | 설명 |
S_OK | 메서드가 성공했다. |
E_POINTER | lpAspectRatioMode 가 무효이다. |
요건
D3d9.h, Vmr9.h 를 인클루드 하는 것.
참조