DirectShow DirectShow 레퍼런스 인터페이스 IVMRWindowlessControl9 SetAspectRatioMode   [목차열람] [주소복사] [슬롯비우기]
IVMRWindowlessControl9::SetAspectRatioMode
 
Microsoft DirectX 9.0

IVMRWindowlessControl9::SetAspectRatioMode

SetAspectRatioMode 메서드는, 현재의 어스펙트비(가로세로 비율)의 디스플레이 모드를 설정한다.

구문

HRESULT SetAspectRatioMode(
  DWORD  AspectRatioMode
);

파라미터

AspectRatioMode

[in] 어스펙트비(가로세로 비율) 모드를 지정하는 VMR9AspectRatioMode 값.

반환값

메서드는,HRESULT 를 돌려준다. 가능한 값은 다음의 일람대로이다.

설명
S_OK 메서드가 성공했다.
VFW_E_WRONG_STATE VMR 는 윈도우레스모드는 아니다.

요건

D3d9.h, Vmr9.h 를 인클루드 하는 것.

참조

↑TOP