CPropertyBag.h 707 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #if defined(_WIN32_WCE)
  3. #include "plugin_dshow_config.h"
  4. struct VAR_LIST {
  5. VARIANT var;
  6. VAR_LIST *pNext;
  7. BSTR pBSTRName;
  8. };
  9. class CPropertyBag : public IPropertyBag
  10. {
  11. public:
  12. CPropertyBag();
  13. ~CPropertyBag();
  14. HRESULT STDMETHODCALLTYPE
  15. Read(
  16. LPCOLESTR pszPropName,
  17. VARIANT *pVar,
  18. IErrorLog *pErrorLog
  19. );
  20. HRESULT STDMETHODCALLTYPE
  21. Write(
  22. LPCOLESTR pszPropName,
  23. VARIANT *pVar
  24. );
  25. ULONG STDMETHODCALLTYPE AddRef();
  26. ULONG STDMETHODCALLTYPE Release();
  27. HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void** ppv);
  28. private:
  29. ULONG _refCount;
  30. VAR_LIST *pVar;
  31. };
  32. #endif /* _WIN32_WCE */