aboutsummaryrefslogtreecommitdiff
path: root/Src/devices/deviceSupportedCommandEnum.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/devices/deviceSupportedCommandEnum.h')
-rw-r--r--Src/devices/deviceSupportedCommandEnum.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/Src/devices/deviceSupportedCommandEnum.h b/Src/devices/deviceSupportedCommandEnum.h
new file mode 100644
index 00000000..976595ee
--- /dev/null
+++ b/Src/devices/deviceSupportedCommandEnum.h
@@ -0,0 +1,48 @@
+#ifndef _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
+#define _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
+
+#if defined(_MSC_VER) && (_MSC_VER >= 1020)
+#pragma once
+#endif
+
+#include "./ifc_devicesupportedcommandenum.h"
+#include "./ifC_devicesupportedcommand.h"
+
+class DeviceSupportedCommandEnum : public ifc_devicesupportedcommandenum
+{
+
+protected:
+ DeviceSupportedCommandEnum();
+ ~DeviceSupportedCommandEnum();
+
+public:
+ static HRESULT CreateInstance(ifc_devicesupportedcommand **commands,
+ size_t count,
+ DeviceSupportedCommandEnum **instance);
+
+public:
+ /* Dispatchable */
+ size_t AddRef();
+ size_t Release();
+ int QueryInterface(GUID interface_guid, void **object);
+
+ /* ifc_devicesupportedcommandenum*/
+ HRESULT Next(ifc_devicesupportedcommand **buffer, size_t bufferMax, size_t *count);
+ HRESULT Reset(void);
+ HRESULT Skip(size_t count);
+ HRESULT GetCount(size_t *count);
+
+protected:
+ size_t ref;
+ ifc_devicesupportedcommand **commands;
+ size_t count;
+ size_t cursor;
+
+protected:
+ RECVS_DISPATCH;
+
+
+
+};
+
+#endif // _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER \ No newline at end of file