1
0

ifc_omstorageext.h 950 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {8D1915C0-7925-49f1-A851-C230C634B7EE}
  7. static const GUID IFC_OmStorageExt =
  8. { 0x8d1915c0, 0x7925, 0x49f1, { 0xa8, 0x51, 0xc2, 0x30, 0xc6, 0x34, 0xb7, 0xee } };
  9. #include <bfc/dispatch.h>
  10. class ifc_omstoragehandlerenum;
  11. class ifc_omstorage;
  12. class __declspec(novtable) ifc_omstorageext : public Dispatchable
  13. {
  14. protected:
  15. ifc_omstorageext() {}
  16. ~ifc_omstorageext() {}
  17. public:
  18. HRESULT Enumerate(const GUID *storageId, ifc_omstoragehandlerenum **enumerator);
  19. public:
  20. DISPATCH_CODES
  21. {
  22. API_ENUMERATE = 10,
  23. };
  24. };
  25. inline HRESULT ifc_omstorageext::Enumerate(const GUID *storageId, ifc_omstoragehandlerenum **enumerator)
  26. {
  27. return _call(API_ENUMERATE, (HRESULT)E_NOTIMPL, storageId, enumerator);
  28. }
  29. #endif //NULLSOFT_WINAMP_OMSTORAGE_EXTENDER_INTERFACE_HEADER