ifc_omservicecopier.h 948 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef NULLSOFT_WINAMP_OMSERVICE_COPIER_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMSERVICE_COPIER_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include <bfc/dispatch.h>
  7. // {24E24C55-0A9D-4c54-9589-95FE07FC1FB2}
  8. static const GUID IFC_OmServiceCopier =
  9. { 0x24e24c55, 0xa9d, 0x4c54, { 0x95, 0x89, 0x95, 0xfe, 0x7, 0xfc, 0x1f, 0xb2 } };
  10. class ifc_omservice;
  11. // supports AddRef(), Release(), QueryInterface()
  12. class __declspec(novtable) ifc_omservicecopier: public Dispatchable
  13. {
  14. protected:
  15. ifc_omservicecopier() {}
  16. ~ifc_omservicecopier() {}
  17. public:
  18. HRESULT CopyTo(ifc_omservice *service, unsigned int *modifiedFlags);
  19. public:
  20. DISPATCH_CODES
  21. {
  22. API_COPYTO = 10,
  23. };
  24. };
  25. inline HRESULT ifc_omservicecopier::CopyTo(ifc_omservice *service, unsigned int *modifiedFlags)
  26. {
  27. return _call(API_COPYTO, (HRESULT)E_NOTIMPL, service, modifiedFlags);
  28. }
  29. #endif //NULLSOFT_WINAMP_OMSERVICE_COPIER_INTERFACE_HEADER