1
0

deviceSupportedCommandEnum.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
  2. #define _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include "./ifc_devicesupportedcommandenum.h"
  7. #include "./ifC_devicesupportedcommand.h"
  8. class DeviceSupportedCommandEnum : public ifc_devicesupportedcommandenum
  9. {
  10. protected:
  11. DeviceSupportedCommandEnum();
  12. ~DeviceSupportedCommandEnum();
  13. public:
  14. static HRESULT CreateInstance(ifc_devicesupportedcommand **commands,
  15. size_t count,
  16. DeviceSupportedCommandEnum **instance);
  17. public:
  18. /* Dispatchable */
  19. size_t AddRef();
  20. size_t Release();
  21. int QueryInterface(GUID interface_guid, void **object);
  22. /* ifc_devicesupportedcommandenum*/
  23. HRESULT Next(ifc_devicesupportedcommand **buffer, size_t bufferMax, size_t *count);
  24. HRESULT Reset(void);
  25. HRESULT Skip(size_t count);
  26. HRESULT GetCount(size_t *count);
  27. protected:
  28. size_t ref;
  29. ifc_devicesupportedcommand **commands;
  30. size_t count;
  31. size_t cursor;
  32. protected:
  33. RECVS_DISPATCH;
  34. };
  35. #endif // _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER