DirectShow DirectShow 레퍼런스 DirectShow base class base class 레퍼런스 CSourceSeeking SetPositions   [목차열람] [주소복사] [슬롯비우기]
CSourceSeeking::SetPositions
 
Microsoft DirectX 9.0

CSourceSeeking::SetPositions

GetPositions 메서드는, 현재의 위치와 정지 위치를 설정한다. 이 메서드는 IMediaSeeking::SetPositions 메서드를 처리 한다.

구문

HRESULT SetPositions(
    LONGLONG *pCurrent,
    DWORD CurrentFlags,
    LONGLONG *pStop,
    DWORD StopFlags
);

파라미터

pCurrent

현재의 위치를 지정하는 변수의 포인터.

CurrentFlags

플래그의 비트 단위의 논리합. 「주의」를 참조할것.

pStop

종료 타임을 지정하는 변수의 포인터. 현재의 타임 포맷 단위로 나타난다.

StopFlags

플래그의 비트 단위의 논리합. 「주의」를 참조할것.

반환값

HRESULT 값을 돌려준다. 다음의 몇개의 값을 돌려준다.

설명
S_OK 성공.
E_INVALIDARG 무효인 플래그.
E_POINTER NULL 포인터 인수.

주의

다음의 플래그가 지원 된다.

더 자세한 정보는, 「IMediaSeeking::SetPositions 」를 참조할것.

이 메서드는,CSourceSeeking::m_rtStartCSourceSeeking::m_rtStop 멤버 변수의 값을 갱신해, 순수 가상 메서드 CSourceSeeking::ChangeStartCSourceSeeking::ChangeStop 를 호출한다.

참조

↑TOP