seekpt.h
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:1k
源码类别:

P2P编程

开发平台:

Visual C++

  1. //------------------------------------------------------------------------------
  2. // File: SeekPT.h
  3. //
  4. // Desc: DirectShow base classes.
  5. //
  6. // Copyright (c) Microsoft Corporation.  All rights reserved.
  7. //------------------------------------------------------------------------------
  8. #ifndef __seekpt_h__
  9. #define __seekpt_h__
  10. class CSeekingPassThru : public ISeekingPassThru, public CUnknown
  11. {
  12. public:
  13.     static CUnknown *CreateInstance(LPUNKNOWN pUnk, HRESULT *phr);
  14.     CSeekingPassThru(TCHAR *pName, LPUNKNOWN pUnk, HRESULT *phr);
  15.     ~CSeekingPassThru();
  16.     DECLARE_IUNKNOWN;
  17.     STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void ** ppv);
  18.     STDMETHODIMP Init(BOOL bSupportRendering, IPin *pPin);
  19. private:
  20.     CPosPassThru              *m_pPosPassThru;
  21. };
  22. #endif