ifc_omfilestorage.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef NULLSOFT_WINAMP_OMSTORAGETYPE_FILE_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMSTORAGETYPE_FILE_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {E49678EB-9DA4-43c3-8A80-18AA5EE369BF}
  7. static const GUID STID_OmFileStorage =
  8. { 0xe49678eb, 0x9da4, 0x43c3, { 0x8a, 0x80, 0x18, 0xaa, 0x5e, 0xe3, 0x69, 0xbf } };
  9. #define IFC_OmFileStorage STID_OmFileStorage
  10. // {E6D3D527-4721-4fb6-BAB2-304D17C549B2}
  11. static const GUID SUID_OmStorageIni =
  12. { 0xe6d3d527, 0x4721, 0x4fb6, { 0xba, 0xb2, 0x30, 0x4d, 0x17, 0xc5, 0x49, 0xb2 } };
  13. // {0F356A24-114D-4582-9005-A59E08B3164A}
  14. static const GUID SUID_OmStorageXml =
  15. { 0xf356a24, 0x114d, 0x4582, { 0x90, 0x5, 0xa5, 0x9e, 0x8, 0xb3, 0x16, 0x4a } };
  16. #include <bfc/dispatch.h>
  17. #include <ifc_omstorage.h>
  18. class __declspec(novtable) ifc_omfilestorage : public Dispatchable
  19. {
  20. protected:
  21. ifc_omfilestorage() {}
  22. ~ifc_omfilestorage() {}
  23. public:
  24. HRESULT GetFilter(wchar_t *buffer, unsigned int bufferMax);
  25. public:
  26. DISPATCH_CODES
  27. {
  28. API_GETFILTER = 10,
  29. };
  30. };
  31. inline HRESULT ifc_omfilestorage::GetFilter(wchar_t *buffer, unsigned int bufferMax)
  32. {
  33. return _call(API_GETFILTER, (HRESULT)E_NOTIMPL, buffer, bufferMax);
  34. }
  35. #endif //NULLSOFT_WINAMP_OMSTORAGETYPE_FILE_INTERFACE_HEADER