seekpt.h 887 B

123456789101112131415161718192021222324252627282930
  1. //------------------------------------------------------------------------------
  2. // File: SeekPT.h
  3. //
  4. // Desc: DirectShow base classes.
  5. //
  6. // Copyright (c) 1992-2001 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(__inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr);
  14. CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr);
  15. ~CSeekingPassThru();
  16. DECLARE_IUNKNOWN;
  17. STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, __deref_out void ** ppv);
  18. STDMETHODIMP Init(BOOL bSupportRendering, IPin *pPin);
  19. private:
  20. CPosPassThru *m_pPosPassThru;
  21. };
  22. #endif