1
0

ifc_omstoragehandlerenum.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef NULLSOFT_WINAMP_OMSTORAGE_HANDLER_ENUMERATOR_INTERFACE_HEADER
  2. #define NULLSOFT_WINAMP_OMSTORAGE_HANDLER_ENUMERATOR_INTERFACE_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. // {412877D7-0482-423d-87B9-975137588F6E}
  7. static const GUID IFC_OmStorageHandlerEnum =
  8. { 0x412877d7, 0x482, 0x423d, { 0x87, 0xb9, 0x97, 0x51, 0x37, 0x58, 0x8f, 0x6e } };
  9. #include <bfc/dispatch.h>
  10. class ifc_omstoragehandler;
  11. class __declspec(novtable) ifc_omstoragehandlerenum : public Dispatchable
  12. {
  13. protected:
  14. ifc_omstoragehandlerenum() {}
  15. ~ifc_omstoragehandlerenum() {}
  16. public:
  17. HRESULT Next(unsigned long listSize, ifc_omstoragehandler **elementList, unsigned long *elementCount);
  18. HRESULT Reset(void);
  19. HRESULT Skip(unsigned long elementCount);
  20. public:
  21. DISPATCH_CODES
  22. {
  23. API_NEXT = 10,
  24. API_RESET = 20,
  25. API_SKIP = 30,
  26. };
  27. };
  28. inline HRESULT ifc_omstoragehandlerenum::Next(unsigned long listSize, ifc_omstoragehandler **elementList, unsigned long *elementCount)
  29. {
  30. return _call(API_NEXT, (HRESULT)E_NOTIMPL, listSize, elementList, elementCount);
  31. }
  32. inline HRESULT ifc_omstoragehandlerenum::Reset(void)
  33. {
  34. return _call(API_RESET, (HRESULT)E_NOTIMPL);
  35. }
  36. inline HRESULT ifc_omstoragehandlerenum::Skip(unsigned long elementCount)
  37. {
  38. return _call(API_SKIP, (HRESULT)E_NOTIMPL, elementCount);
  39. }
  40. #endif //NULLSOFT_WINAMP_OMSTORAGE_HANDLER_ENUMERATOR_INTERFACE_HEADER