1
0

ifc_deviceconnectioneditor.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef _NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER
  2. #define _NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <bfc/platform/guid.h>
  7. // {B4CAEAF3-4488-4313-8A66-DEA916DEFCCC}
  8. static const GUID IFC_DeviceConnectionEditor =
  9. { 0xb4caeaf3, 0x4488, 0x4313, { 0x8a, 0x66, 0xde, 0xa9, 0x16, 0xde, 0xfc, 0xcc } };
  10. #include <bfc/dispatch.h>
  11. class ifc_deviceiconstore;
  12. class __declspec(novtable) ifc_deviceconnectioneditor : public Dispatchable
  13. {
  14. protected:
  15. ifc_deviceconnectioneditor() {}
  16. ~ifc_deviceconnectioneditor() {}
  17. public:
  18. HRESULT GetIconStore(ifc_deviceiconstore **iconStore);
  19. HRESULT SetDisplayName(const wchar_t *displayName);
  20. public:
  21. DISPATCH_CODES
  22. {
  23. API_GETICONSTORE = 10,
  24. API_SETDISPLAYNAME = 20,
  25. };
  26. };
  27. inline HRESULT ifc_deviceconnectioneditor::GetIconStore(ifc_deviceiconstore **iconStore)
  28. {
  29. return _call(API_GETICONSTORE, (HRESULT)E_NOTIMPL, iconStore);
  30. }
  31. inline HRESULT ifc_deviceconnectioneditor::SetDisplayName(const wchar_t *displayName)
  32. {
  33. return _call(API_SETDISPLAYNAME, (HRESULT)E_NOTIMPL, displayName);
  34. }
  35. #endif //_NULLSOFT_WINAMP_DEVICES_DEVICE_CONNECTION_EDITOR_INTERFACE_HEADER