#include <ctlutil.h>

Public Member Functions | |
| CSourcePosition (const TCHAR *, LPUNKNOWN, HRESULT *, CCritSec *) | |
| 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 | CanSeekForward (LONG *pCanSeekForward) |
| STDMETHODIMP | CanSeekBackward (LONG *pCanSeekBackward) |
| STDMETHODIMP | get_CurrentPosition (REFTIME *pllTime) |
Protected Member Functions | |
| virtual HRESULT | ChangeStart () PURE |
| virtual HRESULT | ChangeStop () PURE |
| virtual HRESULT | ChangeRate () PURE |
Protected Attributes | |
| COARefTime | m_Duration |
| COARefTime | m_Start |
| COARefTime | m_Stop |
| double | m_Rate |
| CCritSec * | m_pLock |
Definition at line 470 of file ctlutil.h.
| STDMETHODIMP CSourcePosition::get_Duration | ( | REFTIME * | plength | ) |
Definition at line 1190 of file ctlutil.cpp.
References CheckPointer, m_Duration, m_pLock, S_OK, and ValidateReadWritePtr.
| STDMETHODIMP CSourcePosition::put_CurrentPosition | ( | REFTIME | llTime | ) |
Definition at line 1201 of file ctlutil.cpp.
References ChangeStart(), CCritSec::Lock(), m_pLock, m_Start, and CCritSec::Unlock().
| STDMETHODIMP CSourcePosition::get_StopTime | ( | REFTIME * | pllTime | ) |
Definition at line 1211 of file ctlutil.cpp.
References CheckPointer, m_pLock, m_Stop, S_OK, and ValidateReadWritePtr.
| STDMETHODIMP CSourcePosition::put_StopTime | ( | REFTIME | llTime | ) |
Definition at line 1222 of file ctlutil.cpp.
References ChangeStop(), CCritSec::Lock(), m_pLock, m_Stop, and CCritSec::Unlock().
| STDMETHODIMP CSourcePosition::get_PrerollTime | ( | REFTIME * | pllTime | ) |
| STDMETHODIMP CSourcePosition::put_PrerollTime | ( | REFTIME | llTime | ) |
Definition at line 1240 of file ctlutil.cpp.
| STDMETHODIMP CSourcePosition::get_Rate | ( | double * | pdRate | ) |
Definition at line 1246 of file ctlutil.cpp.
References CheckPointer, m_pLock, m_Rate, S_OK, and ValidateReadWritePtr.
| STDMETHODIMP CSourcePosition::put_Rate | ( | double | dRate | ) |
Definition at line 1257 of file ctlutil.cpp.
References ChangeRate(), CCritSec::Lock(), m_pLock, m_Rate, and CCritSec::Unlock().
| STDMETHODIMP CSourcePosition::CanSeekForward | ( | LONG * | pCanSeekForward | ) |
| STDMETHODIMP CSourcePosition::CanSeekBackward | ( | LONG * | pCanSeekBackward | ) |
| STDMETHODIMP CSourcePosition::get_CurrentPosition | ( | REFTIME * | pllTime | ) | [inline] |
| virtual HRESULT CSourcePosition::ChangeStart | ( | ) | [protected, virtual] |
Referenced by put_CurrentPosition().
| virtual HRESULT CSourcePosition::ChangeStop | ( | ) | [protected, virtual] |
Referenced by put_StopTime().
| virtual HRESULT CSourcePosition::ChangeRate | ( | ) | [protected, virtual] |
Referenced by put_Rate().
COARefTime CSourcePosition::m_Duration [protected] |
COARefTime CSourcePosition::m_Start [protected] |
COARefTime CSourcePosition::m_Stop [protected] |
Definition at line 502 of file ctlutil.h.
Referenced by CSourcePosition(), get_StopTime(), and put_StopTime().
double CSourcePosition::m_Rate [protected] |
Definition at line 503 of file ctlutil.h.
Referenced by CSourcePosition(), get_Rate(), and put_Rate().
CCritSec* CSourcePosition::m_pLock [protected] |
Definition at line 505 of file ctlutil.h.
Referenced by get_Duration(), get_Rate(), get_StopTime(), put_CurrentPosition(), put_Rate(), and put_StopTime().
1.5.6