1
0

ifc_omstatusbarconfig.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #define CFGID_STATUSBAR_ENABLED 0 // param = (ULONG_PTR)(BOOL)fEnabled
  7. // {98ABEE7F-06F4-4652-886D-58E1769E2592}
  8. static const GUID IFC_OmStatusbarConfig =
  9. { 0x98abee7f, 0x6f4, 0x4652, { 0x88, 0x6d, 0x58, 0xe1, 0x76, 0x9e, 0x25, 0x92 } };
  10. #include <bfc/dispatch.h>
  11. class __declspec(novtable) ifc_omstatusbarconfig : public Dispatchable
  12. {
  13. protected:
  14. ifc_omstatusbarconfig() {}
  15. ~ifc_omstatusbarconfig() {}
  16. public:
  17. HRESULT GetEnabled(void);
  18. HRESULT EnableStatusbar(BOOL fEnable);
  19. public:
  20. DISPATCH_CODES
  21. {
  22. API_GETENABLED = 10,
  23. API_ENABLESTATUSBAR = 20,
  24. };
  25. };
  26. inline HRESULT ifc_omstatusbarconfig::GetEnabled(void)
  27. {
  28. return _call(API_GETENABLED, (HRESULT)E_NOTIMPL);
  29. }
  30. inline HRESULT ifc_omstatusbarconfig::EnableStatusbar(BOOL fEnable)
  31. {
  32. return _call(API_ENABLESTATUSBAR, (HRESULT)E_NOTIMPL, fEnable);
  33. }
  34. #endif // NULLSOFT_WINAMP_OMBROWSER_STATUSBAR_CONFIG_INTERFACE_HEADER