#include <ctlutil.h>

Public Member Functions | |
| CPosPassThru (const TCHAR *, LPUNKNOWN, HRESULT *, IPin *) | |
| DECLARE_IUNKNOWN HRESULT | ForceRefresh () |
| virtual HRESULT | GetMediaTime (LONGLONG *pStartTime, LONGLONG *pEndTime) |
| STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
| STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
| STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
| STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
| STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
| STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
| STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| STDMETHODIMP | ConvertTimeFormat (LONGLONG *pTarget, const GUID *pTargetFormat, LONGLONG Source, const GUID *pSourceFormat) |
| STDMETHODIMP | SetPositions (LONGLONG *pCurrent, DWORD CurrentFlags, LONGLONG *pStop, DWORD StopFlags) |
| STDMETHODIMP | GetPositions (LONGLONG *pCurrent, LONGLONG *pStop) |
| STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
| STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
| STDMETHODIMP | SetRate (double dRate) |
| STDMETHODIMP | GetRate (double *pdRate) |
| STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
| STDMETHODIMP | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| STDMETHODIMP | GetPreroll (LONGLONG *pllPreroll) |
| STDMETHODIMP | get_Duration (REFTIME *plength) |
| STDMETHODIMP | put_CurrentPosition (REFTIME llTime) |
| STDMETHODIMP | get_StopTime (REFTIME *pllTime) |
| STDMETHODIMP | put_StopTime (REFTIME llTime) |
| STDMETHODIMP | get_PrerollTime (REFTIME *pllTime) |
| STDMETHODIMP | put_PrerollTime (REFTIME llTime) |
| STDMETHODIMP | get_Rate (double *pdRate) |
| STDMETHODIMP | put_Rate (double dRate) |
| STDMETHODIMP | get_CurrentPosition (REFTIME *pllTime) |
| STDMETHODIMP | CanSeekForward (LONG *pCanSeekForward) |
| STDMETHODIMP | CanSeekBackward (LONG *pCanSeekBackward) |
Private Member Functions | |
| HRESULT | GetPeer (IMediaPosition **ppMP) |
| HRESULT | GetPeerSeeking (IMediaSeeking **ppMS) |
| HRESULT | GetSeekingLongLong (HRESULT(__stdcall IMediaSeeking::*pMethod)(LONGLONG *), LONGLONG *pll) |
Private Attributes | |
| IPin * | m_pPin |
Definition at line 257 of file ctlutil.h.
| HRESULT CPosPassThru::GetPeer | ( | IMediaPosition ** | ppMP | ) | [private] |
Definition at line 430 of file ctlutil.cpp.
References FAILED, hr, HRESULT, m_pPin, NULL, and S_OK.
Referenced by CanSeekBackward(), CanSeekForward(), get_CurrentPosition(), get_Duration(), get_PrerollTime(), get_Rate(), get_StopTime(), put_CurrentPosition(), put_PrerollTime(), put_Rate(), and put_StopTime().
| HRESULT CPosPassThru::GetPeerSeeking | ( | IMediaSeeking ** | ppMS | ) | [private] |
Definition at line 451 of file ctlutil.cpp.
References FAILED, hr, HRESULT, m_pPin, NULL, and S_OK.
Referenced by CheckCapabilities(), ConvertTimeFormat(), GetAvailable(), GetCapabilities(), GetPositions(), GetRate(), GetSeekingLongLong(), GetTimeFormat(), IsFormatSupported(), IsUsingTimeFormat(), QueryPreferredFormat(), SetPositions(), SetRate(), and SetTimeFormat().
| DECLARE_IUNKNOWN HRESULT CPosPassThru::ForceRefresh | ( | ) | [inline] |
| virtual HRESULT CPosPassThru::GetMediaTime | ( | LONGLONG * | pStartTime, | |
| LONGLONG * | pEndTime | |||
| ) | [inline, virtual] |
Reimplemented in CRendererPosPassThru.
Definition at line 274 of file ctlutil.h.
References E_FAIL.
Referenced by GetCurrentPosition().
| STDMETHODIMP CPosPassThru::NonDelegatingQueryInterface | ( | REFIID | riid, | |
| void ** | ppv | |||
| ) |
Reimplemented from CMediaPosition.
Definition at line 418 of file ctlutil.cpp.
References CheckPointer, GetInterface(), CMediaPosition::NonDelegatingQueryInterface(), and NULL.
Referenced by CBaseRenderer::GetMediaPositionInterface(), and CSeekingPassThru::NonDelegatingQueryInterface().
| STDMETHODIMP CPosPassThru::GetCapabilities | ( | DWORD * | pCapabilities | ) |
| STDMETHODIMP CPosPassThru::CheckCapabilities | ( | DWORD * | pCapabilities | ) |
| STDMETHODIMP CPosPassThru::SetTimeFormat | ( | const GUID * | pFormat | ) |
| STDMETHODIMP CPosPassThru::GetTimeFormat | ( | GUID * | pFormat | ) |
| STDMETHODIMP CPosPassThru::IsUsingTimeFormat | ( | const GUID * | pFormat | ) |
| STDMETHODIMP CPosPassThru::IsFormatSupported | ( | const GUID * | pFormat | ) |
| STDMETHODIMP CPosPassThru::QueryPreferredFormat | ( | GUID * | pFormat | ) |
| STDMETHODIMP CPosPassThru::ConvertTimeFormat | ( | LONGLONG * | pTarget, | |
| const GUID * | pTargetFormat, | |||
| LONGLONG | Source, | |||
| const GUID * | pSourceFormat | |||
| ) |
Definition at line 570 of file ctlutil.cpp.
References FAILED, GetPeerSeeking(), hr, and HRESULT.
Referenced by CRendererPosPassThru::GetMediaTime().
| STDMETHODIMP CPosPassThru::GetCurrentPosition | ( | LONGLONG * | pCurrent | ) |
Definition at line 630 of file ctlutil.cpp.
References GetMediaTime(), GetSeekingLongLong(), hr, HRESULT, and NULL.
| STDMETHODIMP CPosPassThru::GetStopPosition | ( | LONGLONG * | pStop | ) |
Definition at line 640 of file ctlutil.cpp.
References GetSeekingLongLong().
Referenced by CRendererPosPassThru::EOS().
| STDMETHODIMP CPosPassThru::SetRate | ( | double | dRate | ) |
Definition at line 685 of file ctlutil.cpp.
References E_INVALIDARG, FAILED, GetPeerSeeking(), hr, and HRESULT.
| STDMETHODIMP CPosPassThru::GetRate | ( | double * | pdRate | ) |
| STDMETHODIMP CPosPassThru::GetDuration | ( | LONGLONG * | pDuration | ) |
| STDMETHODIMP CPosPassThru::GetPreroll | ( | LONGLONG * | pllPreroll | ) |
| STDMETHODIMP CPosPassThru::get_Duration | ( | REFTIME * | plength | ) |
| STDMETHODIMP CPosPassThru::put_CurrentPosition | ( | REFTIME | llTime | ) |
| STDMETHODIMP CPosPassThru::get_StopTime | ( | REFTIME * | pllTime | ) |
| STDMETHODIMP CPosPassThru::put_StopTime | ( | REFTIME | llTime | ) |
| STDMETHODIMP CPosPassThru::get_PrerollTime | ( | REFTIME * | pllTime | ) |
| STDMETHODIMP CPosPassThru::put_PrerollTime | ( | REFTIME | llTime | ) |
| STDMETHODIMP CPosPassThru::get_Rate | ( | double * | pdRate | ) |
| STDMETHODIMP CPosPassThru::put_Rate | ( | double | dRate | ) |
Definition at line 807 of file ctlutil.cpp.
References E_INVALIDARG, FAILED, GetPeer(), hr, and HRESULT.
| STDMETHODIMP CPosPassThru::get_CurrentPosition | ( | REFTIME * | pllTime | ) |
| STDMETHODIMP CPosPassThru::CanSeekForward | ( | LONG * | pCanSeekForward | ) |
| STDMETHODIMP CPosPassThru::CanSeekBackward | ( | LONG * | pCanSeekBackward | ) |
| HRESULT CPosPassThru::GetSeekingLongLong | ( | HRESULT(__stdcall IMediaSeeking::*)(LONGLONG *) | pMethod, | |
| LONGLONG * | pll | |||
| ) | [private] |
Definition at line 615 of file ctlutil.cpp.
References GetPeerSeeking(), hr, and HRESULT.
Referenced by GetCurrentPosition(), GetDuration(), GetPreroll(), and GetStopPosition().
IPin* CPosPassThru::m_pPin [private] |
1.5.6