1
0

ifc_omconfigcallback.h 945 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {FF6CA21B-FF24-4e51-B594-60BD9D9E7C3D}
  7. static const GUID IFC_OmConfigCallback =
  8. { 0xff6ca21b, 0xff24, 0x4e51, { 0xb5, 0x94, 0x60, 0xbd, 0x9d, 0x9e, 0x7c, 0x3d } };
  9. #include <bfc/dispatch.h>
  10. class __declspec(novtable) ifc_omconfigcallback : public Dispatchable
  11. {
  12. protected:
  13. ifc_omconfigcallback() {}
  14. ~ifc_omconfigcallback() {}
  15. public:
  16. HRESULT ValueChanged(const GUID *configUid, UINT valueId, ULONG_PTR value);
  17. public:
  18. DISPATCH_CODES
  19. {
  20. API_VALUECHANGED = 10,
  21. };
  22. };
  23. inline HRESULT ifc_omconfigcallback::ValueChanged(const GUID *configUid, UINT valueId, ULONG_PTR value)
  24. {
  25. return _call(API_VALUECHANGED, (HRESULT)E_NOTIMPL, configUid, valueId, value);
  26. }
  27. #endif // NULLSOFT_WINAMP_OMBROWSER_CONFIG_CALLBACK_INTERFACE_HEADER