#include <ctlutil.h>

Public Member Functions | |
| STDMETHODIMP | NonDelegatingQueryInterface (REFIID riid, void **ppv) |
| STDMETHODIMP | IsFormatSupported (const GUID *pFormat) |
| STDMETHODIMP | QueryPreferredFormat (GUID *pFormat) |
| STDMETHODIMP | SetTimeFormat (const GUID *pFormat) |
| STDMETHODIMP | IsUsingTimeFormat (const GUID *pFormat) |
| STDMETHODIMP | GetTimeFormat (GUID *pFormat) |
| STDMETHODIMP | GetDuration (LONGLONG *pDuration) |
| STDMETHODIMP | GetStopPosition (LONGLONG *pStop) |
| STDMETHODIMP | GetCurrentPosition (LONGLONG *pCurrent) |
| STDMETHODIMP | GetCapabilities (DWORD *pCapabilities) |
| STDMETHODIMP | CheckCapabilities (DWORD *pCapabilities) |
| 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 | GetAvailable (LONGLONG *pEarliest, LONGLONG *pLatest) |
| STDMETHODIMP | SetRate (double dRate) |
| STDMETHODIMP | GetRate (double *pdRate) |
| STDMETHODIMP | GetPreroll (LONGLONG *pPreroll) |
Public Attributes | |
| DECLARE_IUNKNOWN | |
Protected Member Functions | |
| CSourceSeeking (const TCHAR *, LPUNKNOWN, HRESULT *, CCritSec *) | |
| virtual HRESULT | ChangeStart () PURE |
| virtual HRESULT | ChangeStop () PURE |
| virtual HRESULT | ChangeRate () PURE |
Protected Attributes | |
| CRefTime | m_rtDuration |
| CRefTime | m_rtStart |
| CRefTime | m_rtStop |
| double | m_dRateSeeking |
| DWORD | m_dwSeekingCaps |
| CCritSec * | m_pLock |
Definition at line 508 of file ctlutil.h.
| CSourceSeeking::CSourceSeeking | ( | const TCHAR * | pName, | |
| LPUNKNOWN | pUnk, | |||
| HRESULT * | phr, | |||
| CCritSec * | pLock | |||
| ) | [protected] |
Definition at line 942 of file ctlutil.cpp.
References m_dRateSeeking, m_dwSeekingCaps, m_rtDuration, and m_rtStop.
| HRESULT CSourceSeeking::NonDelegatingQueryInterface | ( | REFIID | riid, | |
| void ** | ppv | |||
| ) |
Reimplemented from CUnknown.
Definition at line 962 of file ctlutil.cpp.
References CheckPointer, GetInterface(), and CUnknown::NonDelegatingQueryInterface().
| HRESULT CSourceSeeking::IsFormatSupported | ( | const GUID * | pFormat | ) |
| HRESULT CSourceSeeking::QueryPreferredFormat | ( | GUID * | pFormat | ) |
| HRESULT CSourceSeeking::SetTimeFormat | ( | const GUID * | pFormat | ) |
| HRESULT CSourceSeeking::IsUsingTimeFormat | ( | const GUID * | pFormat | ) |
| HRESULT CSourceSeeking::GetTimeFormat | ( | GUID * | pFormat | ) |
| HRESULT CSourceSeeking::GetDuration | ( | LONGLONG * | pDuration | ) |
Definition at line 1008 of file ctlutil.cpp.
References CheckPointer, m_pLock, m_rtDuration, and S_OK.
| HRESULT CSourceSeeking::GetStopPosition | ( | LONGLONG * | pStop | ) |
| HRESULT CSourceSeeking::GetCurrentPosition | ( | LONGLONG * | pCurrent | ) |
Definition at line 1024 of file ctlutil.cpp.
| HRESULT CSourceSeeking::GetCapabilities | ( | DWORD * | pCapabilities | ) |
| HRESULT CSourceSeeking::CheckCapabilities | ( | DWORD * | pCapabilities | ) |
Definition at line 1038 of file ctlutil.cpp.
References CheckPointer, m_dwSeekingCaps, S_FALSE, and S_OK.
| HRESULT CSourceSeeking::SetPositions | ( | LONGLONG * | pCurrent, | |
| DWORD | CurrentFlags, | |||
| LONGLONG * | pStop, | |||
| DWORD | StopFlags | |||
| ) |
Definition at line 1066 of file ctlutil.cpp.
References ChangeStart(), ChangeStop(), CheckPointer, E_INVALIDARG, hr, HRESULT, m_pLock, m_rtStart, m_rtStop, and S_OK.
| HRESULT CSourceSeeking::SetRate | ( | double | dRate | ) |
| HRESULT CSourceSeeking::GetRate | ( | double * | pdRate | ) |
Definition at line 1162 of file ctlutil.cpp.
References CheckPointer, m_dRateSeeking, m_pLock, and S_OK.
| HRESULT CSourceSeeking::GetPreroll | ( | LONGLONG * | pPreroll | ) |
| virtual HRESULT CSourceSeeking::ChangeStart | ( | ) | [protected, virtual] |
Referenced by SetPositions().
| virtual HRESULT CSourceSeeking::ChangeStop | ( | ) | [protected, virtual] |
Referenced by SetPositions().
| virtual HRESULT CSourceSeeking::ChangeRate | ( | ) | [protected, virtual] |
Referenced by SetRate().
CRefTime CSourceSeeking::m_rtDuration [protected] |
Definition at line 553 of file ctlutil.h.
Referenced by CSourceSeeking(), GetAvailable(), and GetDuration().
CRefTime CSourceSeeking::m_rtStart [protected] |
CRefTime CSourceSeeking::m_rtStop [protected] |
Definition at line 555 of file ctlutil.h.
Referenced by CSourceSeeking(), GetPositions(), GetStopPosition(), and SetPositions().
double CSourceSeeking::m_dRateSeeking [protected] |
DWORD CSourceSeeking::m_dwSeekingCaps [protected] |
Definition at line 559 of file ctlutil.h.
Referenced by CheckCapabilities(), CSourceSeeking(), and GetCapabilities().
CCritSec* CSourceSeeking::m_pLock [protected] |
Definition at line 561 of file ctlutil.h.
Referenced by GetAvailable(), GetDuration(), GetRate(), GetStopPosition(), SetPositions(), and SetRate().
1.5.6