123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923 |
- #ifndef __CTLUTIL__
- #define __CTLUTIL__
- #define OATRUE (-1)
- #define OAFALSE (0)
- class CBaseDispatch
- {
- ITypeInfo * m_pti;
- public:
- CBaseDispatch() : m_pti(NULL) {}
- ~CBaseDispatch();
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- REFIID riid,
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- };
- class AM_NOVTABLE CMediaControl :
- public IMediaControl,
- public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CMediaControl(const TCHAR *, LPUNKNOWN);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- };
- class AM_NOVTABLE CMediaEvent :
- public IMediaEventEx,
- public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CMediaEvent(__in_opt LPCTSTR, __in_opt LPUNKNOWN);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- };
- class AM_NOVTABLE CMediaPosition :
- public IMediaPosition,
- public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CMediaPosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN);
- CMediaPosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT *phr);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- };
- class COARefTime : public CRefTime {
- public:
- COARefTime() {
- };
- COARefTime(CRefTime t)
- : CRefTime(t)
- {
- };
- COARefTime(REFERENCE_TIME t)
- : CRefTime(t)
- {
- };
- COARefTime(double d) {
- m_time = (LONGLONG) (d * 10000000);
- };
- operator double() {
- return double(m_time) / 10000000;
- };
- operator REFERENCE_TIME() {
- return m_time;
- };
- COARefTime& operator=(const double& rd) {
- m_time = (LONGLONG) (rd * 10000000);
- return *this;
- }
- COARefTime& operator=(const REFERENCE_TIME& rt) {
- m_time = rt;
- return *this;
- }
- inline BOOL operator==(const COARefTime& rt)
- {
- return m_time == rt.m_time;
- };
- inline BOOL operator!=(const COARefTime& rt)
- {
- return m_time != rt.m_time;
- };
- inline BOOL operator < (const COARefTime& rt)
- {
- return m_time < rt.m_time;
- };
- inline BOOL operator > (const COARefTime& rt)
- {
- return m_time > rt.m_time;
- };
- inline BOOL operator >= (const COARefTime& rt)
- {
- return m_time >= rt.m_time;
- };
- inline BOOL operator <= (const COARefTime& rt)
- {
- return m_time <= rt.m_time;
- };
- inline COARefTime operator+(const COARefTime& rt)
- {
- return COARefTime(m_time + rt.m_time);
- };
- inline COARefTime operator-(const COARefTime& rt)
- {
- return COARefTime(m_time - rt.m_time);
- };
- inline COARefTime operator*(LONG l)
- {
- return COARefTime(m_time * l);
- };
- inline COARefTime operator/(LONG l)
- {
- return COARefTime(m_time / l);
- };
- private:
-
-
- COARefTime(LONG);
- LONG operator=(LONG);
- };
- class CPosPassThru : public IMediaSeeking, public CMediaPosition
- {
- IPin *m_pPin;
- HRESULT GetPeer(__deref_out IMediaPosition **ppMP);
- HRESULT GetPeerSeeking(__deref_out IMediaSeeking **ppMS);
- public:
- CPosPassThru(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, IPin *);
- DECLARE_IUNKNOWN
- HRESULT ForceRefresh() {
- return S_OK;
- };
-
- virtual HRESULT GetMediaTime(__out LONGLONG *pStartTime, __out_opt LONGLONG *pEndTime) {
- return E_FAIL;
- }
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid,__deref_out void **ppv);
-
- STDMETHODIMP GetCapabilities( __out DWORD * pCapabilities );
- STDMETHODIMP CheckCapabilities( __inout DWORD * pCapabilities );
- STDMETHODIMP SetTimeFormat(const GUID * pFormat);
- STDMETHODIMP GetTimeFormat(__out GUID *pFormat);
- STDMETHODIMP IsUsingTimeFormat(const GUID * pFormat);
- STDMETHODIMP IsFormatSupported( const GUID * pFormat);
- STDMETHODIMP QueryPreferredFormat( __out GUID *pFormat);
- STDMETHODIMP ConvertTimeFormat(__out LONGLONG * pTarget,
- __in_opt const GUID * pTargetFormat,
- LONGLONG Source,
- __in_opt const GUID * pSourceFormat );
- STDMETHODIMP SetPositions( __inout_opt LONGLONG * pCurrent, DWORD CurrentFlags
- , __inout_opt LONGLONG * pStop, DWORD StopFlags );
- STDMETHODIMP GetPositions( __out_opt LONGLONG * pCurrent, __out_opt LONGLONG * pStop );
- STDMETHODIMP GetCurrentPosition( __out LONGLONG * pCurrent );
- STDMETHODIMP GetStopPosition( __out LONGLONG * pStop );
- STDMETHODIMP SetRate( double dRate);
- STDMETHODIMP GetRate( __out double * pdRate);
- STDMETHODIMP GetDuration( __out LONGLONG *pDuration);
- STDMETHODIMP GetAvailable( __out_opt LONGLONG *pEarliest, __out_opt LONGLONG *pLatest );
- STDMETHODIMP GetPreroll( __out LONGLONG *pllPreroll );
-
- STDMETHODIMP get_Duration(__out REFTIME * plength);
- STDMETHODIMP put_CurrentPosition(REFTIME llTime);
- STDMETHODIMP get_StopTime(__out REFTIME * pllTime);
- STDMETHODIMP put_StopTime(REFTIME llTime);
- STDMETHODIMP get_PrerollTime(__out REFTIME * pllTime);
- STDMETHODIMP put_PrerollTime(REFTIME llTime);
- STDMETHODIMP get_Rate(__out double * pdRate);
- STDMETHODIMP put_Rate(double dRate);
- STDMETHODIMP get_CurrentPosition(__out REFTIME * pllTime);
- STDMETHODIMP CanSeekForward(__out LONG *pCanSeekForward);
- STDMETHODIMP CanSeekBackward(__out LONG *pCanSeekBackward);
- private:
- HRESULT GetSeekingLongLong( HRESULT (__stdcall IMediaSeeking::*pMethod)( LONGLONG * ),
- __out LONGLONG * pll );
- };
- class CRendererPosPassThru : public CPosPassThru
- {
- CCritSec m_PositionLock;
- LONGLONG m_StartMedia;
- LONGLONG m_EndMedia;
- BOOL m_bReset;
- public:
-
- CRendererPosPassThru(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, IPin *);
- HRESULT RegisterMediaTime(IMediaSample *pMediaSample);
- HRESULT RegisterMediaTime(LONGLONG StartTime,LONGLONG EndTime);
- HRESULT GetMediaTime(__out LONGLONG *pStartTime,__out_opt LONGLONG *pEndTime);
- HRESULT ResetMediaTime();
- HRESULT EOS();
- };
- STDAPI CreatePosPassThru(
- __in_opt LPUNKNOWN pAgg,
- BOOL bRenderer,
- IPin *pPin,
- __deref_out IUnknown **ppPassThru
- );
- class AM_NOVTABLE CBasicAudio : public IBasicAudio, public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CBasicAudio(__in_opt LPCTSTR, __in_opt LPUNKNOWN);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- };
- class AM_NOVTABLE CBaseBasicVideo : public IBasicVideo2, public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CBaseBasicVideo(__in_opt LPCTSTR, __in_opt LPUNKNOWN);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- STDMETHODIMP GetPreferredAspectRatio(
- __out long *plAspectX,
- __out long *plAspectY)
- {
- return E_NOTIMPL;
- }
- };
- class AM_NOVTABLE CBaseVideoWindow : public IVideoWindow, public CUnknown
- {
- CBaseDispatch m_basedisp;
- public:
- CBaseVideoWindow(__in_opt LPCTSTR, __in_opt LPUNKNOWN);
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP GetTypeInfoCount(__out UINT * pctinfo);
- STDMETHODIMP GetTypeInfo(
- UINT itinfo,
- LCID lcid,
- __deref_out ITypeInfo ** pptinfo);
- STDMETHODIMP GetIDsOfNames(
- REFIID riid,
- __in_ecount(cNames) LPOLESTR * rgszNames,
- UINT cNames,
- LCID lcid,
- __out_ecount(cNames) DISPID * rgdispid);
- STDMETHODIMP Invoke(
- DISPID dispidMember,
- REFIID riid,
- LCID lcid,
- WORD wFlags,
- __in DISPPARAMS * pdispparams,
- __out_opt VARIANT * pvarResult,
- __out_opt EXCEPINFO * pexcepinfo,
- __out_opt UINT * puArgErr);
- };
- class AM_NOVTABLE CSourcePosition : public CMediaPosition
- {
- public:
- CSourcePosition(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, __in CCritSec *);
-
- STDMETHODIMP get_Duration(__out REFTIME * plength);
- STDMETHODIMP put_CurrentPosition(REFTIME llTime);
- STDMETHODIMP get_StopTime(__out REFTIME * pllTime);
- STDMETHODIMP put_StopTime(REFTIME llTime);
- STDMETHODIMP get_PrerollTime(__out REFTIME * pllTime);
- STDMETHODIMP put_PrerollTime(REFTIME llTime);
- STDMETHODIMP get_Rate(__out double * pdRate);
- STDMETHODIMP put_Rate(double dRate);
- STDMETHODIMP CanSeekForward(__out LONG *pCanSeekForward);
- STDMETHODIMP CanSeekBackward(__out LONG *pCanSeekBackward);
-
- STDMETHODIMP get_CurrentPosition(__out REFTIME * pllTime) {
- return E_NOTIMPL;
- };
- protected:
-
- virtual HRESULT ChangeStart() PURE;
- virtual HRESULT ChangeStop() PURE;
- virtual HRESULT ChangeRate() PURE;
- COARefTime m_Duration;
- COARefTime m_Start;
- COARefTime m_Stop;
- double m_Rate;
- CCritSec * m_pLock;
- };
- class AM_NOVTABLE CSourceSeeking :
- public IMediaSeeking,
- public CUnknown
- {
- public:
- DECLARE_IUNKNOWN;
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv);
-
- STDMETHODIMP IsFormatSupported(const GUID * pFormat);
- STDMETHODIMP QueryPreferredFormat(__out GUID *pFormat);
- STDMETHODIMP SetTimeFormat(const GUID * pFormat);
- STDMETHODIMP IsUsingTimeFormat(const GUID * pFormat);
- STDMETHODIMP GetTimeFormat(__out GUID *pFormat);
- STDMETHODIMP GetDuration(__out LONGLONG *pDuration);
- STDMETHODIMP GetStopPosition(__out LONGLONG *pStop);
- STDMETHODIMP GetCurrentPosition(__out LONGLONG *pCurrent);
- STDMETHODIMP GetCapabilities( __out DWORD * pCapabilities );
- STDMETHODIMP CheckCapabilities( __inout DWORD * pCapabilities );
- STDMETHODIMP ConvertTimeFormat( __out LONGLONG * pTarget,
- __in_opt const GUID * pTargetFormat,
- LONGLONG Source,
- __in_opt const GUID * pSourceFormat );
- STDMETHODIMP SetPositions( __inout_opt LONGLONG * pCurrent, DWORD CurrentFlags
- , __inout_opt LONGLONG * pStop, DWORD StopFlags );
- STDMETHODIMP GetPositions( __out_opt LONGLONG * pCurrent, __out_opt LONGLONG * pStop );
- STDMETHODIMP GetAvailable( __out_opt LONGLONG * pEarliest, __out_opt LONGLONG * pLatest );
- STDMETHODIMP SetRate( double dRate);
- STDMETHODIMP GetRate( __out double * pdRate);
- STDMETHODIMP GetPreroll(__out LONGLONG *pPreroll);
- protected:
-
- CSourceSeeking(__in_opt LPCTSTR, __in_opt LPUNKNOWN, __inout HRESULT*, __in CCritSec *);
-
- virtual HRESULT ChangeStart() PURE;
- virtual HRESULT ChangeStop() PURE;
- virtual HRESULT ChangeRate() PURE;
- CRefTime m_rtDuration;
- CRefTime m_rtStart;
- CRefTime m_rtStop;
- double m_dRateSeeking;
-
- DWORD m_dwSeekingCaps;
- CCritSec * m_pLock;
- };
- class CCmdQueue;
- class CDispParams : public DISPPARAMS
- {
- public:
- CDispParams(UINT nArgs, __in_ecount(nArgs) VARIANT* pArgs, __inout_opt HRESULT *phr = NULL);
- ~CDispParams();
- };
- class CDeferredCommand
- : public CUnknown,
- public IDeferredCommand
- {
- public:
- CDeferredCommand(
- __inout CCmdQueue * pQ,
- __in_opt LPUNKNOWN pUnk,
- __inout HRESULT * phr,
- __in LPUNKNOWN pUnkExecutor,
- REFTIME time,
- __in GUID* iid,
- long dispidMethod,
- short wFlags,
- long cArgs,
- __in_ecount(cArgs) VARIANT* pDispParams,
- __out VARIANT* pvarResult,
- __out short* puArgErr,
- BOOL bStream
- );
- DECLARE_IUNKNOWN
-
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __out void **ppv);
-
- STDMETHODIMP Cancel();
- STDMETHODIMP Confidence(
- __out LONG* pConfidence);
- STDMETHODIMP Postpone(
- REFTIME newtime);
- STDMETHODIMP GetHResult(
- __out HRESULT* phrResult);
-
- HRESULT Invoke();
-
-
- BOOL IsStreamTime() {
- return m_bStream;
- };
- CRefTime GetTime() {
- return m_time;
- };
- REFIID GetIID() {
- return *m_iid;
- };
- long GetMethod() {
- return m_dispidMethod;
- };
- short GetFlags() {
- return m_wFlags;
- };
- DISPPARAMS* GetParams() {
- return &m_DispParams;
- };
- VARIANT* GetResult() {
- return m_pvarResult;
- };
- protected:
- CCmdQueue* m_pQueue;
-
- LPUNKNOWN m_pUnk;
-
- REFERENCE_TIME m_time;
- GUID* m_iid;
- long m_dispidMethod;
- short m_wFlags;
- VARIANT* m_pvarResult;
- BOOL m_bStream;
- CDispParams m_DispParams;
- DISPID m_DispId;
-
- CBaseDispatch m_Dispatch;
-
- HRESULT m_hrResult;
- };
- class AM_NOVTABLE CCmdQueue
- {
- public:
- CCmdQueue(__inout_opt HRESULT *phr = NULL);
- virtual ~CCmdQueue();
-
-
-
-
- virtual HRESULT New(
- __out CDeferredCommand **ppCmd,
- __in LPUNKNOWN pUnk,
- REFTIME time,
- __in GUID* iid,
- long dispidMethod,
- short wFlags,
- long cArgs,
- __in_ecount(cArgs) VARIANT* pDispParams,
- __out VARIANT* pvarResult,
- __out short* puArgErr,
- BOOL bStream
- );
-
-
- virtual HRESULT Insert(__in CDeferredCommand* pCmd);
- virtual HRESULT Remove(__in CDeferredCommand* pCmd);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- virtual HRESULT SetSyncSource(__in_opt IReferenceClock*);
-
- virtual HRESULT Run(REFERENCE_TIME tStreamTimeOffset);
-
- virtual HRESULT EndRun();
-
-
-
-
-
-
- virtual HRESULT GetDueCommand(__out CDeferredCommand ** ppCmd, long msTimeout);
-
-
-
- HANDLE GetDueHandle() {
- return HANDLE(m_evDue);
- };
-
-
-
-
-
-
-
- virtual HRESULT GetCommandDueFor(REFERENCE_TIME tStream, __out CDeferredCommand**ppCmd);
-
- BOOL CheckTime(CRefTime time, BOOL bStream) {
-
- if (!m_pClock) {
- return FALSE;
- }
-
- if (bStream) {
-
- if (!m_bRunning) {
- return FALSE;
- }
-
- time += m_StreamTimeOffset;
- }
- CRefTime Now;
- m_pClock->GetTime((REFERENCE_TIME*)&Now);
- return (time <= Now);
- };
- protected:
-
- CCritSec m_Lock;
-
- CGenericList<CDeferredCommand> m_listPresentation;
-
- CGenericList<CDeferredCommand> m_listStream;
-
- CAMEvent m_evDue;
-
- void SetTimeAdvise(void);
-
- DWORD_PTR m_dwAdvise;
-
- CRefTime m_tCurrentAdvise;
-
- IReferenceClock* m_pClock;
-
- BOOL m_bRunning;
-
- CRefTime m_StreamTimeOffset;
- };
- #endif
|